Because there are two websites, I have to pay double the price on Azure. Additionally, I have to worry about DNS subdomains. I going to try to merge the two, but I was curious about why it was implemented this way?
4 Answer(s)
-
0
I think more is to split the function. Of course you can try to merge them.
-
0
One thing I am noticing is that if the user is not logged in, it always redirects to the login page. This will not work if I want to merge the public website, because I still want users who are not logged in to see the Home page. How do I disable the automatic redirection to the login page?
-
0
You can modify the logic of
HomeController
as needed.https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/Controllers/HomeController.cs#L48
-
0
Thank you!