O'Reilly logo

Applied ASP.NET 4 in Context by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preparing for Deployment

In this chapter, I am going to deploy the MVC framework version of the triathlon application we created in Chapter 31. Deployment is the same for all types of ASP.NET application, with a couple of exceptions. I’ll explain those issues when we get to them.

Enabling Dynamic Page Compilation

One of the most important Web.config settings to pay attention to when deploying an application is compilation, as shown in Listing 33-1.

Listing 33-1. The compilation setting in Web.config

<configuration>         <!-- other settings removed for clarity -->         <system.web>         <compilation debug="true" targetFramework="4.0">         <assemblies>                 <add assembly="System.Web.Abstractions, Version=4.0 ...                 ... ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required