简体   繁体   中英

ASP.NET IIS change APP_DATA and Bin folders

Is there a way to tell ASP not to look for dlls in BIN folder?

ASP.NET automatically replace |DataDirectory| with a path ending with \\App_Data is there a way to change that?

I never searched so much with so meager results.

No, for both questions.

Both bin and |DataDirectory| are hard-wired in the ASP.NET runtime, there is no way to change it.

If you don't want to use \\App_Data , just don't use it and don't use DataDirectory either. Use your own data location and implement your own code to get to it.

There is simply no way around the bin directory.

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