14 September 2011

.net interview questions : Publishing Website

Contributed by: Saravana Kumar

How to publish website in asp.net?

To publish a Web site

On the Build menu, click Publish Web Site.

In the Publish Web Site dialog box, click the ellipsis button (…) to browse to the location to which you want to publish the Web site.

You can write the Web site output to a local or shared folder, to an FTP site, or to a Web site that you access with a URL. You must have Create and Write permissions in the target location.

To be able to change the layout (but not the code) of .aspx files after publishing the Web site, select the Allow this precompiled site to be updateable check box.

To name strongly named assemblies using a key file or a key container, select the Enable strong naming on precompiled assemblies check box, and then click OK.

Publishing status is displayed in the taskbar. Depending on the connection speed, the size of the site and the types of content files, publishing time can vary. When publishing is completed, the status of Publish succeeded is displayed.

Index page asp .net interview questions click here

No comments:

Post a Comment