IHostEnvironment.ApplicationName Property

Definition

Gets or sets the name of the application. This property is automatically set by the host to the assembly containing the application entry point.

C#
public string ApplicationName { get; set; }

Property Value

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)