5 implementations of Use
Microsoft.AspNetCore (1)
WebApplication.cs (1)
224public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)
Microsoft.AspNetCore.Http (1)
Builder\ApplicationBuilder.cs (1)
120public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
MapPathMiddlewareTests.cs (1)
264public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)
UsePathBaseExtensionsTests.cs (1)
41public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
63public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)
32 references to Use
Microsoft.AspNetCore.CookiePolicy.Test (1)
CookiePolicyTests.cs (1)
327app.Use(next => context =>
Microsoft.AspNetCore.Diagnostics (2)
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
116return app.Use(next =>
StatusCodePage\StatusCodePagesExtensions.cs (1)
152return app.Use(next =>
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (5)
HealthCheckMiddlewareTests.cs (5)
709app.Use(next => async (context) => 747app.Use(next => async (context) => 785app.Use(next => async (context) => 821app.Use(next => async (context) => 865app.Use(next => async (context) =>
Microsoft.AspNetCore.Http.Abstractions (9)
Extensions\MapExtensions.cs (1)
70return app.Use(next => new MapMiddleware(next, options).Invoke);
Extensions\MapWhenExtensions.cs (1)
40return app.Use(next => new MapWhenMiddleware(next, options).Invoke);
Extensions\RunExtensions.cs (1)
23app.Use(_ => handler);
Extensions\UseExtensions.cs (2)
31return app.Use(next => 50return app.Use(next => context => middleware(context, next));
Extensions\UseMiddlewareExtensions.cs (2)
64return app.Use(interfaceBinder.CreateMiddleware); 99return app.Use(reflectionBinder.CreateMiddleware);
Extensions\UsePathBaseExtensions.cs (1)
35return app.Use(next =>
Extensions\UseWhenExtensions.cs (1)
34return app.Use(main =>
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
UsePathBaseExtensionsTests.cs (1)
44return _wrappedBuilder.Use(middleware);
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
73.Use(middleware);
Microsoft.AspNetCore.Owin (1)
OwinExtensions.cs (1)
60builder.Use(middleware1);
Microsoft.AspNetCore.Rewrite (1)
RewriteBuilderExtensions.cs (1)
50return app.Use(next =>
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Startup.cs (1)
82app.Use(next =>
Microsoft.AspNetCore.StaticFiles (1)
StaticFilesEndpointRouteBuilderExtensions.cs (1)
186app.Use(next => context =>
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
60app.Use(next => context =>
Microsoft.AspNetCore.StaticFiles.Tests (6)
DefaultFilesMiddlewareTests.cs (2)
90app.Use(next => context => 133app.Use(next => context =>
DirectoryBrowserMiddlewareTests.cs (2)
107app.Use(next => context => 148app.Use(next => context =>
StaticFileMiddlewareTests.cs (2)
422app.Use(next => context => 448app.Use(next => context =>
MiddlewareAnalysisSample (1)
Startup.cs (1)
43app.Use(next =>
SampleStartups (1)
StartupFullControl.cs (1)
38app.Use(next => context =>