11 writes to LowercaseUrls
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
478
var routeOptions = new RouteOptions {
LowercaseUrls
= true };
Microsoft.AspNetCore.Routing.Tests (10)
DefaultLinkGeneratorProcessTemplateTest.cs (9)
262
s.Configure<RouteOptions>(o => o.
LowercaseUrls
= true);
291
s.Configure<RouteOptions>(o => o.
LowercaseUrls
= true);
347
s.Configure<RouteOptions>(o => o.
LowercaseUrls
= true);
382
o.
LowercaseUrls
= true;
446
o.
LowercaseUrls
= true;
479
s.Configure<RouteOptions>(o => o.
LowercaseUrls
= true);
512
s.Configure<RouteOptions>(o => o.
LowercaseUrls
= false);
547
o.
LowercaseUrls
= true;
585
o.
LowercaseUrls
= false;
RouteCollectionTest.cs (1)
699
options.
LowercaseUrls
= lowerCaseUrls;
6 references to LowercaseUrls
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
401
currentSegment += _routeOptions.
LowercaseUrls
?
Microsoft.AspNetCore.Routing (5)
DefaultLinkGenerator.cs (1)
65
LowercaseUrls = routeOptions.Value.
LowercaseUrls
,
RouteCollection.cs (3)
154
if (!string.IsNullOrEmpty(url) && (_options.
LowercaseUrls
|| _options.AppendTrailingSlash))
166
if (_options.
LowercaseUrls
)
171
if (_options.
LowercaseUrls
&& _options.LowercaseQueryStrings)
RouteOptions.cs (1)
48
/// This property will not be used unless <see cref="
LowercaseUrls
" /> is also <c>true</c>.