Visual Studio 2010 and .NET Framework 4.0 Overview

If you have not seen this or heard about it yet check it out here. It is only two years away. I know of many companies that are still VS2003. Although I have been using VS2008 exclusively for all my development for some time now, I have clients and colleagues alike that are fearful of some of the new language enhancements and refuse the use them. I.e. type inference, etc. I have embraced them and learned to use them properly. If type inference scares you, getting ready for dynamic object types. I also am seeing a big push from Microsoft the use of generating code from modeling. I can see much resistance to this as well. 

I'm sure that x86 assembler developers resisted when C first came about. Or C++ developers resisted when VB6 came out. Ultimately, there will always be a market for good developers, irrespective of what language tools you use. You can't learn good coding practices just because a new language tool comes out that makes constructing code easier.

My dad always told me, "It is not the tools in your toolbox that make you a good mechanic; it is how and when to use them that does."

Starting Up the WebDev.WebServer in VS2008

Have you ever wished to just start up the WebDev.WebServer for the current web project you are working on? Many times I am just editing the page markup and do not have a need for the debugger nor the need to build the project. I just need to see how the page looks. Here is how I do it...

Step 1: From the 'Tools' menu select the 'External Tools...' option. This will bring up the 'External Tools' dialog.

Step 2: Select the 'Add' button. Then complete the form like so:

Set the 'Title' to a value you desire.

Set the 'Command' to %ProgramFiles%\Common Files\Microsoft Shared\DevServer\9.0\WebDev.WebServer.exe

Set the 'Arguments' to /port:3786 /path:$(ProjectDir)\ (you can set the port value to any port you desire)

Set the 'Initial Directory' to $(ProjectDir)

 Step 3: Click 'OK' button to close the dialog.

Add Done! Now you should have a new menu option on the 'Tools' menu matching the title you gave the WebDev.WebServer. When selected it will kick off the WebDev.Server utility for the current selected project on your solution.