❔ AspNetCore web MVC app - Authentication
I would like to implement some authentication to my web app. I would like to make it "proper" and not too complex.
All I need would be Username, Password, Session. The app would be for internal use, so no additional functionalities like forgot pass or email confirmation will be needed.
Do you have any tutorial/guide/recommendation I could follow?
Thanks!
8 Replies
https://learn.microsoft.com/en-us/aspnet/core/security/?view=aspnetcore-7.0 is a good starting point
ASP.NET Core security topics
Provides links to articles on authentication, authorization, and security in ASP.NET Core.
Introduction to Identity on ASP.NET Core
Use Identity with an ASP.NET Core app. Learn how to set password requirements (RequireDigit, RequiredLength, RequiredUniqueChars, and more).
Identity is probably way overkill, but is still probably worth trying, just to see how all the pieces can fit together
in ASP.NET Core, the docs tou definitely need to give a read, regardless of how you end up implementing this are....
Overview of ASP.NET Core Authentication
Learn about authentication in ASP.NET Core.
Introduction to authorization in ASP.NET Core
Learn the basics of authorization and how authorization works in ASP.NET Core apps.
also a decent resource: https://andrewlock.net/tag/auth/
Andrew Lock | .NET Escapades
Auth
Yes, identity is way overkill. I also thought about using the VS MVC with identity template and then remove all the unneeded stuff, but I think it woul be better to implement it from ground up
Will check those urls, thanks!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.