Posted By: Drew Robbins | Feb 25th @ 10:04 PM | 52,838 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

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...Smiley
-Vishal

VISHRAJK149
VISHRAJK149
VishalRJoshi
Hi Ericmatz,
     I would like to understand your scenario better about trying to keep Staging, Testing etc configuration in sync with Release configuration... Could you please drop me an email at vishal.joshi@microsoft.com... Thanks much...
Vishal
VISHRAJK149
VISHRAJK149
VishalRJoshi
Moemeka
       You will soon be able to get your hands on the new UI... It is worth the wait... Smiley
-Vishal
VISHRAJK149
VISHRAJK149
VishalRJoshi
JoeChung,
      I talked about this at PDC as jgd12345 is mentioning...  Anyways to give you an idea  if you want to a appsetting in web.config during deployment you will have to write below code with XSLT
 

<?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>


with Xml Document Transform you will just have to write xdt:Transform=”Insert” next to the appsetting node you would like to insert...  Essentially huge simplicity is one of the big reasons for doing so...

Additionally you can write your own transform which can be xdt:Transform="XSLT" and invoke XSLT if you like...

Hope this helps!!
-Vishal

God bless you..it made program life so easy

Microsoft Communities