Autorisation and Authentication for users in a ASP.net web api
I am quite new to .net web api’s. I now have an simple web api but I want to log in with an user from the MySQL database and with that you can access certain endpoints to get your information. But how would I achieve this? I looked online for tutorials and I couldn’t find one that explained everything. I saw the new introduction with .NET 8 but also the JWT identificater. Where can I find best practices, good examples and an clear explanation?
Autorisation for users in a ASP.net web api
net web api’s. I now have an simple web api but I want to log in with an user from the MySQL database and with that you can access certain endpoints to get your information. But how would I achieve this? I looked online for tutorials and I couldn’t find one that explained everything. I saw the new introduction with .NET 8 but also the JWT identificater. Where can I find best practices, good examples and an clear explanation?