Publish ASP.NET core web site to IIS

  

Scenario:

Publish ASP.NET core web site to IIS

Solution:

  •  Project -> Publish -> WebServer (IIS) -> Web Deploy
    • Server - localhost
    • Site name - mysite
    • Destination URL- http://localhost:8181
  • Edit Profile - > 
    • Target Framework - 
    • Configuration - > Debug (Any CPU)
  • Properties -> PublishProfiles -> [Profile].pubxml - Edit
    • LanuchSiteAfterPublish - False
  • IIS -> Add Website ->
    • Site Name - mysite
    • Physical path - C:\inetpub\mysite
    • port: 8181
  • VS -> Project -> Build -> Publish [stop site/app pool if any process already running error]

No comments:

Post a Comment

Move Github Sub Repository back to main repo

 -- delete .gitmodules git rm --cached MyProject/Core git commit -m 'Remove myproject_core submodule' rm -rf MyProject/Core git remo...