简体   繁体   中英

Can we run a website without hosting it on web server/IIS?

I wanted to know whether I can run my website locally without hosting it on the web server/IIS?

I mean I have created a website in VS 2010 which runs when I click on run button in vs. I have hosted the application on the localhost.

But if I try to run the application by going to the application folder and click on the very first html/homescreen, will it respond the way it does when I click on the run in vs2010.

I want to run my app locally without the IIS OR ANY webserver, so that I can give a demo like a prototype on a machine that does not contain IIS.

What if my app contains some ajax calls?Can it run without hosting on the web server?

The short answer is no. IIS is available on most flavours of windows and is quick and easy to both setup and remove. No reason not to do it compared to any possible alternative.

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