SpaStaticFilesOptions.RootPath 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置物理文件所在的目录相对于应用程序根目录的路径。
如果指定的目录不存在,则 UseSpaStaticFiles(IApplicationBuilder) 中间件不会提供任何静态文件。
public:
property System::String ^ RootPath { System::String ^ get(); void set(System::String ^ value); };
public string RootPath { get; set; }
member this.RootPath : string with get, set
Public Property RootPath As String