اقرأ باللغة الإنجليزية

مشاركة عبر


IWebHostEnvironment.WebRootFileProvider Property

Definition

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

C#
public Microsoft.Extensions.FileProviders.IFileProvider WebRootFileProvider { get; set; }

Property Value

Applies to

منتج الإصدارات
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0