简体   繁体   中英

What is the difference between creating a virtual directory, and publishing an application in IIS?

I understand that we can host an application in IIS using a virtual directory.And also we can host an application in IIS by using the publishing option in vs. Is there any difference between using a virtual directory and using the publishing option?

Thanks for your answers.

A virtual directory is more a like a windows shortcut to the real directory of the main app. Just like you can have many shortcuts with different names, same goes for virtual directories more like an abstraction layer..

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