Introduction
In today's article, you will learn how to deploy a MVC Website onto IIS and then monitor it.
Step 1
First of all you need to run your Visual Studio as Administrator otherwise your Website will not be deployed to IIS.
Now open your MVC Application.
In the Solution Explorer right-click on the project choose to "Publish" this Website.
Step 2
Now the Publish Website Wizard will be opened, here click on the Drop Down button and click on "New Profile".
Now you need to provide the Name for this New Profile.
Step 3
After providing the name click on the Next Button, this will take you to the Connection Page.
On the Connection Page provide the Server and Site Name and then click on the Validate Connection.
Then click on the "Next" button again. This will take you to the Settings Page, here simply click on the "Next" button.
Step 4
In the next page first click on the "Preview" button then click on the "Publish" button, this will publish your website.
If your website is successfully published then you will get the Output Results like this:
Step 5
Now open your IIS Manager, in the IIS Manager you will find an option named Worker Processes under the IIS, double-click on this button.
In the Worker Process you will find the Profile name of your Website in running condition. Select your Website's Profile name and click on the "View Current request" under the Action Pane.
Now this will show you the Request for this Worker Process, but right now my worker process doesn't have any request so it's showing the request=0.