Deploy ASP.Net Website on IIS in Our Local Machine

Introduction

First open your ASP.Net web application in Visual Studio.

Now in the top we have the option Build. Click on that and under Build you will find Publish Website.

Click on Publish Website. Now open the publish web pop-up.

For Publish me…


This content originally appeared on DEV Community and was authored by Malvik Bhavsar

Introduction

First open your ASP.Net web application in Visual Studio.

Now in the top we have the option Build. Click on that and under Build you will find Publish Website.

Alt Text

Click on Publish Website. Now open the publish web pop-up.

For Publish method select File System.

For Target location specify where to save your web application DLL file.

Alt Text

click on publish

Then click on publish.

Go to the target folder and in that location, you will see your web application DLL file.

Alt Text

Now open IIS manager. (Type inetmgr in the Run command.)

Right-click on Default Application and Add Application.

Alt Text

Enter Alias name then select an Application pool and Physical path.

Physical path

Now Double-click on default document.

Alt Text

And add a start page of your web application. Here my application start page is EstimationSlip.aspx.

Alt Text

Now right-click on your application and browse.

Alt Text

See your application without Visual Studio.

Alt Text

Enjoy!


This content originally appeared on DEV Community and was authored by Malvik Bhavsar


Print Share Comment Cite Upload Translate Updates
APA

Malvik Bhavsar | Sciencx (2021-09-13T16:15:29+00:00) Deploy ASP.Net Website on IIS in Our Local Machine. Retrieved from https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/

MLA
" » Deploy ASP.Net Website on IIS in Our Local Machine." Malvik Bhavsar | Sciencx - Monday September 13, 2021, https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/
HARVARD
Malvik Bhavsar | Sciencx Monday September 13, 2021 » Deploy ASP.Net Website on IIS in Our Local Machine., viewed ,<https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/>
VANCOUVER
Malvik Bhavsar | Sciencx - » Deploy ASP.Net Website on IIS in Our Local Machine. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/
CHICAGO
" » Deploy ASP.Net Website on IIS in Our Local Machine." Malvik Bhavsar | Sciencx - Accessed . https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/
IEEE
" » Deploy ASP.Net Website on IIS in Our Local Machine." Malvik Bhavsar | Sciencx [Online]. Available: https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/. [Accessed: ]
rf:citation
» Deploy ASP.Net Website on IIS in Our Local Machine | Malvik Bhavsar | Sciencx | https://www.scien.cx/2021/09/13/deploy-asp-net-website-on-iis-in-our-local-machine/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.