简体   繁体   中英

How to make folder accessable through web (like “Content” folder)?

Is it possible to make folder (from solution) visible through web browser using Visual Studio 2013, ASP.Net MVC?

I want to create some kind of detached folder for some JS files that have to be accessable by URL.

Here's what worked for me:

  1. Right click->Add Folder
  2. Right click on the folder -> Add New Item
  3. HTML Page

I didn't have to do anything further for read-only access.

(In your case you'd probably want to Add Existing Item.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM