DEV Community

Malvik Bhavsar
Malvik Bhavsar

Posted on

3

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.

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!

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay