19 writes to EnableEndpointRouting
BasicWebSite (1)
StartupWithoutEndpointRouting.cs (1)
33
options.
EnableEndpointRouting
= false;
CorsWebSite (1)
StartupWithoutEndpointRouting.cs (1)
17
options.
EnableEndpointRouting
= false;
GenericHostWebSite (1)
Startup.cs (1)
20
options.
EnableEndpointRouting
= false;
HtmlGenerationWebSite (1)
StartupWithoutEndpointRouting.cs (1)
33
options.
EnableEndpointRouting
= false;
Identity.DefaultUI.WebSite (1)
StartupWithoutEndpointRouting.cs (1)
18
services.AddMvc(options => options.
EnableEndpointRouting
= false);
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (1)
16
private readonly IOptions<MvcOptions> OptionsWithoutEndpointRouting = Options.Create(new MvcOptions {
EnableEndpointRouting
= false });
Builder\MvcApplicationBuilderExtensionsTest.cs (2)
41
services.AddMvcCore(o => o.
EnableEndpointRouting
= false);
66
services.AddMvcCore(o => o.
EnableEndpointRouting
= true);
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsApplicationModelProviderTest.cs (1)
20
private readonly IOptions<MvcOptions> OptionsWithoutEndpointRouting = Options.Create(new MvcOptions {
EnableEndpointRouting
= false });
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
ApplicationModels\AuthorizationPageApplicationModelProviderTest.cs (1)
17
private readonly IOptions<MvcOptions> OptionsWithoutEndpointRouting = Options.Create(new MvcOptions {
EnableEndpointRouting
= false });
DependencyInjection\PageConventionCollectionExtensionsTest.cs (1)
978
var options = new MvcOptions {
EnableEndpointRouting
= enableEndpointRouting };
Infrastructure\PageActionInvokerProviderTest.cs (2)
257
mvcOptions: new MvcOptions {
EnableEndpointRouting
= true });
291
mvcOptions: new MvcOptions {
EnableEndpointRouting
= false });
Mvc.RoutingWebSite (1)
StartupWithoutEndpointRouting.cs (1)
67
options.
EnableEndpointRouting
= false;
RazorPagesWebSite (1)
StartupWithoutEndpointRouting.cs (1)
15
services.AddMvc(options => options.
EnableEndpointRouting
= false)
SecurityWebSite (3)
StartupWithGlobalAuthFilterWithoutEndpointRouting.cs (1)
29
o.
EnableEndpointRouting
= false;
StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs (1)
30
o.
EnableEndpointRouting
= false;
StartupWithUseMvc.cs (1)
15
services.AddMvc(options => options.
EnableEndpointRouting
= false);
VersioningWebSite (1)
StartupWithoutEndpointRouting.cs (1)
17
options.
EnableEndpointRouting
= false;
14 references to EnableEndpointRouting
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\AuthorizationApplicationModelProvider.cs (1)
35
if (_mvcOptions.
EnableEndpointRouting
)
Builder\MvcApplicationBuilderExtensions.cs (1)
70
if (options.Value.
EnableEndpointRouting
)
CompatibilityVersion.cs (1)
71
/// <item><description><see cref="MvcOptions.
EnableEndpointRouting
" /></description></item>
MvcOptions.cs (1)
143
/// <remarks>This only applies when <see cref="
EnableEndpointRouting
"/> is true.</remarks>
Microsoft.AspNetCore.Mvc.Cors (1)
CorsApplicationModelProvider.cs (1)
34
if (!_mvcOptions.
EnableEndpointRouting
)
Microsoft.AspNetCore.Mvc.RazorPages (9)
ApplicationModels\AuthorizationPageApplicationModelProvider.cs (1)
31
if (_mvcOptions.
EnableEndpointRouting
)
DependencyInjection\PageConventionCollectionExtensions.cs (8)
78
if (conventions.MvcOptions.
EnableEndpointRouting
)
114
if (conventions.MvcOptions.
EnableEndpointRouting
)
139
if (conventions.MvcOptions.
EnableEndpointRouting
)
175
if (conventions.MvcOptions.
EnableEndpointRouting
)
201
if (conventions.MvcOptions.
EnableEndpointRouting
)
264
if (conventions.MvcOptions.
EnableEndpointRouting
)
290
if (conventions.MvcOptions.
EnableEndpointRouting
)
353
if (conventions.MvcOptions.
EnableEndpointRouting
)