Some Question About ASP.NET

Question:What is the difference between copying and publishing a Web application?When should you use what?

Answer:Copying the Website copies all files required to run the Web application. Visual Studio 2005 has a dialog for a bi-directional copy.Newer files from the target server can be copyied locally.If the source code should not be copied to the target Web server,precompiling allows creting assemblies, and then you can copy just the assemblies to the target Web server.

 

Question:When is using a Setup program preferred compared copying a site?

Answer:Copying the site requires that the virtual directory on the target server is already created. With a setup program it is possible to create the virtual directory on IIS during setup. Also, if assemblies should be installed in the GAC, or COM objects are needed is not solved by coping files. Here it is required to create a setup program.

 

Question:What must be done before a Website can be published?

Answer:A virtual directory must be created.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值