English 中文(简体)
生产/试验环境容易的问题
原标题:Production/Test Environment easy question

我在一个网站上工作,在制作过程中,只有牛肉档案和双 director和档案。 任何机构都知道如何部署这一网站,我通常都有我的网站,我也提交了该守则。

我的问题 2. 我如何在同一服务器上建立一个测试网站? 我已经建立了测试数据库。

任何建议都将受到赞赏。

最佳回答

只部署视力演播室的收听器文档和双倍件内容,使用菜单“建筑”和“ Publish”; 检查箱,以“在这一预先设计的场地进行更新”。

这使得你能够稍微改变手头(特别是超文本)的档案,而不必重整和重新调配网络应用。 你们可以在网络服务器上改变主食。

为了在同一个网站服务器上建立一个测试网站,你只能把整个网站复制成一个新的文件夹,并在全球导航卫星系统国际系统中设置虚拟目录。

问题回答

您可以汇编成册,将其汇编成只包含所需档案而不是编码的产出夹。

http://msdn.microsoft.com/en-us/library/ms178477.aspx” rel=“nofollow noretinger”>。

当你配置了综合数据系统时,将源代码和双亲文件抄送在配置中指定的文件夹。 如果你愿意的话,你可以制作多种检测复制件——仅使用两套不同的文件,每个文件都有一份单独的复印件。

当然,这是你们都需要部署的,而且你可以从同样的档案()中抽出一个试验场,没有特别硬编码或依赖。 然而,如果源代码中有任何硬配置,则你需要源代码,或能够使该代码偏离正本,以获得源代码并修改其和变本。

典型的情况是,我们用同样的档案进行生产和测试,其中不包括“来源代码”,如任何编码背后的文件,当然也不包括正常来源代码。 联系网会议,我们在协会之间分享。 NET and WinForms and other . NET应用软件。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签