19 references to Environment
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
370if (!_app.Environment.IsDevelopment())
BlazorUnitedApp (1)
Program.cs (1)
19if (!app.Environment.IsDevelopment())
BrowserTelemetry.Web (1)
Program.cs (1)
13if (!app.Environment.IsDevelopment())
Keycloak.Web (1)
Program.cs (1)
49if (!app.Environment.IsDevelopment())
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
746Assert.Equal(nameof(WebApplicationTests), webApplication.Environment.ApplicationName); 747Assert.Equal(Environments.Development, webApplication.Environment.EnvironmentName);
MvcFormSample (1)
Program.cs (1)
12if (!app.Environment.IsDevelopment())
MyFrontend (1)
Program.cs (1)
22if (!app.Environment.IsDevelopment())
OpenAIEndToEnd.WebStory (1)
Program.cs (1)
19if (!app.Environment.IsDevelopment())
OrleansServiceDefaults (1)
Extensions.cs (1)
100if (app.Environment.IsDevelopment())
Playground.ServiceDefaults (1)
Extensions.cs (1)
97if (app.Environment.IsDevelopment())
Sample (2)
Program.cs (2)
41if (app.Environment.IsDevelopment()) 52if (app.Environment.IsDevelopment())
Seq.ServiceDefaults (1)
Extensions.cs (1)
99if (app.Environment.IsDevelopment())
SignalRWeb (1)
Program.cs (1)
10if (!app.Environment.IsDevelopment())
TestingAppHost1.ServiceDefaults (1)
Extensions.cs (1)
106if (app.Environment.IsDevelopment())
TestShop.ServiceDefaults (1)
Extensions.cs (1)
96if (app.Environment.IsDevelopment())
WaitFor.Frontend (1)
Program.cs (1)
18if (!app.Environment.IsDevelopment())
WebPubSubWeb (1)
Program.cs (1)
17if (!app.Environment.IsDevelopment())