Easing ASP.NET Web and  SQL Server Database Deployment withVS 2010 and MsDeploy<br />Ing. Eduardo Castro, PhD<br />GrupoAs...
We are here today to…<br />Gaze into the future of web deployment<br />Package web applications<br />Prepare your web.conf...
Way More<br />Make your Web Deployment Easier… !!<br />
Web Deployment  Story - Today<br />Copy Web<br />Publish Web<br /> Server<br />Dev Box<br />Web Application<br />
Does your web.config change from <br />Dev  Test  Staging  Production<br />
Web Config Transformation<br />(Staging Ready)<br />Web.Staging.Config<br />Outputted to OBJstaging folder of your project...
Transformation Concepts<br />(Staging Ready)<br />Web.Staging.Config<br />XML Transformation Engine<br />
Why not XSLT?<br />&lt;?xml version=&quot;1.0&quot; ?&gt;<br />&lt;xsl:stylesheetxmlns:xsl=&quot;http://www.w3.org/1999/XS...
Web.Config Transformation Recap<br />
Web.Config Transformation Recap<br />
demo<br />Web.Config Transformation<br />
Web Deployment  w/ VS10<br />Dev Environment<br />Server Environment<br />MS DEPLOY<br />
Data Flow Diagram<br />Dev Box<br />Pckg Install Command<br />Pckg Install Command<br />Local Server<br />
Dev Box<br />Other Providers<br />IIS Provider<br />Engine<br />DB Provider<br />Custom Asset<br />Web Content<br />Provid...
Web Server<br />Other Providers<br />IIS Provider<br />Engine<br />DB Provider<br />Custom Asset<br />Web Content<br />Pro...
demo<br />Web Packaging<br />
Database Deployment<br />
Schema<br />Data<br />Custom Scripts<br />DB Deployment<br />
demo<br />Database Deployment<br />
Data Flow Diagram<br />Dev Box<br />Remote Server<br />Pckg Install Command<br />Pckg Install Command<br />Local Server<br />
demo<br />1-Click Publish<br />
Web Publishing Pipeline (WPP)<br />
Web Publishing Pipeline (WPP)<br />
Build<br />Collection:<br />O/P Binaries + PDBs<br />Collection:<br />References<br />Collection:<br />Content<br />Web Pu...
question & answer<br />
http://comunidadwindows.orghttp://ecastrom.blogspot.com<br />Ing. Eduardo Castro, PhD<br />GrupoAsesor en Informática<br /...
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be...
Upcoming SlideShare
Loading in...5
×

Easing ASP.NET Web and SQL Server Database Deployment with VS 2010 and MsDeploy

1,699

Published on

