Robert McLaws: FunWithCoding.NET

Public Shared Function BrainDump(ByVal dotNet As String) As [Value]

News

<script type="text/javascript"><!-- google_ad_client = "pub-4330602465258980"; google_hints = "ASP.NET, VB.NET, C#, C#.NET, WindowsForms, .NET Framework, VS2005, Visual Studio, XAML, WinFX, Windows Workflow, WPF, WCF, Atlas, NetFX3, Visual Studio Orcas"; google_ad_width = 120; google_ad_height = 240; google_ad_format = "120x240_as"; google_ad_type = "text_image"; google_ad_channel ="4997399242"; google_color_border = "B6C9E7"; google_color_bg = "EFEFEF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "002C99"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<!--
-->

You should feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever. That said, I will most likely only delete abusive, profane, rude, or annonymous comments, so keep it polite, please.

Blogroll

Cool .NET Articles

My .NET Tools

My Builder.com Articles

My MSKB Articles

November 2004 - Posts

Hey Java Devs: Game On
Is that a challenge? Hmmm.... <sly grin>
.Text Performance Tip - JIT Debugging
I was going through my websites recently, and I noticed something curious about the .Text default web.config files that are chipped with the bits. The <compilation> tag has the "debug" attribute set to true. If you're running a large .Text community (as I am), this can have a very serious impact on performance. Make sure you check your settings and set debug="false" if you have not already sone so. I would restart IIS also, just for good measure.
Halo 2 and Xbox Live - .NET Programmer Clan

I've had Xbox live for a couple weeks now, but I haven't been on it very much since no one ever seems to be on for NFL Fever 2004. But I bought Halo 2 yesterday, and been playing deathmatches nonstop ever since. Regrettably, the only person's butt I kicked was Scott Hanselman. Had a blast last night though.

At any rate, my gamertag is InterscapeRob, and I created a Halo clan: MastersOfDotNet. Add me to your friends list and I'll add you to the clan. Let's rumble!

A "Barter" Proposition

I have a 1U Dual 2.4 GHz Xeon server that has been sitting dormant for a while. I got it in exchange for some Classic ASP work a while back, and it retailed for $2K at the time. It's about a year old, and it's in excellent condition. The only thing wrong with it is the cd tray's face is missing. It popped off a couple months ago. I'd sell it on eBay but I don't think I'll get anything decent for it. I wouldn't mind keeping it because it's a hefty machine that would be useful later, but is there anyone out there that has a use for it with something to trade? I'd be interested in entertaining offers.

UPDATE: Just so that I'm clear, I'm looking to trade a 1U rackmount server for a laptop or Tablet PC or something. Make me a serious offer and we'll discuss.

Frontpage Extensions, Oh How I Loathe Thee

Yeah. Whoever decided that delete commands sent through Frontpage Extensions should bypass the Recycle Bin should be drug out into the street and shot (Ok, it's a line from "Garfield", I don't really want to shoot him/her). Am I the only one that thinks this is a really bad idea? Man, I can't wait for ASP.NET 2.0's GoLive license in February so that I can skip all this FPSE BS.

ComponentArt is at it again...

Do these guys ever quit? Seriously, I don't think they ever sleep.

CommentSpam.org - Taking The Fight To The Spammers

Three days ago I officially put comment spammers on notice. I said I wasn't waiting around for a solution anymore, and I meant it. I spent the past few days putting together a little something together, and I'd like some feedback.

Instead of blabbing all about it, I'll just let the site speak for itself. Please give me some input and let me know what can be improved upon so we can solve this problem.

http://www.CommentSpam.org

Question on Caching an HttpHandler for Speed

Ok, I need some help with something. I'm building a HttpHandler that uses an XmlTextWriter to output some custom-generated XML to a requester. I'd like to be able to cache the generated document, because chances are good that the data won't change for a while, and I don't want to hit the DB every time. The problem is, with the following code, I don't think I can do it:

1Dim w As XmlTextWriter = New XmlTextWriter(context.Response.Output)
2w.Formatting = Formatting.Indented
3w.WriteStartDocument()
4w.WriteEndDocument()

So, what would be a better way to generate the document, store it in the cache, and output it from the cache? I'm just not familiar enough with XML in .NET to know. Thanks in advance.

 

This Election Day - Please Vote for LonghornBlogs.com

I just found out thet LonghornBlogs.com is a finalist for CMP Media's "2004 Best Tech Blog" award. I won't lie to you... I really really want that $500 Starbucks card. But unlike the other election today, this one can be voted on by anyone in the world. It would be really awesome if you guys went and voted for the site. We just celebrated our one-year anniversary last month and things are only gonna get better. You're the best. Please vote for us!

VSLive 2005 - San Francisco... See You There!

Earlier this month, Visual Studio Magazine was requesting ideas for session topics for VSLive! 2005. I took a few minutes and made some suggestions, and last week they made an offer to me to run a session. I just accepted that offer, so on Tuesday, Feb 8th, 2005 from 5:45 - 6:45pm I'll be giving a presentation on "Building Complex Server Controls in Visual Studio 2005". I'll basically be discussing composite control development, the capabilities of the new CompositeControl base class, and the new design-time capabilities, along with therest of the features common to all new server controls.

I've done informal PDC sessions, user group presentations, and MSDN webcasts, but this will be the first conference I'll be speaking at with slides and stuff. Should be a lot of fun. When I get more details on the schedule, we should definitely set up a geek dinner for anyone that's gonna be there. If you go, please stop in and say hi!

More Posts