Base solution for your next web application
Open Closed

WebSiteRootAddress not showing up in host setting #2259


User avatar
0
trendline created

The WebSiteRootAddress not showing up for me in the host settings, I remember did some settings before, but after upgrade to v2.2.0 (aspnet core with host/mvc porject), I cannot see the setting page.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is moved to appsettings.json both for Host and MVC projects. <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/appsettings.json#L12">https://github.com/aspnetzero/aspnet-ze ... s.json#L12</a>

    It is mentioned as a Breaking Change in the release notes <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/releases/tag/v2.2.0">https://github.com/aspnetzero/aspnet-ze ... tag/v2.2.0</a>

  • User Avatar
    0
    trendline created

    Thanks for your clarification, configured in appsettings.json is convenient for Host website, furthermore, Host website and Mvc website both with different domains. But we need to change it again after publish to server.

  • User Avatar
    0
    ismcagdas created
    Support Team

    You are right, it must be configured after publish or you can exclude this file from published files.