Back to Browse

ASP.NET Core 8 WEB API Authentication With JWT(JSON Web Token) | .NET 8 Tutorials | C# and Postman

16.4K views
Jun 12, 2024
14:05

Learn in this .NET 8 tutorial to authenticate an ASP .NET core 8 web API using create JWT(JSON Web Token) . The programming language used in the tutorial is C# and to test the web api postman has been used. The C# example uses two controllers. One is to generate the JWT API controller and the other API controller is provides a response based on successful or failed authentication. Download the source code: https://www.patreon.com/posts/106130599 If you want to learn more about asp.net web api then watch the below videos: https://www.youtube.com/watch?v=inmFKKw1bR8 https://www.youtube.com/watch?v=4w914HMVzlE https://www.youtube.com/watch?v=W0_GFp1hB5Y To know how to download and install .NET 8 refer the below video. https://www.youtube.com/watch?v=nXjPS1s1CjM How to download and install Visual Studio 2022: https://www.youtube.com/watch?v=IczUY73BaNw Table of Contents: 0:00 Intro 0:58 Create WEB API Project 2:52 Add Nuget Packages 3:53 Add Secret Key 4:55 Add JWT settings class 5:33 Add JWT Authentication 6:40 Add Authentication controller 9:42 Add Valuescontroller class 12:00 Test JWT token using Postman 13:34 Conclusion #visualstudio2022 #coding #webapi #csharpprogramming #aspnetcorewebapi #authentication

Download

1 formats

Video Formats

360pmp418.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

ASP.NET Core 8 WEB API Authentication With JWT(JSON Web Token) | .NET 8 Tutorials | C# and Postman | NatokHD