1 implementation of ApplicationName
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEnvironment.cs (1)
17
public string?
ApplicationName
{ get; set; }
1 write to ApplicationName
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEnvironmentExtensions.cs (1)
22
hostingEnvironment.
ApplicationName
= options.ApplicationName;
2 references to ApplicationName
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostBuilderTests.cs (2)
737
Assert.Equal(typeof(Startup).Assembly.GetName().Name, hostingEnv2.
ApplicationName
);
755
Assert.Equal(typeof(StartupNoServicesNoInterface).Assembly.GetName().Name, hostingEnv2.
ApplicationName
);