huanjian9999

强者总是寻找成功的机会,弱者寻找千条失败的理由.....
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.

posted on 2009-07-15 23:30  huanjian9999  阅读(93)  评论(0编辑  收藏  举报