This post explains how to Publish And Deploy Asp.Net Web Site Application On IIS7 Server.
Open Application in Visual Studio, Click on Build > Publish Web Site.
Browse to where you want to save published DLLs,Files and other aspx pages. (TestWebSite)
Copy TestWebSite folder inside C:\inetpub/wwwroot directory.
Click on Start Menu > Run > INETMGR to open IIS manager.
Click on sites > Default Web Site.
Right Click on folder we copied and Select Convert To Application.
Create new pool by right clicking on Application pools.
Here also you can change .NET Framework which is you are using
Go to Advance settings
Open Application in Visual Studio, Click on Build > Publish Web Site.
Browse to where you want to save published DLLs,Files and other aspx pages. (TestWebSite)
Copy TestWebSite folder inside C:\inetpub/wwwroot directory.
Click on Start Menu > Run > INETMGR to open IIS manager.
Click on sites > Default Web Site.
Right Click on folder we copied and Select Convert To Application.
Create new pool by right clicking on Application pools.
Here also you can change .NET Framework which is you are using
Go to Advance settings
Change Identity property to Local System.
Right Click On TestWebSite Application > Manage Application > Advance Settings.
Assign Application Pool we created earlier to this web App.
Open Internet browser and type http://localhost/testwebsite to browse your website application.
No comments:
Post a Comment