Visual studio 2010 and net framework 4 training workshop
Download
1 / 16

Visual Studio 2010 and .NET Framework 4 Training Workshop - PowerPoint PPT Presentation


  • 138 Views
  • Uploaded on

Visual Studio 2010 and .NET Framework 4 Training Workshop. Web Deployment With Visual Studio 2010. Name Title Organization Email. Agenda. Review configuration in ASP.NET and IIS Transforming settings in web.config Packaging applications for deployment Deploying packages to IIS

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Visual Studio 2010 and .NET Framework 4 Training Workshop' - chaney


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Visual studio 2010 and net framework 4 training workshop

Visual Studio 2010and.NET Framework 4Training Workshop


Web deployment with visual studio 2010

Web Deployment WithVisual Studio 2010

Name

Title

Organization

Email


Agenda
Agenda

  • Review configuration in ASP.NET and IIS

  • Transforming settings in web.config

  • Packaging applications for deployment

  • Deploying packages to IIS

  • Once-click Deployment


Asp net and iis configuration
ASP.NET and IIS Configuration

Configuration stored in XML files validated by a schema.

Schema describes configuration settings for IIS, ASP.NET and 3rd party applications.

Schema

Validation

Central configuration file for the server contains system wide configuration settings.

applicationHost.config

Distributed configuration files contain overrides and local site and application settings.

web.config

web.config



Web deployment today
Web Deployment Today

  • Multiple environments including Development, Testing, Staging and Production

  • Must manage settings for each environment

  • Difficult to keep environments consistent

  • Applications often need to be deployed by someone else

  • Need to package code, data, application settings and environment configuration for easier deployment



Managing settings
Managing Settings with your web application?

  • Need consistent configuration with customizations across deployment environments

  • Having multiple web.config files introduces inconsistencies

  • Web.config transformations allows one master web.config with specific customizations for target environments


How it transformation works
How it Transformation Works with your web application?

Web.

config

Web.

Staging.

config

<appSettings>

<addkey="EnvironmentName" value="Staging"

xdt:Transform="SetAttributes(value)"

xdt:Locator="Match(key)" />

</appSettings>

<connectionStrings>

<addname="LoggingConnectionString"

connectionString=“connection"

providerName="System.Data.SqlClient"

xdt:Transform="Replace"

xdt:Locator="Match(name)" />

</connectionStrings>

Deployed

Web.

config

Visual Studio

Transformation


Web config transformation
Web.Config Transformation with your web application?


Web config transformation locators
Web.Config Transformation with your web application?Locators


Ms deploy
MS Deploy with your web application?

  • Synchronize, Migrate, Deploy

    • Works with IIS 6.0 and IIS 7.0

    • Analyze the destination environment

    • Do a –whatif Analysis before committing operation

  • Includes a service for deploying applications remotely

  • Integration

    • Integrated with Powershell

    • Integrated in Visual Studio 2010

    • Compatible with Web Platform Installer


Integration with visual studio 2010
Integration with Visual Studio 2010 with your web application?


One click deployment
One-click Deployment with your web application?

  • Leverages everything we’ve seen so far

  • Wraps multiple steps into a single click


Making deployment easier
Making Deployment Easier with your web application?


ad