Question
I have created a ASP.NET Core 5.0 MVC application using environment as below:
- SQL Server 2019 for the database and Entity Framework.
- ASP.NET Core Identity for Authentication and Authorization.
- Visual Studio 2019
- IIS 10.0
These are the tables in my database that have the users and roles.
When I publish my application with Visual Studio 2019, I usually publish to a Folder and then push the files to my website folder on IIS 10. In IIS Manager, I was looking at the Authentication settings for my Site and these are the options.
If I use ASP.NET Core Identity for Authentication and Authorization, which of these settings do I need to Enable or Disable for my website?
Or
Is there some other Setting that I need to set on my website so I can use ASP.NET Core Identity?
Answer
Either ASP.NET Impersonation or Anonymous Authentication will work.