Securing ASP.Net WebAPI REST Services using an API Key and MessageHandlers

  Рет қаралды 51,311

Jon Jensen

Jon Jensen

Күн бұрын

Пікірлер: 79
@valmirfilho2194
@valmirfilho2194 4 жыл бұрын
After 3 years ur video still is being helpful... Thanks
@telejonjensen
@telejonjensen 4 жыл бұрын
Glad to hear that
@rogerlayton4316
@rogerlayton4316 6 жыл бұрын
Best introduction to REST API security I have found. Simple and effective. Well done.
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Roger, Thanks and thanks for watching! Jon
@jaskiratsingh8426
@jaskiratsingh8426 6 жыл бұрын
oh man, this is the first video through which i actually understood the concept , simple yet effective .
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Jaskirat, I'm glad it helped. Thanks for watching! Jon
@ravindranraghu
@ravindranraghu 6 жыл бұрын
You were the first person that made me understand , thanks a ton
@PiyushSingh-mt2tb
@PiyushSingh-mt2tb 2 жыл бұрын
You're beard is so big, I could actually hear it! Thanks a lot for the video!
@ahmadmeithaluny2551
@ahmadmeithaluny2551 3 жыл бұрын
Thanks Jon you're best teacher .
@thisfkinguy8426
@thisfkinguy8426 6 жыл бұрын
This is a great video and exactly what I was looking for! so many other resources have too much extra stuff, this boils it down to the basics and makes it easy to understand! thank you so much!
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Allan, My pleasure! Thanks for watching! Jon
@flashteq1030
@flashteq1030 4 жыл бұрын
Awesome and most simplified explanation
@fkbase
@fkbase Жыл бұрын
Very good, just what I needed, thank you.
@Shazbot277
@Shazbot277 4 жыл бұрын
Thanks this helped me out in 2021, simple and easy to use, included it in a MVC website.
@telejonjensen
@telejonjensen 4 жыл бұрын
Thanks for watching!
@imperialdynamics5346
@imperialdynamics5346 4 жыл бұрын
Hi from Greece. Can someone explain to me why this excellent video also has downvotes?!. Easy-to-follow and short, what more could anyone ask for? THANK YOU.
@ScottGammans
@ScottGammans 7 жыл бұрын
Jon, these videos have been invaluable, coming from a traditional SOAP web services background like I do. Thank you!
@telejonjensen
@telejonjensen 7 жыл бұрын
Hi, Thanks for watching! I'm glad they are useful. Jon
@derekemanuel1967
@derekemanuel1967 6 жыл бұрын
Man I loved your video because you showed me how to pass in the token using Restlet Client!
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Derek, Great! Thanks for watching! Jon
@alvinmacklee6303
@alvinmacklee6303 6 жыл бұрын
Very simple, effective and straight forward tutorial..
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Alvin, Thanks for watching! Jon
@liviosolinas4064
@liviosolinas4064 3 жыл бұрын
Many Thanks for your sharing, really very useful!
@하현지-h8l
@하현지-h8l 4 жыл бұрын
This video is very helpful. many thanks.
@xr280xr
@xr280xr 5 жыл бұрын
Good start, thanks! Next need to know how to issue and manage API tokens.
@jamiedewitz6832
@jamiedewitz6832 3 жыл бұрын
I'd love to know the same. I'm trying to build a site that will use the API key to get a token back and utilize the token to consume multiple APIs. Any luck finding anything that helped?
@AddictedSoulsMusic
@AddictedSoulsMusic 6 жыл бұрын
Such a cool video. Been looking for this on Udemy to no avail. Much appreciated sir! (from South Africa)
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi, Thanks for watching! Jon
@ashiqrifai
@ashiqrifai 5 жыл бұрын
you are awsome! every step to the point! Great !
@marty501
@marty501 5 жыл бұрын
Very well explained! Thank you.
@telejonjensen
@telejonjensen 5 жыл бұрын
Hi, You are welcome. Thanks! Jon
@philipvandenheever2084
@philipvandenheever2084 7 жыл бұрын
Thanks, as always Jon. You mentioned doing a more advanced security overview (possibly using the Azure AD?). It would be extremely useful.
@telejonjensen
@telejonjensen 7 жыл бұрын
Hi Philip, I will prepare something around that and OAuth. Thanks for watching! Jon
@prassecrets
@prassecrets 3 жыл бұрын
perfect and very simple. thanks mate.
@rafaeljonathancamiloveraro4199
@rafaeljonathancamiloveraro4199 2 жыл бұрын
Hi. For someone super dump like me. How I can do the last part from 13:57 on .NET 6.0? Shall I create a class Global.asax? Or shall I do it directly in Program.cs? Sorry for the noob question.
@juandiminico435
@juandiminico435 2 жыл бұрын
awesome video, thanks
@Nikku_b
@Nikku_b 5 жыл бұрын
Very Useful video, Thanks :)
@telejonjensen
@telejonjensen 5 жыл бұрын
Hi, Thanks for watching! Jon
@romeljohnmonsanto9072
@romeljohnmonsanto9072 4 жыл бұрын
This helps me, Thanks Jon!
@vivek.tiwary
@vivek.tiwary 6 жыл бұрын
Very well explained, Please make video on oauth 2 and oidc.
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Vivek, Will do - thanks for watching! Jon
@mfiebs12
@mfiebs12 6 жыл бұрын
Thanks! This was really helpful!
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Michael, Thanks for watching! Jon
@MoctarAbeidi
@MoctarAbeidi 6 жыл бұрын
Great! Thank you for this video!
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Moctar, You are welcome, thanks for watching! Jon
@georgyajaeeya1561
@georgyajaeeya1561 8 жыл бұрын
Thank you for this Part, I wonder if you could post something about authorization filters
@intcoder
@intcoder 6 жыл бұрын
Great explanation!!.
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi, Thanks for watching! Jon
@basitnisar1045
@basitnisar1045 3 жыл бұрын
thanks SIr..... but 1 question can we decorate our method with [APIKey]???
@charliexgun2063
@charliexgun2063 3 жыл бұрын
Can this go with swagger? how would the parameters be? Thanks
@mushuagayev4388
@mushuagayev4388 5 жыл бұрын
You very good Teacher. You may download your simple in git hub. and past link. It shall be very goodness for us. Thank You Jon.
@khodanimulisha6465
@khodanimulisha6465 4 жыл бұрын
Great staff :)
@hussamalshammari4705
@hussamalshammari4705 8 жыл бұрын
we are waiting more video on security :)
@bosszagame
@bosszagame 7 жыл бұрын
Thanks, You can use APIKey on URL ,example localhost/testAPI/api/member&APIKey=1234 ? without DCH rest client
@dipeshnewyug7583
@dipeshnewyug7583 4 жыл бұрын
Video is awesome , I tried it done but how i can pass the header from my jS . Itested my work in postman its done but how can i get it done from javascript call api using APIkey
@telejonjensen
@telejonjensen 4 жыл бұрын
Hi Dipesh, I'll work up some examples of calling the REST service directly using JavaScript. Thanks for the question! Jon
@acostajuanguillermo
@acostajuanguillermo 6 жыл бұрын
Nice video Mr Jensen, very helpful. How do you get to run Windows so smoothly on OSx?
@telejonjensen
@telejonjensen 6 жыл бұрын
Hi Juan, I am using Parallels. Thanks for watching! Jon
@shellphil5439
@shellphil5439 7 жыл бұрын
Great! Just what I wanted. Could you make a video how we can make this more advance? :D
@t.m.1593
@t.m.1593 4 жыл бұрын
Where does the WebApiConfig come from?
@telejonjensen
@telejonjensen 4 жыл бұрын
Hi, When you create and ASP.Net WebAPI Application that should be there. Thanks for watching. Jon
@kamel7897
@kamel7897 7 жыл бұрын
I'm working with .Net core APi and i can't finf Global.asax
@telejonjensen
@telejonjensen 7 жыл бұрын
Hi Youssef, Core doesn't have a global.asax. What are you trying to do that you would need that? If I understand that I should be able to help. I do have a few ASP.Net Core 2.0 videos out here: kzbin.info?o=U&video_id=7WjwseHTZsI Thanks for watching! Jon
@kamel7897
@kamel7897 7 жыл бұрын
i'm working on a web api .net core and i want to add an apikey like you did. thank you!
@kamel7897
@kamel7897 7 жыл бұрын
how can i convert : GlobalConfiguration.Configuration.MessageHandlers.Add(new APIKeyMessageHandler()); from Global.Asax to Startup.cs
@kamel7897
@kamel7897 7 жыл бұрын
i used : config.MessageHandlers.Add(new APIKeyMessageHandlers()); But still no working !
@telejonjensen
@telejonjensen 7 жыл бұрын
Hi Youssef, I've got a solution for this. I'll be posting a video in the next few days. You need to configure middleware to handle this which is how .Net Core handles what was WebAPI Message Handlers and Modules. Jon
@kaveenmadusanka8461
@kaveenmadusanka8461 4 жыл бұрын
Thank you
@telejonjensen
@telejonjensen 4 жыл бұрын
You're welcome
@hemaabuhamza3695
@hemaabuhamza3695 5 жыл бұрын
Thhhhhhhhanks alot
@khan1593
@khan1593 4 жыл бұрын
Error 1 'NPRWS.MessageHandlers.APIkeyMessageHandler.SendAsync(System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken)': return type must be 'System.Threading.Tasks.Task' to match overridden member I'm getting this :(
@wernhsp772
@wernhsp772 7 жыл бұрын
Is this possible in VB.Net code?
@telejonjensen
@telejonjensen 7 жыл бұрын
Hi, Yes this can all be done in VB.Net. Jon
@CAPS_AMERICA
@CAPS_AMERICA 4 жыл бұрын
Your tutorial is awesome,. MICROSOFT SUCKS for implementing so many confusing ways to implement authentication/authorization by introducing thousands of confusing classes that then become obsolete for each new release of .net framework! You implement an authentication, then it won't work with a new version of framework or you have to change the code to replace deprecated classes! Microsoft, I hope your company gets bankrupt!!!!! Whoever is in charge of these so many confusing releases of core and framework should be fed to the Nile crocodiles in Africa!
iOS Swift Calling GET on Azure REST Web Service
18:29
Jon Jensen
Рет қаралды 5 М.
Implementing API Key Authentication in ASP.NET Core
17:57
Nick Chapsas
Рет қаралды 79 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Secure a .NET Core API with Bearer Authentication
1:06:56
Les Jackson
Рет қаралды 191 М.
How To Implement API Key Authentication In ASP.NET Core
17:13
Milan Jovanović
Рет қаралды 36 М.
The symptoms of bad code - Robert C. Martin (Uncle Bob)
5:42
Dev Tools Made Simple
Рет қаралды 32 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 357 М.
Secure ASP.NET Web API using API Key Authentication
15:29
Learning Programming
Рет қаралды 22 М.
Intro to WebAPI - One of the most powerful project types in C#
1:15:21
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН