20 implementations of ApplicationName
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Tests (2)
Microsoft.AspNetCore.Components.Endpoints.Tests (6)
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.OpenApi.Tests (1)
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.Extensions.Hosting (1)
1 write to ApplicationName
Microsoft.AspNetCore.Hosting (1)
131 references to ApplicationName
Aspire.Hosting (7)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (4)
Aspire.Playground.Tests (4)
CreateDefaultBuilderApp (1)
CreateDefaultBuilderOfTApp (1)
IStartupInjectionAssemblyName (1)
Microsoft.AspNetCore (7)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Hosting (5)
Microsoft.AspNetCore.Hosting.Tests (7)
Microsoft.AspNetCore.Identity.UI (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Mvc.Localization (2)
Microsoft.AspNetCore.Mvc.Localization.Test (10)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
Microsoft.AspNetCore.Mvc.Razor.Test (1)
Microsoft.AspNetCore.Mvc.Test (2)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.StaticAssets (3)
Microsoft.AspNetCore.Tests (31)
WebApplicationTests.cs (31)
748Assert.Equal(nameof(WebApplicationTests), webApplication.Environment.ApplicationName);
810Assert.Equal(nameof(WebApplicationTests), context.HostingEnvironment.ApplicationName);
816Assert.Equal(nameof(WebApplicationTests), builder.Environment.ApplicationName);
859Assert.Equal(nameof(WebApplicationTests), context.HostingEnvironment.ApplicationName);
865Assert.Equal(nameof(WebApplicationTests), builder.Environment.ApplicationName);
905Assert.Equal(nameof(WebApplicationTests), context.HostingEnvironment.ApplicationName);
911Assert.Equal(nameof(WebApplicationTests), builder.Environment.ApplicationName);
936Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
940Assert.Equal(assemblyName, builder.Environment.ApplicationName);
943Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
948Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
955Assert.Equal(assemblyName, hostEnv.ApplicationName);
956Assert.Equal(assemblyName, webHostEnv.ApplicationName);
978Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
982Assert.Equal(assemblyName, builder.Environment.ApplicationName);
985Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
990Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
997Assert.Equal(assemblyName, hostEnv.ApplicationName);
998Assert.Equal(assemblyName, webHostEnv.ApplicationName);
1484Assert.Equal(env0.ApplicationName, env1.ApplicationName);
2260Assert.Equal(builder.Environment.ApplicationName, hostEnv.ApplicationName);
2264Assert.Equal(webHostEnv.ApplicationName, hostEnv.ApplicationName);
2268Assert.NotEqual(nameof(WebApplicationTests), hostEnv.ApplicationName);
2290Assert.Equal(builder.Environment.ApplicationName, hostEnv.ApplicationName);
2294Assert.Equal(webHostEnv.ApplicationName, hostEnv.ApplicationName);
2298Assert.Equal(typeof(WebApplicationOptions).Assembly.FullName, hostEnv.ApplicationName);
Microsoft.Extensions.AmbientMetadata.Application (1)
Microsoft.Extensions.AmbientMetadata.Application.Tests (2)
Microsoft.Extensions.Hosting (14)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Telemetry.Tests (2)
StartRequestDelegateUrlApp (1)
StartRouteBuilderUrlApp (1)
StartWithIApplicationBuilderUrlApp (1)
Stress.ApiService (1)