Authentication by NET CORE 5 Middleware by JWT. Pay attention that JWT is only one method for AU, other method is (Basic Auth, API Key, Digest Auth, OAuth 2.0, Hawk Authentication, AWS Signature and Bearer Token - current method). And of course, NET CORE Middleware is only one way to create JWT token, there are a lot of alternative way is, for example Regenerate tocken, Identity server and so on. This project uses Custom attribute for marked what methods in controller have to protected. This is very common method in NET, you can see more in this page: This project included example of NET CORE WebApi controller and NET CORE Services. This project included AES symmetric encryption function (as NET CORE Service). This project included full workable and configured connection to Linux MySQL server, I don't use trash Microsoft connector to MySQL, I use Pomelo.EntityFrameworkCore.MySql. You can see in project how to configure it. My project don't need real connection to MySQL and can be started without database. To activate database need to uncomment a couple of string and fill connection string to real MySQL Server. I don't like (for security reason) store password to MySQL connection in appsettings.json, I masked it by AES key, and AES encryption key has been stored in code in masked form. You can see in project two way how to access to appsettings.json. Project configured to use custom port, because port 5000 usually need to frontend. You can see how to setup custom logger to each service or controller. Project contains configured SwaggerUI, this is usually mandatory service for any Backend API. Project contains Entity Framework Core, fully configured, you can expand it by simple way - need to include your own DbSet in ApplicationDbContext Project use Extension Function of EF NET CORE to mapping data from MySQL to POCO class, you can see how to do it. Project contains example of Action and and Lambda expression in VB, at common my site contains dozens of various example of Extension and Lambda expression in VB.NET, you can see how to do it: Project included instruction about testing API, no need to use Postman for testing REST API, I use light and more useful Mozilla Addon https://addons.mozilla.org/en-US/firefox/addon/restclient/ This is project definition file with list of packages I use. 1: 2: 3: net5.0 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |