15 implementations of IServer
InProcessWebSite (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Hosting.Tests (4)
Microsoft.AspNetCore.Hosting.TestSites (1)
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (1)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.Tests (2)
176 references to IServer
Aspire.Hosting (1)
InMemory.FunctionalTests (1)
InProcessWebSite (6)
Interop.FunctionalTests (1)
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.DataProtection.Tests (3)
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.Hosting.Abstractions (3)
Microsoft.AspNetCore.Hosting.Tests (12)
Microsoft.AspNetCore.Hosting.WindowsServices.Tests (1)
Microsoft.AspNetCore.Http.Connections.Tests (6)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.OpenApi.Tests (1)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (81)
DelegateTests.cs (15)
30var server = host.Services.GetRequiredService<IServer>();
40using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
51using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
71using var receiver = Utilities.CreateHttpServer(out var receiverAddress, httpContext =>
83using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext =>
104using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
115using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
137using var receiver = Utilities.CreateHttpServer(out var receiverAddress, httpContext =>
149using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext =>
171using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
189using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
200using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
223using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
233using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
Http2Tests.cs (22)
33using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
70using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
116using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
166using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
230using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
287using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
322using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
366using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
405using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
444using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
518using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
551using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
583using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
614using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
636using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
657using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
699using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
746using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
796using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
848using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
894using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
943using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
RequestTests.cs (14)
244using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
261using (var server = Utilities.CreateHttpServerReturnRoot("/", out var root, httpContext =>
280using (var server = Utilities.CreateHttpServerReturnRoot("/", out var root, httpContext =>
349using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
368using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
406using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
430using (var server = Utilities.CreateHttpServerReturnRoot(basePath, out root, httpContext =>
451using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
469using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
491using (var server = Utilities.CreateHttpServerReturnRoot("/", out root, httpContext =>
510using var server = Utilities.CreateHttpServerReturnRoot("/", out var address, async httpContext =>
559using var server = Utilities.CreateHttpServerReturnRoot("/", out var address, async httpContext =>
600private IServer CreateServer(out string root, RequestDelegate app)
603var dynamicServer = Utilities.CreateHttpServerReturnRoot("/", out root, app, LoggerFactory);
ServerTests.cs (11)
149using (var server = Utilities.CreateHttpServer(out var address, httpContext =>
170using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
191using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
420using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
454using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
491using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
528using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
567using (var server = Utilities.CreateHttpServer(out var address, async httpContext =>
592using (var server = Utilities.CreateHttpServer(out _, httpContext => Task.CompletedTask, LoggerFactory))
604using var server = Utilities.CreateHttpServer(out var address, httpContext => Task.CompletedTask, options =>
622using var server = Utilities.CreateHttpServer(
Utilities.cs (7)
43internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, ILoggerFactory loggerFactory)
49internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, Action<HttpSysOptions> configureOptions, ILoggerFactory loggerFactory)
55internal static IServer CreateHttpServerReturnRoot(string path, out string root, RequestDelegate app, ILoggerFactory loggerFactory)
61internal static IServer CreateHttpAuthServer(AuthenticationSchemes authType, bool allowAnonymous, out string baseAddress, RequestDelegate app, ILoggerFactory loggerFactory)
124internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
139internal static IServer CreateDynamicHttpsServer(out string baseAddress, RequestDelegate app, ILoggerFactory loggerFactory)
144internal static IServer CreateDynamicHttpsServer(string basePath, out string root, out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory = null)
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (3)
Microsoft.AspNetCore.Server.IIS (3)
Microsoft.AspNetCore.Server.Kestrel (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.TestHost (7)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.Testing (3)
Microsoft.AspNetCore.Testing.Tests (6)
Microsoft.AspNetCore.Tests (12)
Microsoft.AspNetCore.WebSockets.Tests (1)
NativeIISSample (2)
Sockets.BindTests (5)
Sockets.FunctionalTests (2)
TestProject.ServiceA (1)
Wasm.Performance.Driver (1)