Exercise 2: Verification

In order to verify that you have correctly performed all steps of the exercises, proceed as follows.

  1. In Visual Studio 2010 select File | Open | File from the menu to open File dialog. Navigate to the HTMLLab project directory and then to obj\Staging\TransformWebConfig\transformed folder. Select the Web.config file and click Open.
  2. Notice that in the Web.config file the value for EnvironmentName has been changed to Staging.


    <appSettings> <add key="EnvironmentName" value="Staging" /> </appSettings>

  3. Locate connection string in the Web.config file and verify that the database server name has been updated to QADatabaseServer.


    <connectionStrings> <add name="LoggingConnectionString" connectionString="Server=QADatabaseServer;Database=Logger;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/> </connectionStrings>

  4. Close the Web.config file.

Next Step

Exercise 3: Packaging and Deploying Web Applications for the Visual Studio Development Web Server