abp icon indicating copy to clipboard operation
abp copied to clipboard

BlogFileOptions.FileUploadLocalFolder is null by default

Open 1d0n7kn0w opened this issue 6 years ago • 2 comments

ABP Framework version : 3.0.4 User Interface : MVC

I suggest to add this method : private void ConfigureBlogging(IWebHostEnvironment hostingEnvironment) { Configure<BlogFileOptions>(options => { options.FileUploadLocalFolder = Path.Combine(hostingEnvironment.WebRootPath, "files"); }); }

And call it in the ConfigureServices method when we add the module blogging because that's not trivial

1d0n7kn0w avatar Jul 22 '20 21:07 1d0n7kn0w

hi 1d0n7kn0w

I think use blob storing in blog module is better.

maliming avatar Jul 23 '20 05:07 maliming

Moved to https://github.com/abpframework/abp/issues/4879

hikalkan avatar Jul 25 '20 18:07 hikalkan