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 ... ... ...
Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.