简体   繁体   中英

C# MVC to IIS windows server 2008

我目前在本地IIS中有一个发布项目,该项目是Windows 8,并且已经在运行,但是我的问题是我需要将其转移到Windows Server 2008的VM中。如果需要安装Visual Studio,我需要一些指导或建议。在VM上很好地进行发布,或者有没有简单的方法可以将发布文件从本地复制到VM Windows Server 2008。

You can publish from your project from local machine visual studio to remote server(in your case VM) if you have access to that server.

Alternatively manually publishing web project is just compiling in release mode with all dependencies & putting code in some IIS site/virtual directory with required Application pool settings.

Microsoft has very comprehensive documentation:

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/

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