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)
12
listenOptions.
Use
(next => new ConnectionTypeMiddleware(connectionTypes, next).OnConnectionAsync);
InMemory.FunctionalTests (13)
ConnectionMiddlewareTests.cs (7)
40
listenOptions.
Use
(next =>
77
listenOptions.
Use
(next => new AsyncConnectionMiddleware(next).OnConnectionAsync);
136
listenOptions.
Use
(next => new AsyncConnectionMiddleware(next).OnConnectionAsync);
159
listenOptions.
Use
(next => context => throw new InvalidOperationException());
185
listenOptions.
Use
(next => new AsyncConnectionMiddleware(next).OnConnectionAsync);
212
listenOptions.
Use
(next =>
244
listenOptions.
Use
(next => context =>
EventSourceTests.cs (2)
274
listenOptions.
Use
(next =>
365
listenOptions.
Use
(next =>
KestrelMetricsTests.cs (4)
47
listenOptions.
Use
(next =>
110
listenOptions.
Use
(next =>
324
listenOptions.
Use
(next =>
442
listenOptions.
Use
(next =>
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1222
listenOptions.UseHttps(TestResources.GetTestCertificate()).
Use
(@delegate =>
Microsoft.AspNetCore.Server.Kestrel.Core (3)
ListenOptionsHttpsExtensions.cs (2)
200
listenOptions.
Use
(next =>
263
listenOptions.
Use
(next =>
Middleware\ListenOptionsConnectionLoggingExtensions.cs (1)
39
listenOptions.
Use
(next => new LoggingConnectionMiddleware(next, logger).OnConnectionAsync);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ListenOptionsTests.cs (1)
32
localhostListenOptions.
Use
(next =>
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (2)
22
listenOptions.
Use
(next => context => throw new Exception());
56
listenOptions.
Use
(next =>