RazorRuntimeCompilationMvcBuilderExtensions.AddRazorRuntimeCompilation Method

Definition

Overloads

AddRazorRuntimeCompilation(IMvcBuilder)

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

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

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

AddRazorRuntimeCompilation(IMvcBuilder)

Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs

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

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

Parameters

builder
IMvcBuilder

The IMvcBuilder.

Returns

The IMvcBuilder.

Applies to

AddRazorRuntimeCompilation(IMvcBuilder, Action<MvcRazorRuntimeCompilationOptions>)

Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs
Source:
RazorRuntimeCompilationMvcBuilderExtensions.cs

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

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

Parameters

builder
IMvcBuilder

The IMvcBuilder.

Returns

The IMvcBuilder.

Applies to