16 implementations of ApplicationName
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Tests (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
Microsoft.AspNetCore.Hosting (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)
109 references to ApplicationName
Aspire.Hosting (4)
Aspire.Hosting.Tests (4)
Aspire.Playground.Tests (4)
CreateDefaultBuilderApp (1)
CreateDefaultBuilderOfTApp (1)
IStartupInjectionAssemblyName (1)
Microsoft.AspNetCore (5)
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 (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.StaticAssets (3)
Microsoft.AspNetCore.Tests (31)
WebApplicationTests.cs (31)
746Assert.Equal(nameof(WebApplicationTests), webApplication.Environment.ApplicationName);
808Assert.Equal(nameof(WebApplicationTests), context.HostingEnvironment.ApplicationName);
814Assert.Equal(nameof(WebApplicationTests), builder.Environment.ApplicationName);
857Assert.Equal(nameof(WebApplicationTests), context.HostingEnvironment.ApplicationName);
863Assert.Equal(nameof(WebApplicationTests), builder.Environment.ApplicationName);
903Assert.Equal(nameof(WebApplicationTests), context.HostingEnvironment.ApplicationName);
909Assert.Equal(nameof(WebApplicationTests), builder.Environment.ApplicationName);
934Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
938Assert.Equal(assemblyName, builder.Environment.ApplicationName);
941Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
946Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
953Assert.Equal(assemblyName, hostEnv.ApplicationName);
954Assert.Equal(assemblyName, webHostEnv.ApplicationName);
976Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
980Assert.Equal(assemblyName, builder.Environment.ApplicationName);
983Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
988Assert.Equal(assemblyName, context.HostingEnvironment.ApplicationName);
995Assert.Equal(assemblyName, hostEnv.ApplicationName);
996Assert.Equal(assemblyName, webHostEnv.ApplicationName);
1482Assert.Equal(env0.ApplicationName, env1.ApplicationName);
2258Assert.Equal(builder.Environment.ApplicationName, hostEnv.ApplicationName);
2262Assert.Equal(webHostEnv.ApplicationName, hostEnv.ApplicationName);
2266Assert.NotEqual(nameof(WebApplicationTests), hostEnv.ApplicationName);
2288Assert.Equal(builder.Environment.ApplicationName, hostEnv.ApplicationName);
2292Assert.Equal(webHostEnv.ApplicationName, hostEnv.ApplicationName);
2296Assert.Equal(typeof(WebApplicationOptions).Assembly.FullName, hostEnv.ApplicationName);
Microsoft.Extensions.AmbientMetadata.Application (1)
Microsoft.Extensions.AmbientMetadata.Application.Tests (2)
Microsoft.Extensions.Hosting (3)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Telemetry.Tests (2)
StartRequestDelegateUrlApp (1)
StartRouteBuilderUrlApp (1)
StartWithIApplicationBuilderUrlApp (1)