Share via


Configuring .NET Compilation Settings in IIS 7

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

For application code to service requests by users, ASP.NET must first compile the code into one or more assemblies. Assemblies are files that have the file name extension .dll. Configure .NET compilation settings in IIS 7 when you want to control how ASP.NET code is compiled.

IIS lets you configure the following .NET compilation settings:

  • Batch settings, such as the maximum file size that you can batch and the maximum number of pages that you can have per batched compilation.

  • Behavior settings, such as the number of times resources are dynamically compiled before the application is restarted.

  • General settings, such as the default programming language that is used in dynamic compilation files.

Prerequisites

For information about the levels at which you can perform these procedures, and the modules, handlers, and permissions that are required for these procedures, see Compilation Settings Feature Requirements (IIS 7).

Procedures

This task includes the following procedures:

Edit Compilation Settings (IIS 7)