5 implementations of New
Microsoft.AspNetCore (1)
WebApplication.cs (1)
211IApplicationBuilder IApplicationBuilder.New()
Microsoft.AspNetCore.Http (1)
Builder\ApplicationBuilder.cs (1)
155public IApplicationBuilder New()
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
MapPathMiddlewareTests.cs (1)
262public IApplicationBuilder New() => this;
UsePathBaseExtensionsTests.cs (1)
56public IApplicationBuilder New() => _wrappedBuilder.New();
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
57public IApplicationBuilder New()
25 references to New
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\shared\WebSockets\TestStartup.cs (1)
30var innerAppBuilder = app.New();
Microsoft.AspNetCore (1)
WebApplication.cs (1)
230IApplicationBuilder IEndpointRouteBuilder.CreateApplicationBuilder() => ((IApplicationBuilder)this).New();
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
138return _applicationBuilder.New();
Microsoft.AspNetCore.Diagnostics (3)
ExceptionHandler\ExceptionHandlerExtensions.cs (1)
81var subAppBuilder = app.New();
src\Shared\Reroute.cs (1)
18var builder = app.New();
StatusCodePage\StatusCodePagesExtensions.cs (1)
128var builder = app.New();
Microsoft.AspNetCore.Http.Abstractions (4)
Extensions\MapExtensions.cs (1)
60var branchBuilder = app.New();
Extensions\MapWhenExtensions.cs (1)
30var branchBuilder = app.New();
Extensions\UseWhenExtensions.cs (1)
31var branchBuilder = app.New();
src\Shared\Reroute.cs (1)
18var builder = app.New();
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
UsePathBaseExtensionsTests.cs (1)
56public IApplicationBuilder New() => _wrappedBuilder.New();
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
480public IApplicationBuilder CreateApplicationBuilder() => ApplicationBuilder.New();
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
480public IApplicationBuilder CreateApplicationBuilder() => ApplicationBuilder.New();
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
59return new AnalysisBuilder(InnerBuilder.New());
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
1625public IApplicationBuilder CreateApplicationBuilder() => ApplicationBuilder.New();
Microsoft.AspNetCore.Mvc.Core (2)
Filters\MiddlewareFilterBuilder.cs (1)
50var nestedAppBuilder = ApplicationBuilder.New();
Filters\MiddlewareFilterBuilderStartupFilter.cs (1)
19middlewarePipelineBuilder.ApplicationBuilder = builder.New();
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
177public IApplicationBuilder CreateApplicationBuilder() => ApplicationBuilder.New();
Microsoft.AspNetCore.Rewrite (1)
src\Shared\Reroute.cs (1)
18var builder = app.New();
Microsoft.AspNetCore.Routing (3)
DefaultEndpointRouteBuilder.cs (1)
18public IApplicationBuilder CreateApplicationBuilder() => ApplicationBuilder.New();
RequestDelegateRouteBuilderExtensions.cs (2)
49var nested = builder.ApplicationBuilder.New(); 292var nested = builder.ApplicationBuilder.New();
Microsoft.AspNetCore.Routing.Tests (1)
RequestDelegateRouteBuilderExtensionsTest.cs (1)
145.Setup(b => b.New().Build())
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
167var newApp = (app as IApplicationBuilder).New(); 1967var newBuilder = ((IApplicationBuilder)app).New();