Posted By: Drew Robbins | Feb 25th @ 10:04 PM | 52,782 Views | 24 Comments

In this episode of 10-4, we'll look at new features coming in Visual Studio 2010 that make deploying web applications a lot easier. We'll look at web.config transformations, the Microsoft web deployment tool and web one-click deployment.

For more 10-4 episodes, be sure to visit:
http://channel9.msdn.com/shows/10-4

Information on the Web Deployment Tool:
http://www.iis.net/extensions/WebDeploymentTool

PDC Session by Vishal Joshi on Visual Studio 2010 Web Deployment:
http://channel9.msdn.com/pdc2008/PC33/

Visual Studio Topic Area on Channel 9:
http://channel9.msdn.com/VisualStudio

Visual Studio 2010 CTP VPC:
http://tinyurl.com/GetCTP

10-4! Over and out!

Rating:
2
0
VISHRAJK149
VISHRAJK149
VishalRJoshi
If you would like to dive in further detail you can also check out article series that we have started at below location:

http://vishaljoshi.blogspot.com/2009/02/web-packaging-creating-web-packages.html

Also do check out how to deploy your databases along with your web at deployment videos at below link:

http://vishaljoshi.blogspot.com/2008/12/vs-2010-for-web-developer-previews.html

-Vishal
Thank you Smiley

Looks nice.

Can we set in the config transformation or in another place an option e.g.  to not deploy some folder or even specify files which not to deploy. I have got quite often some work/test directories which I am happy to have on my test web server but when deploying I don't want to deploy them..don't you guys have got similar experiences sometimes?

Thanks and well done.

Vaso.
How does the web.config transformation work in situations with multiple environments and with multiple servers in each environment, and possibly multiple environments of the same level of deployment (e.g. two testing vs. one production environment). 

Specifically, is it possible to have a 'hierarchical' transformation, whereas there may be both a testing and production environment with one web.config that would apply to all of your sites.  Then, in the production environment there might be multiple servers that each have a transformation file for the unique settings required for those servers in production.  However in the testing environment there would not only be multiple unique servers in the testing environment, but multiple testing environments (say T1 and T2).  So each server's web.config would be acted on three times, the global web config would be modified by the testing environment transformation, again by the track level transformation, and finally one for the specific server. 

Such a creature would be like finding a goose that lays golden eggs.  Except, in this case, it would be golden web.configs.
Moemeka
Moemeka
Me
forget web deployment, whats up with that snazzy IDE ?!?  When can we get our hands on the yumminess
Will these changes also be available for the App.config file in non web apps?

I like the new WFP based Visual Studio by the way, but hate the change from +/- to the dreaded Vista style arrows Sad
I've seen way too many "roll your own" approaches to the environment-specific configs problem, so I like that there's finally an integrated solution!

Now...I'm not sold on using build configuration to drive this process.  If I add a new "Staging" configuration, don't I now have the problem of keeping that in sync with the "Release" configuration?
Why did you invent a new syntax for config transformations instead of using XSLT?

They mentioned this at pdc i think.  It was something to do with the syntax being more similar to the web.config which i have to agree with since xslt can be quite messy.

Microsoft Communities