if I changed the redirect in the HomeController, then i can get the login page
public IActionResult Index() { if (_webHostEnvironment.IsDevelopment()) { return RedirectToAction("Index", "Ui"); }
//return Redirect("/index.html"); // this line has issue
return RedirectToAction("Index", "Ui");
}
hi,
There is not log in the application log, that is why i can't figure it out what is going on. When i open http://localhost:8080, i got a 404 error. Not sure what login page you are refering to? Laurie
Hi,
We have recently downloaded the ASP.NET Zero source (ASP.NET CORE & Angular) as separate solutions.
We can run the Api (Web.Host) without issue via our IDE (Visual Studio) but when we follow the steps to publish to IIS (https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS) we are getting a HTTP Error 404 when we browse to the Api URL (e.g. http://localhost:[port]).
We can manually amend the Api URL (e.g. http://localhost:[port]/swagger/index.html) and see the Api endpoints but we are not prompted to login/authenticate.
Do you have any suggestions on what we are missing/doing wrong? Let us know if you need any screenshots, etc.
Thanks in advance.
Laurie
Hi,
We have recently downloaded the ASP.NET Zero source (ASP.NET CORE & Angular) as separate solutions.
We can run the Api (Web.Host) without issue via our IDE (Visual Studio) but when we follow the steps to publish to IIS (https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS) we are getting a HTTP Error 404 when we browse to the Api URL (e.g. http://localhost:[port]).
We can manually amend the Api URL (e.g. http://localhost:[port]/swagger/index.html) and see the Api endpoints but we are not prompted to login/authenticate.
Do you have any suggestions on what we are missing/doing wrong? Let us know if you need any screenshots, etc.
Thanks in advance.
Laurie