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)
-
0
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>
-
0
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.
-
0
You are right, it must be configured after publish or you can exclude this file from published files.