19 implementations of IServer
GetDocument.Insider (1)
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.OpenApi.SourceGenerators.Tests (1)
Microsoft.AspNetCore.OpenApi.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)
Microsoft.Extensions.Validation.GeneratorTests (1)
191 references to IServer
Aspire.Hosting (1)
GetDocument.Insider (1)
InMemory.FunctionalTests (1)
InProcessWebSite (7)
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.FunctionalTests (4)
Microsoft.AspNetCore.Mvc.Testing (3)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests (1)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (83)
DelegateTests.cs (17)
34var server = host.Services.GetRequiredService<IServer>();
44using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
55using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
75using var receiver = Utilities.CreateHttpServer(out var receiverAddress, httpContext =>
87using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext =>
108using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
119using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
141using var receiver = Utilities.CreateHttpServer(out var receiverAddress, httpContext =>
153using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, async httpContext =>
175using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
193using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
204using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
228using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
238using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
289using var receiver = Utilities.CreateHttpServer(out var receiverAddress, async httpContext =>
301using var delegator = Utilities.CreateHttpServer(out var delegatorAddress, httpContext =>
Http2Tests.cs (22)
32using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
69using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
115using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
165using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
229using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
286using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
321using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
365using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
404using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
443using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
517using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
550using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
582using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
613using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
635using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
656using var server = Utilities.CreateDynamicHttpsServer(out var address, httpContext =>
698using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
745using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
795using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
847using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
893using var server = Utilities.CreateDynamicHttpsServer(out var address, async httpContext =>
942using 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)
44internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, ILoggerFactory loggerFactory)
50internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app, Action<HttpSysOptions> configureOptions, ILoggerFactory loggerFactory)
56internal static IServer CreateHttpServerReturnRoot(string path, out string root, RequestDelegate app, ILoggerFactory loggerFactory)
62internal static IServer CreateHttpAuthServer(AuthenticationSchemes authType, bool allowAnonymous, out string baseAddress, RequestDelegate app, ILoggerFactory loggerFactory)
125internal static IServer CreateDynamicHttpServer(string basePath, out string root, out string baseAddress, Action<HttpSysOptions> configureOptions, RequestDelegate app, ILoggerFactory loggerFactory)
140internal static IServer CreateDynamicHttpsServer(out string baseAddress, RequestDelegate app, ILoggerFactory loggerFactory)
145internal 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 (4)
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)
Microsoft.Extensions.Validation.GeneratorTests (1)
NativeIISSample (2)
Sockets.BindTests (5)
Sockets.FunctionalTests (2)
TestProject.ServiceA (1)
Wasm.Performance.Driver (1)