Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do i publish my asp.net project to my local iis?

I've been looking and I've seen a few how-tos but I find them to be somewhat confusing.

Does anyone have a good tutorial or step by step writeup that's easy to follow for a newbie

like image 510
Crash893 Avatar asked Aug 24 '09 17:08

Crash893


People also ask

How do I publish my website locally to IIS?

In IIS, right-click the Default Web Site, choose Deploy > Configure Web Deploy Publishing. If you don't see the Deploy menu, see the preceding section to verify that Web Deploy is running. In the Configure Web Deploy Publishing dialog box, examine the settings. Click Setup.

How do I publish a Visual Studio project locally?

Right-click on the project (not the solution) in Solution Explorer and select Publish. In the Publish tab, select Publish. Visual Studio writes the files that comprise your application to the local file system.


1 Answers

In Visual Studio, go on project properties > tab web and check "Use Local IIS Web Server". Then, it will ask you to if you want to create the virtual directory, answer yes and vouala...you create a IIS virtual directory, when you run your application, they will run on IIS.

like image 180
Tiago Schäffer Avatar answered Sep 20 '22 19:09

Tiago Schäffer