[英]How to host and deploy an ASP.NET web application on a local server
I have created a small web application with one page only. 我创建了一个只有一页的小型Web应用程序。 Now I want to host and deploy this application on one of our business's server so that anyone can access this small app.
现在,我想将此应用程序托管并部署到我们业务的一台服务器上,以便任何人都可以访问此小型应用程序。
Could please anyone tell me what will be the process as I don't have any previous knowledge or experience of doing this also, what changes I do need to make in my web config and the IIS configuration. 可以请任何人告诉我,该过程将是什么,因为我以前也没有这样做的知识或经验,我需要在Web配置和IIS配置中进行哪些更改。
Kind Regards 亲切的问候
Firstly: Install IIS on the server that you want to host your application on 首先:在要托管应用程序的服务器上安装IIS
Secondly: Setup the site in iis 其次: 在iis中设置站点
Thirdly: If you have a database connection in your app check that the connection string is updated 第三:如果您的应用中有数据库连接,请检查连接字符串是否已更新
Fourthly: Make sure that the relevant port in the firewall is not blocked 第四:确保防火墙中的相关端口未被阻塞
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.