27 references to AddHttpContextAccessor
BasicWebSite (2)
Startup.cs (1)
20services.AddHttpContextAccessor();
StartupWithoutEndpointRouting.cs (1)
44services.AddHttpContextAccessor();
ControllersFromServicesWebSite (1)
Startup.cs (1)
38services.AddHttpContextAccessor();
GenericHostWebSite (1)
Startup.cs (1)
24services.AddHttpContextAccessor();
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
54serviceCollection.AddHttpContextAccessor();
IntegrationTestsWebsite (1)
Startup.cs (1)
20services.AddHttpContextAccessor();
Keycloak.Web (1)
Program.cs (1)
19builder.Services.AddHttpContextAccessor()
Microsoft.AspNetCore.AsyncState (1)
AsyncStateHttpContextExtensions.cs (1)
29.AddHttpContextAccessor()
Microsoft.AspNetCore.AsyncState.Tests (1)
AsyncContextHttpContextOfTTests.cs (1)
21.AddHttpContextAccessor()
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\RequestHeadersEnricherServiceCollectionExtensions.cs (1)
26.AddHttpContextAccessor()
Microsoft.AspNetCore.Hosting.Tests (4)
HostingApplicationTests.cs (1)
187services.AddHttpContextAccessor();
HostingMetricsTests.cs (1)
193services.AddHttpContextAccessor();
Http\DefaultHttpContextFactoryTests.cs (2)
17.AddHttpContextAccessor() 35.AddHttpContextAccessor()
Microsoft.AspNetCore.Http.Tests (2)
HttpServiceCollectionExtensionsTests.cs (2)
17services.AddHttpContextAccessor(); 28Assert.Throws<ArgumentNullException>("services", () => HttpServiceCollectionExtensions.AddHttpContextAccessor(null));
Microsoft.AspNetCore.Identity (2)
IdentityBuilderExtensions.cs (1)
43builder.Services.AddHttpContextAccessor();
IdentityServiceCollectionExtensions.cs (1)
91services.AddHttpContextAccessor();
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
DbUtil.cs (1)
24services.AddHttpContextAccessor();
SqlStoreTestBase.cs (1)
50services.AddHttpContextAccessor();
Microsoft.AspNetCore.Identity.Specification.Tests (2)
IdentitySpecificationTestBase.cs (1)
42services.AddHttpContextAccessor();
UserManagerSpecificationTests.cs (1)
54services.AddHttpContextAccessor();
Microsoft.AspNetCore.Identity.Test (4)
IdentityBuilderTest.cs (1)
163.AddHttpContextAccessor()
UserManagerTest.cs (3)
22services.AddHttpContextAccessor(); 36.AddHttpContextAccessor(); 1750.AddHttpContextAccessor();
ServerComparison.TestSites (1)
StartupNtlmAuthentication.cs (1)
18services.AddHttpContextAccessor();