Share via


RazorRuntimeCompilationMvcCoreBuilderExtensions.AddRazorRuntimeCompilation Method

Definition

Overloads

AddRazorRuntimeCompilation(IMvcCoreBuilder)

Configures IMvcCoreBuilder to support runtime compilation of Razor views and Razor Pages.

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Configures IMvcCoreBuilder to support runtime compilation of Razor views and Razor Pages.

AddRazorRuntimeCompilation(IMvcCoreBuilder)

Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs

Configures IMvcCoreBuilder to support runtime compilation of Razor views and Razor Pages.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parameters

Returns

The IMvcCoreBuilder.

Applies to

AddRazorRuntimeCompilation(IMvcCoreBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcCoreBuilderExtensions.cs

Configures IMvcCoreBuilder to support runtime compilation of Razor views and Razor Pages.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddRazorRuntimeCompilation (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> setupAction);
static member AddRazorRuntimeCompilation : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.MvcRazorRuntimeCompilationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddRazorRuntimeCompilation (builder As IMvcCoreBuilder, setupAction As Action(Of MvcRazorRuntimeCompilationOptions)) As IMvcCoreBuilder

Parameters

Returns

The IMvcCoreBuilder.

Applies to