如何在IIS中部署我的asp.net项目?

时间:2021-12-11 03:34:09

I have windows 2003 server , and a asp.net project developed in VS2008 developer edition

我有Windows 2003服务器,以及在VS2008开发人员版中开发的asp.net项目

how to deploy this website in the server?

如何在服务器中部署此网站?

4 个解决方案

#1


Would it not be easier to just use the Publish Website option in Visual Studio? Its under the Build Menu.

在Visual Studio中使用“发布网站”选项会不容易?它在Build菜单下。

Ensure you have installed IIS and you can copy via Visual Studio all the relevant files associated with your site.

确保已安装IIS,并且可以通过Visual Studio复制与您的站点关联的所有相关文件。

James.

#2


Use Windows Installer XML (WIX) as it is highly configurable and very similar to the new setup projects in Visual Studio 2010.

使用Windows Installer XML(WIX),因为它是高度可配置的,与Visual Studio 2010中的新安装项目非常相似。

#3


Copy all the files into a folder on the server. Right click the folder and go into Sharing ans Security. Click the tab Web sharing and Share the folder. Choose which web site to add the project to. That should work I think. You can now open IIS and see if your site is in there. Access it using the URL in there.

将所有文件复制到服务器上的文件夹中。右键单击该文件夹,然后进入Sharing ans Security。单击选项卡Web共享和共享文件夹。选择要将项目添加到的网站。我觉得这应该有效。您现在可以打开IIS并查看您的站点是否在那里。使用其中的URL访问它。

#4


Create a web setup and deployment package. Especially if you have used something like Crsytal Reports that has complicated dependencies.

创建Web设置和部署包。特别是如果您使用了具有复杂依赖性的Crsytal Reports之类的东西。

#1


Would it not be easier to just use the Publish Website option in Visual Studio? Its under the Build Menu.

在Visual Studio中使用“发布网站”选项会不容易?它在Build菜单下。

Ensure you have installed IIS and you can copy via Visual Studio all the relevant files associated with your site.

确保已安装IIS,并且可以通过Visual Studio复制与您的站点关联的所有相关文件。

James.

#2


Use Windows Installer XML (WIX) as it is highly configurable and very similar to the new setup projects in Visual Studio 2010.

使用Windows Installer XML(WIX),因为它是高度可配置的,与Visual Studio 2010中的新安装项目非常相似。

#3


Copy all the files into a folder on the server. Right click the folder and go into Sharing ans Security. Click the tab Web sharing and Share the folder. Choose which web site to add the project to. That should work I think. You can now open IIS and see if your site is in there. Access it using the URL in there.

将所有文件复制到服务器上的文件夹中。右键单击该文件夹,然后进入Sharing ans Security。单击选项卡Web共享和共享文件夹。选择要将项目添加到的网站。我觉得这应该有效。您现在可以打开IIS并查看您的站点是否在那里。使用其中的URL访问它。

#4


Create a web setup and deployment package. Especially if you have used something like Crsytal Reports that has complicated dependencies.

创建Web设置和部署包。特别是如果您使用了具有复杂依赖性的Crsytal Reports之类的东西。