Share via


IWebHostEnvironment.WebRootFileProvider Property

Definition

Gets or sets an IFileProvider pointing at WebRootPath. This defaults to referencing files from the 'wwwroot' subfolder.

public:
 property Microsoft::Extensions::FileProviders::IFileProvider ^ WebRootFileProvider { Microsoft::Extensions::FileProviders::IFileProvider ^ get(); void set(Microsoft::Extensions::FileProviders::IFileProvider ^ value); };
public Microsoft.Extensions.FileProviders.IFileProvider WebRootFileProvider { get; set; }
member this.WebRootFileProvider : Microsoft.Extensions.FileProviders.IFileProvider with get, set
Public Property WebRootFileProvider As IFileProvider

Property Value

Applies to