CompilationSection.ProfileGuidedOptimizations Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the application is optimized for the deployed environment.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("profileGuidedOptimizations", 
	DefaultValue = ProfileGuidedOptimizationsFlags.All)]
public ProfileGuidedOptimizationsFlags ProfileGuidedOptimizations { get; set; }

Property Value

Type: System.Web.Configuration.ProfileGuidedOptimizationsFlags

A value that indicates whether the application is optimized for the deployed environment.

When this property is set to All, the ASP.NET compilation system enables optimizations that are intended to speed up ASP.NET startup performance at the expense of increased CPU utilization. The default setting for this property is All.

.NET Framework
Available since 4.5
Return to top
Show: