Implemented interface member:
method
Use
Microsoft.AspNetCore.Connections.IConnectionBuilder.Use(System.Func<Microsoft.AspNetCore.Connections.ConnectionDelegate, Microsoft.AspNetCore.Connections.ConnectionDelegate>)
21 references to Use
Aspire.Dashboard (1)
Authentication\Connection\ListenOptionsConnectionTypeExtensions.cs (1)
12listenOptions.Use(next => new ConnectionTypeMiddleware(connectionTypes, next).OnConnectionAsync);
InMemory.FunctionalTests (13)
ConnectionMiddlewareTests.cs (7)
40listenOptions.Use(next => 77listenOptions.Use(next => new AsyncConnectionMiddleware(next).OnConnectionAsync); 136listenOptions.Use(next => new AsyncConnectionMiddleware(next).OnConnectionAsync); 159listenOptions.Use(next => context => throw new InvalidOperationException()); 185listenOptions.Use(next => new AsyncConnectionMiddleware(next).OnConnectionAsync); 212listenOptions.Use(next => 244listenOptions.Use(next => context =>
EventSourceTests.cs (2)
274listenOptions.Use(next => 365listenOptions.Use(next =>
KestrelMetricsTests.cs (4)
47listenOptions.Use(next => 110listenOptions.Use(next => 324listenOptions.Use(next => 442listenOptions.Use(next =>
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1222listenOptions.UseHttps(TestResources.GetTestCertificate()).Use(@delegate =>
Microsoft.AspNetCore.Server.Kestrel.Core (3)
ListenOptionsHttpsExtensions.cs (2)
200listenOptions.Use(next => 263listenOptions.Use(next =>
Middleware\ListenOptionsConnectionLoggingExtensions.cs (1)
39listenOptions.Use(next => new LoggingConnectionMiddleware(next, logger).OnConnectionAsync);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ListenOptionsTests.cs (1)
32localhostListenOptions.Use(next =>
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (2)
22listenOptions.Use(next => context => throw new Exception()); 56listenOptions.Use(next =>