如何在未安装Visual Studio和Sql Server的另一台机器上部署Asp.Net Web应用程序 [英] How Do I Deploy Asp.Net Web Application On Another Machine Where Visual Studio And Sql Server Are Not Installed

查看:87
本文介绍了如何在未安装Visual Studio和Sql Server的另一台机器上部署Asp.Net Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iis上部署asp.net web应用程序,这是使用sql server数据库我想在Windows 8上安装Visual Studio和sql-server的另一台机器上部署这种应用程序,所以任何人都可以指导我同样的吗?请







提前致谢

i want to deploy asp.net web application on iis which is using sql server database i want deploy this kind of application from another machine on windows 8 where visual studio and sql-server are not installed,so can any one guide me for the same??please



Thanks in advance

推荐答案

是的,它太容易了......

Asp.net应用程序不依赖于Visual Studio或SQL Server。它取决于IIS。您可以将应用程序部署到配置了IIS的任何计算机上。



在另一部分中,您可以在另一台计算机上设置SQL数据库,并在Asp应用程序web.config文件中设置计算机IP(SQL HOST地址)。



请记住您的IIS机器和Sql Server机器通过LAN或Internet互连。
Yes, Its too easy ...
Asp.net Application does not depend on Visual Studio or SQL Server. Its Depend on IIS. You can Deploy your application to any machine which have IIS configured.

In another part you can setup your SQL Database on another machine and set the machine IP (SQL HOST Address) on your Asp application web.config file.

Please remember that your IIS machine and Sql Server machine interconnected by LAN or Internet.


如果您有ASPX和DLLS文件,那么您可以直接创建虚拟目录并轻松部署代码。或者



您可以通过多种发布机制来发布没有Visual Studio的网站,webdeploy也是一种很好的方法,Web Deploy(msdeploy) )简化Web应用程序和网站到IIS服务器的部署

见下面的链接

Web部署3.5:官方Microsoft IIS站点 [ ^ ]



但是如果你的代码使用数据库那么它应该出现在应用服务器上
If you have ASPX and DLLS files with you then you can directly make a virtual directory and deploy your code as easy. OR

There are a number of publishing mechanisms you can look into to publish your website without Visual Studio, webdeploy is also a good way to do it, Web Deploy (msdeploy) simplifies deployment of Web applications and Web sites to IIS servers
see below link
Web Deploy 3.5 : The Official Microsoft IIS Site[^]

But if your code uses database then it should be present on Application server


这篇关于如何在未安装Visual Studio和Sql Server的另一台机器上部署Asp.Net Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