Introduction
In this article, I am going to discuss How to publish web applications in Internet Information Services(IIS) in detail with Examples.
Step 1. Right-click on the solution explorer in Visual Studio -> then click the Publish button.
Step 2. Click the Folder Tab -> choose a folder for your wish where you want to publish the files -> Finally, click the Publish button.
Step 3. Click the Settings Link.
Step 4. Click Settings Tab -> Expand file publish options.
Select the below Items.
- Delete all existing files prior to publishing.
- Precomplete during publishing.
Click the configure Link button -> In merge options, select “Do not merge. Create a separate assembly for each page and control” -> Click Ok button.
Finally, click the Save button on the Folder Profile Screen -> click the publish button on the Publish screen.
Step 4. Search “Internet Information Services(IIS) Manager” on the windows screen -> Expand “F2ws104(your Server Name)” -> Expand “Sites” -> Right-click on “Default Web Site” -> Click Add application.
Step 5. Alias application name(e.g. Test) -> Provide solution published path in the Physical path.
Click the select button on the above screen -> choose Application pool : (e.g. .NET v4.5 Classic) -> click Ok button.
Click the Ok button “add application” screen. Finally, create your Application Test.
Step 6. The final Application Path looks like this http://f2ws104/Test/TestForm.asp.
Path Explanation