Easing ASP.NET Web and SQL Server Database Deployment with VS 2010 and MsDeploy

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,699
On Slideshare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Easing ASP.NET Web and SQL Server Database Deployment with VS 2010 and MsDeploy

  1. 1. Easing ASP.NET Web and SQL Server Database Deployment withVS 2010 and MsDeploy<br />Ing. Eduardo Castro, PhD<br />GrupoAsesor en Informática<br />ecastro@grupoasesor.net<br />
  2. 2. We are here today to…<br />Gaze into the future of web deployment<br />Package web applications<br />Prepare your web.config files for prime time<br />Share web apps with peers and community<br />Enable continuous integration for web applications <br />Get a sneak peek at what’s cooking for DB Deployment<br />
  3. 3. Way More<br />Make your Web Deployment Easier… !!<br />
  4. 4. Web Deployment Story - Today<br />Copy Web<br />Publish Web<br /> Server<br />Dev Box<br />Web Application<br />
  5. 5. Does your web.config change from <br />Dev  Test  Staging  Production<br />
  6. 6.
  7. 7. Web Config Transformation<br />(Staging Ready)<br />Web.Staging.Config<br />Outputted to OBJstaging folder of your project<br />XML Transformation Engine<br />
  8. 8. Transformation Concepts<br />(Staging Ready)<br />Web.Staging.Config<br />XML Transformation Engine<br />
  9. 9. Why not XSLT?<br />&lt;?xml version=&quot;1.0&quot; ?&gt;<br />&lt;xsl:stylesheetxmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&quot;1.0&quot;&gt;<br />&lt;xsl:template match=&quot;@*|node()&quot;&gt;<br />  &lt;xsl:copy&gt;           <br />    &lt;xsl:apply-templates select=&quot;@*|node()&quot;/&gt;<br />  &lt;/xsl:copy&gt;<br />&lt;/xsl:template&gt;<br />&lt;xsl:template match=&quot;/configuration/appSettings&quot;&gt;<br />  &lt;xsl:copy&gt;<br />    &lt;xsl:apply-templates select=&quot;node()|@*&quot;/&gt;<br />    &lt;xsl:element name=&quot;add&quot;&gt;<br />      &lt;xsl:attribute name=&quot;key&quot;&gt;NewSetting&lt;/xsl:attribute&gt;<br />      &lt;xsl:attribute name=&quot;value&quot;&gt;New Setting Value&lt;/xsl:attribute&gt;<br />    &lt;/xsl:element&gt;<br />  &lt;/xsl:copy&gt;<br />&lt;/xsl:template&gt;<br />&lt;/xsl:stylesheet&gt;<br />&lt;configuration xmlns:xdt=”http://schemas.microsoft.com/XML-Document-Transform”&gt;<br />   &lt;appSettings&gt;      &lt;add name=”NewSetting” value=”New Setting Value” xdt:Transform=”Insert”/&gt;<br />   &lt;/appSettings&gt;<br />&lt;/configuration&gt;<br />
  10. 10. Web.Config Transformation Recap<br />
  11. 11. Web.Config Transformation Recap<br />
  12. 12. demo<br />Web.Config Transformation<br />
  13. 13. Web Deployment w/ VS10<br />Dev Environment<br />Server Environment<br />MS DEPLOY<br />
  14. 14. Data Flow Diagram<br />Dev Box<br />Pckg Install Command<br />Pckg Install Command<br />Local Server<br />
  15. 15. Dev Box<br />Other Providers<br />IIS Provider<br />Engine<br />DB Provider<br />Custom Asset<br />Web Content<br />Provider<br />Your custom<br />Provider<br />Vishal R Joshi<br />
  16. 16. Web Server<br />Other Providers<br />IIS Provider<br />Engine<br />DB Provider<br />Custom Asset<br />Web Content<br />Provider<br />Your custom<br />Provider<br />Vishal R Joshi<br />
  17. 17. demo<br />Web Packaging<br />
  18. 18. Database Deployment<br />
  19. 19. Schema<br />Data<br />Custom Scripts<br />DB Deployment<br />
  20. 20. demo<br />Database Deployment<br />
  21. 21. Data Flow Diagram<br />Dev Box<br />Remote Server<br />Pckg Install Command<br />Pckg Install Command<br />Local Server<br />
  22. 22. demo<br />1-Click Publish<br />
  23. 23. Web Publishing Pipeline (WPP)<br />
  24. 24. Web Publishing Pipeline (WPP)<br />
  25. 25. Build<br />Collection:<br />O/P Binaries + PDBs<br />Collection:<br />References<br />Collection:<br />Content<br />Web Publishing Pipeline (WPP)<br />Transformation: Web.Config<br />Transformation:<br />Exclude Files<br />Transformation:<br />Pre-Compile<br />Transformation:<br />Merge<br />Output:<br />FTP, FS, MSDeploy, HTTP<br />MSDeploy:<br />GAC, COM, Registry<br />MSDeploy:<br />IIS Settings, Certificates<br />MSDeploy:<br />DB (Data, Schema, Scripts)<br />MSDeploy:<br />Create Manifest<br />MSDeploy:<br />Package<br />MSDeploy:<br />Publish<br />
  26. 26. question & answer<br />
  27. 27. http://comunidadwindows.orghttp://ecastrom.blogspot.com<br />Ing. Eduardo Castro, PhD<br />GrupoAsesor en Informática<br />ecastro@grupoasesor.net<br />
  28. 28. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.<br />The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.<br />

×