How to Publish Website in ASP.Net 4.0

How to Publish Website in ASP.Net, publish website in visual studio 2013, publish website in c#, how to publish website iis, how to publish mvc application on iis


This article discus the steps of publishing website in Visual Studio 2010( 4.0). We are assuming that you already created your web application project and ready to upload it on the Window server. In this example we have taken sample web project shown in the diagram:

publish website in 4.0
Step 1: Open the solution explorer (Hot keys Ctrl + Alt + L) , Solution explorer will open as above figure.

Step 2: Right click on the  presentation layer .

Step 3: Then property window will open of the solutions explorer as given below in the figure.

Publish website in 4.0

Step 4: Click on the publish property of property window.

Step 5: Publish web window will open as shown in the picture below:

publish web window

Step 6:  In Publish Web window there are publish methods listed in drop down.

Step 7:  Then you can choose your nearest selection and then click on publish button. If you want to publish website on local system then select File System method and then choose the location where to publish the website. Then click on Publish button.

Step 8:  Now you have successfully published your website.

Suggested Reading


Anjan kant

Outstanding journey in Microsoft Technologies (ASP.Net, C#, SQL Programming, WPF, Silverlight, WCF etc.), client side technologies AngularJS, KnockoutJS, Javascript, Ajax Calls, Json and Hybrid apps etc. I love to devote free time in writing, blogging, social networking and adventurous life

Post A Comment: