ASP.NET,步骤部署网站 [英] ASP.NET, steps to deploy a website

查看:96
本文介绍了ASP.NET,步骤部署网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我继承了一个ASP.NET网站看管。

I have recently inherited an ASP.NET website to look after.

我把所有的文件的副本,但是从PHP背景的,我不知道如何进行修改和部署。

I have a copy of all the files but coming from a PHP background I am not sure how to make changes and deploy it.

在我更改了网站,我presume我需要编译它。但我只要简单的把网站复制到服务器或者我需要创建一个安装程序包和安装过来了生产系统的顶部?

After I make changes to the site I presume I need to compile it. But can I then simply copy the site onto the server or do I need to create a setup package and 'install' it over the top of the production system?

此外,在什么地方code-背后DLL文件系统坐?

Also, where does the code-behind DLL 'sit' in the file system?

有一个体面的指南,这种东西?

Is there a decent guide to this kind of stuff?

推荐答案

进行修改,并与您的本地副本测试它们之后(我假设你知道如何做到这一点),点击复制网站按钮该解决方案资源管理器的顶部。这可让您连接到远程服务器(您的生产中,presumably),将网站的本地版本进行比较的一个服务器上,而标志已在本地修改的文件。然后,您可以更新服务器版本,使之与当地的版本相匹配。

After making changes and testing them with your local copy (I'm assuming you know how to do that), click the "Copy Web Site" button at the top of the solution explorer. This lets you connect to a remote server (your production box, presumably) and will compare your local version of the web site to the one on the server, and flag any files that have been changed locally. You can then update the server version so that it matches your local version.

如果您要部署Web应用程序已编译的DLL(而不是作为未编译CS文件),该DLL应该位于应用程序的\\ bin文件夹。即使是编译的DLL,您还需要部署ASPX文件。

If you're deploying the web app as a compiled DLL (instead of as uncompiled CS files), the DLL should sit in the application's \bin folder. Even with a compiled DLL, you still need to deploy the ASPX files.

这篇关于ASP.NET,步骤部署网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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