Monthly Archives: August 2005

Major Changes for Visual Web Developer 2005 and ASP.NET 2.0 from Whidbey Beta 2 to RTM

In case you haven’t heard about the Major Changes for Visual Web Developer 2005 and ASP.NET 2.0 from Whidbey Beta 2 to RTM, this article is worth a look.

Some of the changes are fixes and others are major updates developers have demanded.


Visual Studio 2005 Web Projects

There has been much talk and complaining in the blogsphere about how Visual Studio 2005 Web Project now lack a project file like so many of us are familiar with in Visual Studio 2003. 

Scott Guthrie has a great post on his blog about the reasoning behind this decision and how the lives of enterprise developers will be better served.  I think in the long run this will be good not having a project file to keep track of but in the short term we will have to change the way we organize our projects.

Most of our applications are being developed with Visual Studio 2003 but we are itching to move to 2005.  We recently updated the ASP.NET Project Migration Wizard in our VS 2005 Beta2 installation and ran it against our project.   Most of the application converted fine with just some minor issues that we needed to fix.

There turned out to be much larger problems that surfaced, not in conversion, but in the way the web application is structured.  Our web application is an ecommerce catalog and houses some 5000+ project images in a directory off of our project root.  We also have large directories used by third party controls and for application themes.

Since the new ASP.NET 2.0 web project do not have project files Visual Studio relies on the file system to get project information.  Our directories with large numbers of files cause a problem because Visual Studio wants them to be part of our source control system.  If we check these files in, it takes an hour and half.  When we open our project and do a "Get Latest" it takes an hour to find out what needs to be updated….totally unacceptable.

Contact with the Visual Studio team resulted in a very fast and thorough response with some nice guidelines for our type of situation.   Scott Guthrie made another recent post which talks about our situation specifically and how to address these types of issues.   So, with IIS and web projects, the virtual directory will be your friend. 

By making our images directory a virtual directory in IIS we can have it in the exact location we need and not have to be burdened by the check-in/check-out process of our source control.

I don’t think the lack of projects will be as bad as Paul Wilson has pointed out and others have commented.  I think we will need to adjust the way we do things with our projects but in the long run it will be better.

Does Microsoft not believe in their own hype?

I was reading a post over on Joel On Software about using .NET being a viable development environment for downloadable software.  I won’t repeat the thread here but the general idea is with the ability to link in the necessary parts of the .NET Runtime, the download is bloated and too big to ask a customer to download.

Visual Basic 6.0 and Borland Delphi provide a linker and create stand-alone applications.  Yes, VB6 does require a run-time BUT it is included in most Microsoft operating systems today.

So why didn’t Microsoft distribute the .NET Runtime when they had a chance?  Wasn’t it the perfect time to do so with Windows XP SP2?  It makes me wonder how committed Microsoft is to managed code if this opportunity was passed up.  Is Microsoft just leaving it up to network administrators to install the runtime?