1 / 20

Resources

Web Deployment Projects Targeting your Development, Staging and Production Environments. Eli Robillard, Knowledge Systems Practice Lead. Resources. This presentation and related links

sitara
Download Presentation

Resources

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Deployment ProjectsTargeting your Development, Staging and Production Environments.EliRobillard, Knowledge Systems Practice Lead

  2. Resources This presentation and related links http://weblogs.asp.net/erobillard/archive/2006/06/16/Web-Deployment-Project_2C00_-MSBuild_2C00_-and-WAP-Resources.aspx My Weblog http://weblogs.asp.net/erobillard

  3. Tonight VS 2005 Web Project System. MSBuild. Web Deployment Projects.

  4. The Web Project System Changes: FrontPage Server Extensions not required. Built-in development server (Cassini). The folder is the project. Options beyond the monolithic assembly.

  5. The Web Project System Further reading: Google: vs2005 "web project“ Scott Guthrie’s Weblog: http://webproject.scottgu.com/ http://weblogs.asp.net/scottgu/archive/2005/08/21/423201.aspx

  6. MSBuild MSBuild is a fully extensible build system shipping with the .NET Framework 2.0. MSBuild is seamlessly integrated with Visual Studio 2005. An XML format to describe a project's properties, items, and build process. You extend the build process by writing managed code (tasks and loggers). You don't need the IDE to build a project.

  7. Abracadabra VS Build System VS Build System Pre build step 0011010101 1110010110 1101100111 0010100111 Post build step Produces Authors PROJECT FILE - $%#^$&% - @$#%$^# Final Product Visual Studio .NET 2002/2003 Feeds

  8. Final Product MSBuild Produces Authors Feeds Authors DEVELOPER MSBuild Design Goals PROJECT FILE <Project> <Property … /> <Item … /> <Target … /> </Project>

  9. MSBuild concept of "build" SCC Unit Test Obfuscate Send E-mail Build MSBuild Build VS .NET 2002/2003 concept of "build"

  10. MSBuild MSBuild is a fully extensible build system shipping with the .NET Framework 2.0. MSBuild is seamlessly integrated with Visual Studio 2005. An XML format to describe a project's properties, items, and build process. You extend the build process by writing managed code (tasks and loggers). You don't need the IDE to build a project.

  11. MSBuild Advantages Compile .aspx, .ascx, and .master pages. Generate assemblies per application, folder, or file. Allow writing custom pre- and post-build events.

  12. MSBuild Project File <Project xmlns=“http://schemas.microsoft.com/developer/msbuild/2003”> <PropertyGroup> <AppName>MyCoolApp</AppName> <DebugSymbols>true</DebugSymbols> <OutputAssembly>$(AppName).exe</OutputAssembly> </PropertyGroup> <ItemGroup> <Compile Include=“Hello.cs” /> <Compile Include=“Program.cs” /> </ItemGroup> <Target Name=“Build”> <Message Text=“Executing Build Target for App $(AppName)” /> <Csc Sources=“@(Compile)” EmitDebugInformation=“$(DebugSymbols)” OutputAssembly=“$(OutputAssembly)”/> </Target> <Import Project=“Microsoft.CSharp.targets” /> </Project>

  13. Demo MSBuild

  14. Web Deployment Projects An add-in for Visual Studio 2005. WDP provides a wizard-like interface for MSBuild project files.

  15. Web Deployment Projects Inherit MSBuild Advantages Compile .aspx, .ascx, and .master pages. Pre-compile your site during the build process. Generate assemblies per application, folder, or file. Allow writing custom pre- and post-build events. Exclude files or folders from the build.

  16. Web Deployment Projects: Additional Advantages Create different Build processes with different file and resource inclusions per target environment. Easier than editing the MSBuild project file.

  17. Demo Web Deployment Projects

  18. The Web Deployment Project • Resources • MSN/Google: msbuild "web deployment project" • Visual Studio 2005 Web Deployment Projects • Scott Guthrie: VS 2005 Web Deployment Projects • Douglas Rohm: Customizing Web Deployments with MSBuild

  19. Resources This presentation and related links http://weblogs.asp.net/erobillard/archive/2006/06/16/Web-Deployment-Project_2C00_-MSBuild_2C00_-and-WAP-Resources.aspx My Weblog http://weblogs.asp.net/erobillard

  20. Web Deployment ProjectsTargeting your Development, Staging and Production Environments.EliRobillard, Knowledge Systems Practice Lead

More Related