Some like to suggest that Microsoft MVPs are just Microsoft zealots pushing the company line. While it’s true MVPs are fans of Microsoft, the strongest criticisms, the harshest words, the most brutally honest statements I’ve heard against Microsoft have come from MVPs, and many times are delivered in person.
This past MVP summit, we were quite vocal about wanting “round trip” support in Visual Studio 2010 – meaning a project or solution could be opened in 2010 and in 2008, something that’s not currently possible (upgrading a project is a one way street). It got to the point that sessions would open for Q&A, and we would be asked to not bring up round trip support because it would drown out all other discussion.
For me, the need for round trip support was because of Web Deployment Projects (WDP) – or the lack of WDP for VS2010. VS2010 introduces a new system called Web Deployment Packages, which support Web Application Projects but not Website Projects.
Websites vs Web Applications is not a new debate, or even a very interesting one. I’ve always favored Websites, and use Applications in rare cases. The Application project structure – treating my site as a class library – just feels wrong. I also edit and add files outside of Visual Studio (yes, with Vi) and don’t want to remember to add those files to the Application project. The advantage of the Application structure though is a project build file, making it easy to create custom build scripts (such as setting database connection string based on development or production builds). Web Deployment Projects, first introduced for VS2005, fills this gap by adding an MS Build file to the Website project, kept in a different directory outside of the web root.
Since VS2010’s Web Packages didn’t support Website Project, and there was no support for existing Web Deployment Projects, VS2010 left me with no deployment story. This, more than anything else, was why round trip support was important to me – I would need VS2008 to deploy projects.
At the MVP summit I spent some time with the team working on deployment in VS2010. A few weeks later they said, “here, try this out and tell us if you find any issues.” Now Web Deployment Projects for VS2010 Beta 1 is available to all. Though we didn’t get round trip support (which is more complex than it first seems), Microsoft is listening and acting on feedback. That this add-in was done in the weeks before VS2010’s launch is amazing.
There is also a bonus I didn’t expect: they added Package support to Website Projects. Now you can use Web Deployment Projects to build Packages and deploy them with the Web Deployment Tools for IIS7.
That’s getting to have your cake and eat it too.
Posted
04-15-2010 10:00 PM
by
Michael C. Neel