10-4 Episode 9: Visual Basic 10
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:
https://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:
https://channel9.msdn.com/pdc2008/PC33/
Visual Studio Topic Area on Channel 9:
https://channel9.msdn.com/VisualStudio
Visual Studio 2010 CTP VPC:
http://tinyurl.com/GetCTP
10-4! Over and out!
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.
Keep in mind that there are quite a few capabilities in IIS7 to help with this as well. IIS7 has a shared configuration capability that allows you to share configuration across a web farm, including local overrides for specific server settings. You can push
your application settings up to the shared config file and take advantage of that feature.
You can also customize your MSDeploy manifests to transform settings outside of what Visual Studio is doing.
Really helpful feature. Thanks for adding this in.
I was wondering if the onclick deployment feature can be extended with custom steps to meet policy requirements in an Enterprise. For example I cannot do a direct deploy to CONS/DAY1/PROD my self from my box, I cannot even connect to it. If it is possible for
me to publish the PROD builds to a local directory then run some custom step which can zip it, check it into a predefined VSS, label it and send a notfication to environment engineers that would be super cool
... may be its too much to ask for, but just
my wishlist!
Slace,
Yes MSDeploy Publish feature will be accessible via MSBuild as well so setting up CI with it will be possibly...
-Vishal
Daniel,
Glad to know that you like the new UI... That was our goal as well... There are tiny yeh!! and nah!! all over the place but trust me the usability team over here spent a tons of time in looking into usability in great detail to come up with all the
new models...
About app.config, we have heard that request and if you can send me an email @
vishal.joshi@microsoft.com on this then I will try to follow up with appropriate people to see if we can consider doing it... Essentially more the votes the easier it is to push up the priority...![]()
-Vishal
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/configuration/appSettings">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
<xsl:element name="add">
<xsl:attribute name="key">NewSetting</xsl:attribute>
<xsl:attribute name="value">New Setting Value</xsl:attribute>
</xsl:element>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
You are correct. The syntax that matches the web.config format is a lot easier for people to understand who aren't familiar with XSLT.