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