ASP.NET CORE Web API - JWT Authentication (Refresh Token + Role Based + Entity Framework ) | Swagger

preview_player
Показать описание

This video explains complete feature of .NET CORE Web API with Authentication

Below Topics are covered
===========================
1, Create Web API using .NET CORE
2, ADD Entity Framework
3, Implement JWT Authentication
1, Refresh Token
2, Role Based Authentication
4, Implement Swagger for API
5, Enable CORS
6, Deployment in IIS Server
7, Test Web API in Postman

GitHub URL - Source
=================

GitHub URL - DB Script
===================
Рекомендации по теме
Комментарии
Автор

Great explanation! Thank you for sharing!

lrl
Автор

Great Explanation!!! and Need DB scripts

AniAnil-wftx
Автор

Creating new refreshtoken for first time user:-
= EntityState.Added;
context.SaveChanges();

balakrishnan-gfrw
Автор

Thanks anna sp based sql next video poduga anna

meta
Автор

Can you please explain what is that folder that you are copying APIcore files into another folder and in last part of video in IIS server website configuration you select that new folder why and what is actually that folder I just created a new folder in my angular aplication folder and pasted it but I get error while hosting on port 84 as you showed?

InfinityBoyz_ShanCreations
Автор

Well explained. Need Db queries.Thanks

bhuvaneshharikrishnan
Автор

not clear explanation...16:11, what is IOption ? why we are using?

sureshl
Автор

Great video. Thanks. I generated a refresh token, however, my old token is still valid, if i pass that to a post request, I am able to get values. Anything explicitly we need to do to manually expire the old tokens?

Xpressk
Автор

Sir can I get to know how you have inserted values for usercred, bcz I am getting unauthorized everytime

pramodanachimath
Автор

I have created Usercontroller using controller with action And Entity framework, and it is not working so please give some guidence

basantkumarmandal
Автор

Hi, can I get the database queries for the tables.
And also I guess I don't have the version in which there is any Startup file.

divyapant
Автор

There is no startup.cs file in .net 6. How come you have in this video. please help how do I get startup.cs while creating the project

dilshadazam
Автор

How to pass dynamic roles in controller for eg you have passed admin role in the controller

jaypatadia
Автор

Hi sir when I am creating new user and login then it’s not saving refresh in table for new user.

AnandRaj-hqzv
Автор

My scaffold command is not valid. it gives me an error. how to fix that?

Scaffold-DbContext : A positional parameter cannot be found that accepts argument '-'.
At line:1 char:1
+ Scaffold-DbContext "Server=.\\mssqlserver01; Database=ProductAPI_JWT. ...
+
+ CategoryInfo : InvalidArgument: (:) [Scaffold-DbContext], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound, Scaffold-DbContext

this is the error i got

pathumlakshan
Автор

Hi, Can you create a whole Get, Post, Put, Delete with DataService + Controller with Models Dto & MapToDto All these topics in a single video. Thank you.

muhdkrd
Автор

Great Video! Can you Share DB Queries..

AyatSoft
Автор

Can you tell me the framework version in which the tutorial was made?

hamletmendez
Автор

InvalidOperationException: Unable to resolve service for type while attempting to activate

GovindSingh-emiy
Автор

thank you for sharing . But i see expiration time is not accurate, i see some time zone issue, how to fix that.

sunilshinde