Thursday, December 30, 2010

Silverlight 4 DVD Shelf

Wanted to share something I did this past summer, almost forgot to post about it. It is a little Silverlight 4 project that displays my superhero collection (well not all of them by any means).

It uses a simple XML file as a datasource. I'll try to post some sample code after the new year!

Tuesday, November 30, 2010

A lil' HTML Help

Thought I'd post a little help with HTML Special characters and such. Hope you enjoy!

HTML Source

Thursday, September 9, 2010

Microsoft Web Farm Framework

Running an IIS server farm? Need help managing it or setting it up?
Take a look at this, looks nice:

ScottGu - Microsoft Web Farm Framework

Can't wait to give it a spin.

Thursday, August 5, 2010

Team Foundation Server Install

Recently, performed an install of Team Foundation Server 2010 using SQLExpress as a backend, and also installed Visual Studio 2010 Pro.

I created a few screen shots to demo the install process. Here is a link to the file showing all of the screen shots.

Thursday, June 10, 2010

ASP.NET Redirect to Self

It's easy to reset a page to it's initial state in ASP.NET by redirecting to itself. Here are 3 ways you can do it:

1. Response.Redirect(Request.Path);

In which the path to the request is presented in the following form: /MyApp/MyFile.aspx

2. Response.Redirect(Request.RawUrl);

In which not only is the path exposed, but also any querystring parameters like:

3. Response.Redirect(Request.Url.ToString());

In which not only is the path and querystring parameters exposed, but made available as an absolute reference in the form:

Monday, April 26, 2010

Busy Upgrading

Well, I haven't posted in a while, but have been busy upgrading. With the advent of Microsoft releasing new versions of their products, well, let's just say it's been fun.

Got everything recompiled in VS 2010 and the .NET 4 framework (love it). Setting up Team Foundation Server now since my old Source Safe is pretty much gone. :)

Thursday, February 25, 2010

Stop the hard-coding!

I often use lookup values for various conditions, and have to check for those conditions in my code in order to perform some action. Welcome the enum:

strControlType = ((enmControlType)int.Parse(drTempDataRow["ControlTypeID"].ToString()));
switch (strControlType)
case enmControlType.ListBox:
..some action..

Short but sweet...