Implemented interface member:
method
Use
Microsoft.AspNetCore.Connections.IConnectionBuilder.Use(System.Func<Microsoft.AspNetCore.Connections.ConnectionDelegate, Microsoft.AspNetCore.Connections.ConnectionDelegate>)
29 references to Use
Aspire.Dashboard (1)
Authentication\Connection\ListenOptionsConnectionTypeExtensions.cs (1)
12
listenOptions.
Use
(next => new ConnectionTypeMiddleware(connectionTypes.ToArray(), next).OnConnectionAsync);
InMemory.FunctionalTests (18)
ConnectionLimitTests.cs (1)
238
listenOptions.
Use
(next =>
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 (3)
274
listenOptions.
Use
(next =>
365
listenOptions.
Use
(next =>
374
listenOptions.
Use
(next =>
HttpsConnectionMiddlewareTests.cs (3)
213
listenOptions.
Use
(next => async connectionContext =>
254
listenOptions.
Use
(next => async connectionContext =>
315
listenOptions.
Use
(next => async connectionContext =>
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)
1375
listenOptions.UseHttps(TestResources.GetTestCertificate()).
Use
(@delegate =>
Kestrel.SampleApp (2)
Startup.cs (2)
108
listenOptions.
Use
(next => async context =>
126
listenOptions.
Use
(next => async context =>
Microsoft.AspNetCore.Server.Kestrel.Core (4)
ListenOptionsHttpsExtensions.cs (3)
204
listenOptions.
Use
(next =>
267
listenOptions.
Use
(next =>
317
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 =>