Export (0) Print
Expand All

Configure Your Local Environment to Emulate Azure

Updated: October 24, 2014

The Microsoft Azure compute emulator in Azure SDK for .NET - November 2011 and earlier requires that you run IIS 7.0 with ASP.NET, but not all of the role services of IIS 7.0 and not all of the features of Windows Server 2008 are installed by default. The services and features that are installed by default are a subset of the services and features that are installed in Azure. Most basic applications can run in the compute emulator; however, when creating more advanced applications you may need to take additional measures to ensure that your application will behave in the same ways in Azure as it does when running in the compute emulator.

For more information about configuring your local IIS 7.0 installation, see Server Core Installation of Windows Server 2008 Packages.

The following list contains optional IIS 7.0 role services that are part of the Azure configuration. Add these role services to reproduce the Azure configuration.

  • Web Server (IIS) [Web-Server]

    • Web Server [Web-WebServer]

      • Common HTTP Features [Web-Common-Http]

        • Static Content [Web-Static-Content]

        • Default Document [Web-Default-Doc]

        • Directory Browsing [Web-Dir-Browsing]

        • HTTP Errors [Web-Http-Errors]

        • HTTP Redirection [Web-Http-Redirect]

      • Application Development [Web-App-Dev]

        • ASP.NET [Web-Asp-Net]

        • .NET Extensibility [Web-Net-Ext]

        • CGI [Web-CGI]

        • ISAPI Extensions [Web-ISAPI-Ext]

        • ISAPI Filters [Web-ISAPI-Filter]

      • Health and Diagnostics [Web-Health]

        • HTTP Logging [Web-Http-Logging]

        • Logging Tools [Web-Log-Libraries]

        • Request Monitor [Web-Request-Monitor]

        • Tracing [Web-Http-Tracing]

      • Security [Web-Security]

        • Windows Authentication [Web-Windows-Auth]

        • Request Filtering [Web-Filtering]

      • Performance [Web-Performance]

        • Static Content Compression [Web-Stat-Compression]

    • Management Tools [Web-Mgmt-Tools]

      • IIS Management Console [Web-Mgmt-Console]

  1. Open Server Manager.

  2. Click Roles, and then in the Role Services section, click Add Role Services.

  3. Select the services that you want to install, and then click Install.

  4. Finish the wizard.

The following list contains optional server features that are part of the Azure configuration. Add these features to your server to reproduce the Azure configuration.

  • .NET Framework 3.0 Features [NET-Framework]

    • .NET Framework 3.0 [NET-Framework-Core]

    • XPS Viewer [NET-XPS-Viewer]

    • WCF Activation [NET-Win-CFAC]

      • HTTP Activation [NET-HTTP-Activation]

  • Remote Server Administration Tools [RSAT]

    • Role Administration Tools [RSAT-Role-Tools]

      • File Services Tools [RSAT-File-Services]

        • File Server Resource Manager Tools [RSAT-FSRM-Mgmt]

      • Web Server (IIS) Tools [RSAT-Web-Server]

    • Feature Administration Tools [RSAT-Feature-Tools]

      • Network Load Balancing Tools [RSAT-NLB]

  • Telnet Client [Telnet-Client]

  • Windows PowerShell [PowerShell]

  • Windows Process Activation Service [WAS]

    • Process Model [WAS-Process-Model]

    • .NET Environment [WAS-NET-Environment]

    • Configuration APIs [WAS-Config-APIs]

  1. Open Server Manager.

  2. Click Features, and then click Add Features.

  3. Select the features that you want to install, and then click Install.

  4. Finish the wizard.

  5. After you install the features, reset them to the system defaults by running the Appcmd.exe tool as an administrator, and supplying the appropriate feature name. For example:

    %windir%\system32\inetsrv\appcmd reset config -section:staticContent
    

See Also

Show:
© 2015 Microsoft