问题描述:

I have implemented upload/delete Logo functionality in my MVC3/C# WebApp. Where would be the correct folder to store these? I am currently using "Uploads/Logos" off root. Now of course the folder permissions prevent me from deleting files which got me thinking as to whether this is the correct place. Perhaps it should be in the "Content" or "App_Data" folder ??

Thoughts appreciated?

Thanks.

网友答案:

If you are linking to the files directly, then you cannot place them in the App_Data folder as any request to an item in App_Data will be rejected.

相关阅读:
Top