Implemented interface member:
method
Build
Microsoft.AspNetCore.Builder.IApplicationBuilder.Build()
52 references to Build
Microsoft.AspNetCore (1)
WebApplication.cs (1)
207internal RequestDelegate BuildRequestDelegate() => ApplicationBuilder.Build();
Microsoft.AspNetCore.Antiforgery.Test (1)
AntiforgeryApplicationBuilderExtensionsTest.cs (1)
27var app = builder.Build();
Microsoft.AspNetCore.Authorization.Test (2)
AuthorizationAppBuilderExtensionsTests.cs (1)
25var appFunc = app.Build();
AuthorizationMiddlewareTests.cs (1)
303var app = appBuilder.Build();
Microsoft.AspNetCore.Http.Abstractions.Tests (28)
MapPathMiddlewareTests.cs (7)
39var noMiddleware = new ApplicationBuilder(serviceProvider: null!).Build(); 59var app = builder.Build(); 89var app = builder.Build(); 117var app = builder.Build(); 148var app = builder.Build(); 170var app = builder.Build(); 188var app = builder.Build();
MapPredicateMiddlewareTests.cs (5)
49var noMiddleware = new ApplicationBuilder(serviceProvider: null!).Build(); 65var app = builder.Build(); 77var app = builder.Build(); 90var app = builder.Build(); 106var app = builder.Build();
UseExtensionsTests.cs (2)
39await builder.Build().Invoke(context); 73var ex = await Assert.ThrowsAsync<Exception>(() => builder.Build().Invoke(context));
UseMiddlewareTest.cs (11)
125var app = builder.Build(); 139var app = builder.Build(); 153var exception = Assert.Throws<InvalidOperationException>(builder.Build); 164var app = builder.Build(); 176var app = builder.Build(); 187var app = builder.Build(); 198var app = builder.Build(); 208var exception = Assert.Throws<NotSupportedException>(() => builder.Build()); 226var app = builder.Build(); 243var app = builder.Build(); 266var app = builder.Build();
UseWhenExtensionsTests.cs (3)
45await parent.Build().Invoke(context); 73await parent.Build().Invoke(context); 96await parent.Build().Invoke(context);
Microsoft.AspNetCore.Http.Tests (6)
ApplicationBuilderTests.cs (6)
17var app = builder.Build(); 29var app = builder.Build(); 54var app = builder.Build(); 87var app = builder.Build(); 118var app = builder.Build(); 136var app = builder.Build();
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingServicesExtensionsTests.cs (1)
60var app = appBuilder.Build();
Microsoft.AspNetCore.Owin (1)
OwinExtensions.cs (1)
116return builder.Build();
Microsoft.AspNetCore.Owin.Tests (1)
OwinExtensionTests.cs (1)
141await builder.Build().Invoke(context);
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingApplicationBuilderExtensionsTests.cs (2)
59var app = appBuilder.Build(); 76var app = appBuilder.Build();
Microsoft.AspNetCore.Routing.Tests (9)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (6)
65var appFunc = app.Build(); 97var appFunc = app.Build(); 161var appFunc = app.Build(); 206var requestDelegate = app.Build(); 271var requestDelegate = app.Build(); 317var requestDelegate = app.Build();
Builder\RoutingBuilderExtensionsTest.cs (2)
85var appFunc = app.Build(); 113var appFunc = app.Build();
EndpointRoutingMiddlewareTest.cs (1)
417var requestDelegate = applicationBuilder.Build();