简体   繁体   English

在本地主机上运行asp.net应用

[英]Running asp.net app on localhost

This might be a 'duh' question after all. 毕竟这可能是一个“ duh”问题。

Are there any caveats running an asp.net (3.5) application on a local host? 是否有在本地主机上运行asp.net(3.5)应用程序的警告? Assuming I have all the required services installed, I am looking for pitfalls/ troubles in terms of 假设我已经安装了所有必需的服务,那么我正在寻找以下方面的陷阱/麻烦

  • database access 数据库访问
  • reporting/ charting and other such features 报告/图表和其他此类功能
  • performance 性能

The main reason for this is that the app I am developing will be eventually hosted on a proper web server but till then I want to be able to use my app from a browser (for test, demos...). 这样做的主要原因是,我正在开发的应用程序最终将托管在适当的Web服务器上,但在此之前,我希望能够通过浏览器使用我的应用程序(用于测试,演示...)。

[Note: till the time the app is hosted on a web server, only I will be using the app] [注意:直到将应用程序托管在Web服务器上之前,只有我会使用该应用程序]

As long as you install all the same components (and the same versions of them to be 100% sure) on your computer as you have available on the server, there shouldn't be any difference at all in functionality. 只要您在服务器上安装了与服务器上所有可用的组件相同的组件(并确保它们具有相同的版本,即可100%保证),则功能上应该没有任何区别。 One thing to watch out for is that the app will certainly be less responsive when someone accesses it over the internet, compared to the client and server being the same machine. 需要注意的一件事是,与客户端和服务器是同一台机器相比,当有人通过Internet访问该应用程序时,其响应速度肯定会降低。

You won't have any problems at all, this is how many people indeed test. 您根本不会有任何问题,这确实是有多少人在测试。 When you are ready to move it online, just make sure the host supports everything you need. 当您准备好将其在线迁移时,只需确保主机支持您需要的一切。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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