15 references to CreateServiceContext
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (15)
HeaderCollectionBenchmark.cs (1)
331var serviceContext = TestContextFactory.CreateServiceContext(
Http1ConnectionBenchmark.cs (1)
34var serviceContext = TestContextFactory.CreateServiceContext(
Http1ConnectionParsingOverheadBenchmark.cs (1)
30var serviceContext = TestContextFactory.CreateServiceContext(
Http1LargeWritingBenchmark.cs (1)
71var serviceContext = TestContextFactory.CreateServiceContext(
Http1ReadingBenchmark.cs (1)
100var serviceContext = TestContextFactory.CreateServiceContext(
Http1WritingBenchmark.cs (1)
105var serviceContext = TestContextFactory.CreateServiceContext(
Http2\Http2ConnectionBenchmarkBase.cs (1)
71var serviceContext = TestContextFactory.CreateServiceContext(
Http2\Http2FrameWriterBenchmark.cs (1)
32var serviceContext = TestContextFactory.CreateServiceContext(
Http3\Http3ConnectionBenchmarkBase.cs (1)
46var serviceContext = TestContextFactory.CreateServiceContext(
HttpProtocolFeatureCollection.cs (1)
233var serviceContext = TestContextFactory.CreateServiceContext(
RequestParsingBenchmark.cs (1)
31var serviceContext = TestContextFactory.CreateServiceContext(
ResponseHeaderCollectionBenchmark.cs (1)
179var serviceContext = TestContextFactory.CreateServiceContext(
src\Servers\Kestrel\shared\test\TestContextFactory.cs (3)
94serviceContext ?? CreateServiceContext(new KestrelServerOptions()), 159serviceContext: serviceContext ?? CreateServiceContext(new KestrelServerOptions()), 209serviceContext: serviceContext ?? CreateServiceContext(new KestrelServerOptions()),