MvcRazorRuntimeCompilationOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Razor runtime compilation is obsolete and is not recommended for production scenarios. For production scenarios, use the default build time compilation. For development scenarios, use Hot Reload instead. For more information, visit https://aka.ms/aspnet/deprecate/003.
Used to configure razor compilation.
public ref class MvcRazorRuntimeCompilationOptions
[System.Obsolete("Razor runtime compilation is obsolete and is not recommended for production scenarios. For production scenarios, use the default build time compilation. For development scenarios, use Hot Reload instead. For more information, visit https://aka.ms/aspnet/deprecate/003.", DiagnosticId="ASPDEPR003")]
public class MvcRazorRuntimeCompilationOptions
public class MvcRazorRuntimeCompilationOptions
[<System.Obsolete("Razor runtime compilation is obsolete and is not recommended for production scenarios. For production scenarios, use the default build time compilation. For development scenarios, use Hot Reload instead. For more information, visit https://aka.ms/aspnet/deprecate/003.", DiagnosticId="ASPDEPR003")>]
type MvcRazorRuntimeCompilationOptions = class
type MvcRazorRuntimeCompilationOptions = class
Public Class MvcRazorRuntimeCompilationOptions
- Inheritance
-
MvcRazorRuntimeCompilationOptions
- Attributes
Constructors
MvcRazorRuntimeCompilationOptions() |
Properties
AdditionalReferencePaths |
Gets paths to additional references used during runtime compilation of Razor files. |
FileProviders |
Gets the IFileProvider instances used to locate Razor files. |