Good day to all!
I'm using Visual Studio 2019 (Professional), also installed the following:
- Microsoft.AspNetCore.App 2.2.0
- Microsoft.AspNetCore.Identity 2.2.0
- Microsoft.AspNetCore.Identity.UI 2.2.0
for both localhost - SDK and in IIS server - Runtime & Hosting
in Localhost
• it can get through authentication,
and successfully routed to desired page
but in IIS server [meaning after Published]:
- The login page shows successfully
http://00.00.00.000/webapp02/Identity/Account/Login?ReturnUrl=%2Fwebapp02%2F
- but when i clicked the <Secure Login> Button
it's havin' HTTP ERROR 500 (00.00.00.000 is currently unable to handle this request.)
- I can't see any error in Chrome ( inspect ) either
i have 3 concern/questions if i may please:
- have you experience above scenario and have solution?
- is there a way to switch-off authentication
like remove [Authorize] in Controller or route directly to Main page
because in our case, there are users who don't need to login...
- if can't avoid login,
can I at least change it to Username instead as eMail,
because i'm working on a company and we are using Emp ID as our username.
thank you so much and more power to SmartAdmin team..