IHostEnvironment.ContentRootPath Property

Definition

Gets or sets the absolute path to the directory that contains the application content files.

C#
public string ContentRootPath { get; set; }

Property Value

Applies to

Produk Versi
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)