20 references to Use
ExceptionHandlerSample (1)
StartupWithWebSocket.cs (1)
25app.Use(async (HttpContext context, Func<Task> next) =>
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests.cs (1)
1168app.Use(handlerBeforeAuth);
JwtBearerTests_Handler.cs (1)
1227app.Use(handlerBeforeAuth);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Latency\AcceptanceTests.cs (1)
45app.Use(async (context, next) =>
Latency\ChecpointAcceptanceTests.cs (1)
90app.Use((ctx, next) =>
Microsoft.AspNetCore.Diagnostics.Tests (2)
ExceptionHandlerTest.cs (2)
1071app.Use(async (context, next) => 1133app.Use(async (context, next) =>
Microsoft.AspNetCore.Http.Abstractions.Tests (10)
UseExtensionsTests.cs (2)
20builder.Use((context, next) => 55builder.Use(async (context, next) =>
UseWhenExtensionsTests.cs (8)
36grandchild.Use(Increment("grandchild")); 39child.Use(Increment("child")); 42parent.Use(Increment("parent")); 64grandchild.Use(Increment("grandchild", terminate: true)); 67child.Use(Increment("child")); 70parent.Use(Increment("parent")); 90child.Use(Increment("child")); 93parent.Use(Increment("parent"));
Microsoft.AspNetCore.StaticFiles.Tests (2)
StaticFileMiddlewareTests.cs (2)
345app.Use((ctx, next) => 393app.Use((ctx, next) =>
Microsoft.AspNetCore.Testing.Tests (1)
TestResources\Startup.cs (1)
19public void Configure(IApplicationBuilder app) => app.Use((HttpContext _, Func<Task> _) => Task.CompletedTask);