2 implementations of IMvcCoreBuilder
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Localization.Test (1)
340 references to IMvcCoreBuilder
Microsoft.AspNetCore.Mvc (46)
MvcServiceCollectionExtensions.cs (46)
67/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>,
68/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>,
69/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>,
70/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>,
71/// and <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>.
87var builder = AddControllersCore(services);
102/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>,
103/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>,
104/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>,
105/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>,
106/// and <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>.
123var builder = AddControllersCore(services);
132private static IMvcCoreBuilder AddControllersCore(IServiceCollection services)
135var builder = services
162/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>,
163/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>,
164/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>,
165/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>,
166/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>,
167/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>,
168/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/>,
169/// and <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
180var builder = AddControllersWithViewsCore(services);
195/// <see cref="MvcApiExplorerMvcCoreBuilderExtensions.AddApiExplorer(IMvcCoreBuilder)"/>,
196/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>,
197/// <see cref="MvcCorsMvcCoreBuilderExtensions.AddCors(IMvcCoreBuilder)"/>,
198/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>,
199/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddFormatterMappings(IMvcCoreBuilder)"/>,
200/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>,
201/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/>,
202/// and <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
214var builder = AddControllersWithViewsCore(services);
223private static IMvcCoreBuilder AddControllersWithViewsCore(IServiceCollection services)
225var builder = AddControllersCore(services)
244/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>,
245/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>,
246/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>,
247/// and <see cref="MvcRazorPagesMvcCoreBuilderExtensions.AddRazorPages(IMvcCoreBuilder)"/>.
261var builder = AddRazorPagesCore(services);
275/// <see cref="MvcCoreMvcCoreBuilderExtensions.AddAuthorization(IMvcCoreBuilder)"/>,
276/// <see cref="MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations(IMvcCoreBuilder)"/>,
277/// <see cref="TagHelperServicesExtensions.AddCacheTagHelper(IMvcCoreBuilder)"/>,
278/// and <see cref="MvcRazorPagesMvcCoreBuilderExtensions.AddRazorPages(IMvcCoreBuilder)"/>.
292var builder = AddRazorPagesCore(services);
301private static IMvcCoreBuilder AddRazorPagesCore(IServiceCollection services)
305var builder = services
Microsoft.AspNetCore.Mvc.ApiExplorer (6)
Microsoft.AspNetCore.Mvc.Core (53)
Microsoft.AspNetCore.Mvc.Core.Test (5)
Microsoft.AspNetCore.Mvc.Cors (15)
Microsoft.AspNetCore.Mvc.DataAnnotations (8)
Microsoft.AspNetCore.Mvc.Formatters.Xml (20)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.Localization (88)
DependencyInjection\MvcLocalizationMvcCoreBuilderExtensions.cs (72)
19/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
20/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
23/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
24/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
26public static IMvcCoreBuilder AddViewLocalization(this IMvcCoreBuilder builder)
36/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
38/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
41/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
42/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
44public static IMvcCoreBuilder AddViewLocalization(
45this IMvcCoreBuilder builder,
60/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
62/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
65/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
66/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
68public static IMvcCoreBuilder AddViewLocalization(
69this IMvcCoreBuilder builder,
80/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
83/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
86/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
87/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
89public static IMvcCoreBuilder AddViewLocalization(
90this IMvcCoreBuilder builder,
106/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
107/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
110/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
111/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
113public static IMvcCoreBuilder AddMvcLocalization(this IMvcCoreBuilder builder)
127/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
129/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
132/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
133/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
135public static IMvcCoreBuilder AddMvcLocalization(
136this IMvcCoreBuilder builder,
151/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
153/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
156/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
157/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
159public static IMvcCoreBuilder AddMvcLocalization(
160this IMvcCoreBuilder builder,
175/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
179/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
182/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
183/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
185public static IMvcCoreBuilder AddMvcLocalization(
186this IMvcCoreBuilder builder,
202/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
205/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
208/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
209/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
211public static IMvcCoreBuilder AddMvcLocalization(
212this IMvcCoreBuilder builder,
227/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
232/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
235/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
236/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
238public static IMvcCoreBuilder AddMvcLocalization(
239this IMvcCoreBuilder builder,
255/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
259/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
262/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
263/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
265public static IMvcCoreBuilder AddMvcLocalization(
266this IMvcCoreBuilder builder,
282/// <param name="builder">The <see cref="IMvcCoreBuilder"/>.</param>
288/// <returns>The <see cref="IMvcCoreBuilder"/>.</returns>
291/// <see cref="MvcViewFeaturesMvcCoreBuilderExtensions.AddViews(IMvcCoreBuilder)"/> and the Razor view engine
292/// via <see cref="MvcRazorMvcCoreBuilderExtensions.AddRazorViewEngine(IMvcCoreBuilder)"/>.
294public static IMvcCoreBuilder AddMvcLocalization(
295this IMvcCoreBuilder builder,
Microsoft.AspNetCore.Mvc.Localization.Test (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
Microsoft.AspNetCore.Mvc.Razor (18)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (10)
Microsoft.AspNetCore.Mvc.Razor.Test (3)
Microsoft.AspNetCore.Mvc.RazorPages (14)
Microsoft.AspNetCore.Mvc.TagHelpers (8)
Microsoft.AspNetCore.Mvc.ViewFeatures (22)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (11)