194 references to Build
ApiGateway (1)
Program.cs (1)
8var app = builder.Build();
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
169_app = builder.Build(); 274_app = builder.Build();
Aspire.Dashboard.Tests (1)
Integration\DashboardClientAuthTests.cs (1)
83var serverApp = serverAppBuilder.Build();
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
118_app = builder.Build();
AzureContainerApps.ApiService (1)
Program.cs (1)
17var app = builder.Build();
AzureFunctionsEndToEnd.ApiService (1)
Program.cs (1)
22var app = builder.Build();
AzureSearch.ApiService (1)
Program.cs (1)
17var app = builder.Build();
AzureStorageEndToEnd.ApiService (1)
Program.cs (1)
14var app = builder.Build();
BasketService (1)
Program.cs (1)
13var app = builder.Build();
BicepSample.ApiService (1)
Program.cs (1)
26var app = builder.Build();
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
50var app = builder.Build();
BlazorUnitedApp (1)
Program.cs (1)
16var app = builder.Build();
BrowserTelemetry.Web (1)
Program.cs (1)
10var app = builder.Build();
CatalogDb (1)
Program.cs (1)
16var app = builder.Build();
CatalogService (1)
Program.cs (1)
13var app = builder.Build();
CdkSample.ApiService (1)
Program.cs (1)
34var app = builder.Build();
CookieSample (1)
Program.cs (1)
35var app = builder.Build();
CosmosEndToEnd.ApiService (1)
Program.cs (1)
17var app = builder.Build();
DaprServiceA (1)
Program.cs (1)
18var app = builder.Build();
DaprServiceB (1)
Program.cs (1)
17var app = builder.Build();
DatabaseMigration.ApiService (1)
Program.cs (1)
18var app = builder.Build();
Elasticsearch.ApiService (1)
Program.cs (1)
13var app = builder.Build();
EventHubsApi (1)
Program.cs (1)
13var app = builder.Build();
Frontend (1)
Program.cs (1)
30var app = builder.Build();
GetDocumentSample (1)
Program.cs (1)
15var app = builder.Build();
IdentitySample.ApiEndpoints (1)
Program.cs (1)
22var app = builder.Build();
Keycloak.ApiService (1)
Program.cs (1)
18var app = builder.Build();
Keycloak.Web (1)
Program.cs (1)
47var app = builder.Build();
Microsoft.AspNetCore (5)
ConfigureHostBuilder.cs (1)
14/// Use <see cref="WebApplicationBuilder.Build"/> to build the <see cref="WebApplicationBuilder"/>.
ConfigureWebHostBuilder.cs (1)
14/// Use <see cref="WebApplicationBuilder.Build"/> to build the <see cref="WebApplicationBuilder"/>.
WebApplication.cs (1)
96new WebApplicationBuilder(new() { Args = args }).Build();
WebApplicationBuilder.cs (2)
356/// To build after configuration, call <see cref="Build"/>. 362/// To build after configuration, call <see cref="Build"/>.
Microsoft.AspNetCore.Authentication.Test (2)
AuthenticationMiddlewareTests.cs (2)
167await using var app = builder.Build(); 189await using var app = builder.Build();
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationMiddlewareTests.cs (1)
983using var app = builder.Build();
Microsoft.AspNetCore.Diagnostics.Tests (6)
ExceptionHandlerTest.cs (4)
780await using var app = builder.Build(); 831await using var app = builder.Build(); 886await using var app = builder.Build(); 937await using var app = builder.Build();
StatusCodeMiddlewareTest.cs (2)
252await using var app = builder.Build(); 288await using var app = builder.Build();
Microsoft.AspNetCore.FunctionalTests (1)
WebApplicationFunctionalTests.cs (1)
125await using var app = builder.Build();
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
UsePathBaseExtensionsTests.cs (3)
146await using var app = builder.Build(); 171await using var app = builder.Build(); 193await using var app = builder.Build();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
HttpResponseJsonExtensionsTests.cs (2)
494await using var app = builder.Build(); 527await using var app = builder.Build();
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
1296var app = builder.Build();
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
AntiforgeryMiddlewareTest.cs (6)
29await using var app = builder.Build(); 61await using var app = builder.Build(); 75await using var app = builder.Build(); 102await using var app = builder.Build(); 145await using var app = builder.Build(); 177await using var app = builder.Build();
Microsoft.AspNetCore.Rewrite.Tests (6)
MiddlewareTests.cs (6)
849await using var app = builder.Build(); 888await using var app = builder.Build(); 924await using var app = builder.Build(); 961await using var app = builder.Build(); 998await using var app = builder.Build(); 1034await using var app = builder.Build();
Microsoft.AspNetCore.StaticAssets.Tests (9)
StaticAssetsIntegrationTests.cs (9)
49var app = builder.Build(); 99var app = builder.Build(); 151var app = builder.Build(); 202var app = builder.Build(); 259var app = builder.Build(); 316var app = builder.Build(); 371var app = builder.Build(); 424var app = builder.Build(); 607var app = builder.Build();
Microsoft.AspNetCore.Tests (83)
WebApplicationTests.cs (83)
166await using var app = builder.Build(); 181await using var app = builder.Build(); 202await using var app = builder.Build(); 221await using var app = builder.Build(); 240await using var app = builder.Build(); 260await using var app = builder.Build(); 280await using var app = builder.Build(); 295await using var app = builder.Build(); 353await using var app = builder.Build(); 364await using var app = builder.Build(); 702var webApplication = createBuilder(options).Build(); 727var webApplication = CreateEmptyBuilderOptions(options).Build(); 744var webApplication = createBuilder(options).Build(); 760var webApplication = createBuilder(options).Build(); 775var webApplication = CreateEmptyBuilderOptions(options).Build(); 949var app = builder.Build(); 991var app = builder.Build(); 1059var app = builder.Build(); 1104var app = builder.Build(); 1155await using var app = builder.Build(); 1206await using var app = builder.Build(); 1250await using var app = builder.Build(); 1277await using var app = builder.Build(); 1303await using var app = builder.Build(); 1333await using var app = builder.Build(); 1360await using var app = builder.Build(); 1392var app = builder.Build(); 1409var app = builder.Build(); 1431var app = builder.Build(); 1443await using var app = builder.Build(); 1476var app = builder.Build(); 1506await using var app = builder.Build(); 1538await using var app = builder.Build(); 1556var app = builder.Build(); 1577await using var app = builder.Build(); 1616await using var app = builder.Build(); 1648var app = builder.Build(); 1667await using var app = builder.Build(); 1689await using var app = builder.Build(); 1715await using var app = builder.Build(); 1760await using var app = builder.Build(); 1794Assert.ThrowsAny<Exception>(() => builder.Build()); 1807Assert.NotNull(builder.Build()); 1815await using var app = builder.Build(); 1860await using var app = builder.Build(); 1887await using var app = builder.Build(); 1923await using var app = builder.Build(); 1950await using var app = builder.Build(); 2016await using var app = builder.Build(); 2029await using var app = builder.Build(); 2052await using var app = builder.Build(); 2081await using var app = builder.Build(); 2099await using var app = builder.Build(); 2109await using var app = builder.Build(); 2124await using var app = builder.Build(); 2135await using var app = builder.Build(); 2160await using var app = builder.Build(); 2204using var app = builder.Build(); 2228using var app = builder.Build(); 2254var app = builder.Build(); 2284var app = builder.Build(); 2312var app = builder.Build(); 2326var app = builder.Build(); 2344var app = builder.Build(); 2358using var app = builder.Build(); 2373using var app = builder.Build(); 2389var app = builder.Build(); 2400await using var app = builder.Build(); 2443await using var app = builder.Build(); 2483await using var app = builder.Build(); 2531var app = builder.Build(); 2541var app = builder.Build(); 2567var app = builder.Build(); 2593var app = builder.Build(); 2620var app = builder.Build(); 2650var app = builder.Build(); 2683var app = builder.Build(); 2714var app = builder.Build(); 2737await using var app = builder.Build(); 2763await using var app = builder.Build(); 2780var app = builder.Build(); 2802await using var app = builder.Build(); 2822await using var app = builder.Build();
MilvusPlayground.ApiService (1)
Program.cs (1)
13var app = builder.Build();
MinimalFormSample (1)
Program.cs (1)
12var app = builder.Build();
MinimalJwtBearerSample (1)
Program.cs (1)
20var app = builder.Build();
MinimalOpenIdConnectSample (1)
Program.cs (1)
13var app = builder.Build();
MinimalSample (1)
Program.cs (1)
10var app = builder.Build();
Mongo.ApiService (1)
Program.cs (1)
13var app = builder.Build();
MvcFormSample (1)
Program.cs (1)
9var app = builder.Build();
MyFrontend (1)
Program.cs (1)
20var app = builder.Build();
MySql.ApiService (1)
Program.cs (1)
19var app = builder.Build();
Nats.ApiService (1)
Program.cs (1)
23var app = builder.Build();
Nats.Backend (1)
Program.cs (1)
16var app = builder.Build();
OpenAIEndToEnd.WebStory (1)
Program.cs (1)
16var app = builder.Build();
OracleEndToEnd.ApiService (1)
Program.cs (1)
13var app = builder.Build();
OrleansClient (1)
Program.cs (1)
9var app = builder.Build();
OrleansServer (1)
Program.cs (1)
10var app = builder.Build();
OutputCachingSample (1)
Startup.cs (1)
18var app = builder.Build();
ParameterEndToEnd.ApiService (1)
Program.cs (1)
14var app = builder.Build();
PostgresEndToEnd.ApiService (1)
Program.cs (1)
24var app = builder.Build();
ProxylessEndToEnd.ApiService (1)
Program.cs (1)
12var app = builder.Build();
Qdrant.ApiService (1)
Program.cs (1)
14var app = builder.Build();
RateLimitingSample (1)
Program.cs (1)
48var app = builder.Build();
Redis.ApiService (1)
Program.cs (1)
13var app = builder.Build();
Sample (1)
Program.cs (1)
37var app = builder.Build();
Seq.ApiService (1)
Program.cs (1)
11var app = builder.Build();
SignalRWeb (1)
Program.cs (1)
7var app = builder.Build();
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
13var app = builder.Build();
SqlServerEndToEnd.ApiService (1)
Program.cs (1)
14var app = builder.Build();
SqlServerEndToEnd.DbSetup (1)
Program.cs (1)
10using var app = builder.Build();
Stress.ApiService (1)
Program.cs (1)
21var app = builder.Build();
TestingAppHost1.MyWebApp (1)
Program.cs (1)
13var app = builder.Build();
TestProject.IntegrationServiceA (1)
Program.cs (1)
29var app = builder.Build();
TestProject.ServiceA (1)
Program.cs (1)
8var app = builder.Build();
TestProject.ServiceB (1)
Program.cs (1)
5var app = builder.Build();
TestProject.ServiceC (1)
Program.cs (1)
5var app = builder.Build();
WaitFor.Frontend (1)
Program.cs (1)
15var app = builder.Build();
WaitForSandbox.ApiService (1)
Program.cs (1)
13var app = builder.Build();
WaitForSandbox.DbSetup (1)
Program.cs (1)
8using var app = builder.Build();
WebPubSubWeb (1)
Program.cs (1)
14var app = builder.Build();
WebTransportInteractiveSampleApp (1)
Program.cs (1)
39var app = builder.Build();
WebTransportSampleApp (1)
Program.cs (1)
22var host = builder.Build();