SharedOptionsBase.FileProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The file system used to locate resources
public:
property Microsoft::Extensions::FileProviders::IFileProvider ^ FileProvider { Microsoft::Extensions::FileProviders::IFileProvider ^ get(); void set(Microsoft::Extensions::FileProviders::IFileProvider ^ value); };
public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get; set; }
public Microsoft.Extensions.FileProviders.IFileProvider? FileProvider { get; set; }
member this.FileProvider : Microsoft.Extensions.FileProviders.IFileProvider with get, set
Public Property FileProvider As IFileProvider
Property Value
Remarks
Files are served from the path specified in WebRootPath or WebRootFileProvider which defaults to the 'wwwroot' subfolder.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for