1 write to ApplicationName
Microsoft.AspNetCore.Hosting (1)
Internal\WebHostOptions.cs (1)
20
ApplicationName
= environment?.ApplicationName ?? GetConfig(WebHostDefaults.ApplicationKey) ?? Assembly.GetEntryAssembly()?.GetName().Name ?? string.Empty;
5 references to ApplicationName
Microsoft.AspNetCore.Hosting (3)
Internal\HostingEnvironmentExtensions.cs (2)
22
hostingEnvironment.ApplicationName = options.
ApplicationName
;
73
hostingEnvironment.ApplicationName = baseEnvironment?.ApplicationName ?? options.
ApplicationName
;
Internal\WebHostOptions.cs (1)
33
HostingStartupAssemblies = Split(
ApplicationName
, GetConfig(WebHostDefaults.HostingStartupAssembliesKey));
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostBuilderTests.cs (1)
34
Assert.Equal("MyStartupAssembly", options.
ApplicationName
);
WebHostConfigurationsTests.cs (1)
28
Assert.Equal("MyProjectReference", config.
ApplicationName
);