Setting up ApiKey-based Authentication | ASP.NET Core 5 REST API Tutorial 24

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

Hello everybody I'm Nick and today I will show you how you can set up ApiKey-based authentication in your ASP.NET Core 3 or 2.2 Api. This is not a REST API specific thing and you can do it across any ASP.NET Core project. We will follow the very simple approach of using a custom attribute for this.

Don't forget to comment, like and subscribe :)

Social Media:

#tutorial #rest #api
Рекомендации по теме
Комментарии
Автор

I really liked this video. It was not an hour long with a meandering dialog. It was concise and to the point. Also, mad props for not using some black box nonsense to obscure what was actually needed to get the task accomplished. IMHO: Sometimes installed packages take coders too far away from the actual code. Nick brings us right to the point and back. He does not paste large swaths of code in that make us have to disassemble it line by line. He types it in and talks about it while doing it, without going off the rails or speaking simply to add content of no contextual value!

If you are coming back to re-review:
Coding starts @ 01:44 The video before this has value but if you have watched it already you may not want to see it again.

cyberjetx
Автор

Burdens are lifted at Calvary, and some with videos like this one. You've just made my day. Thank you.

jmahachi
Автор

Thank you for this incredibly useful tutorial. The other API Key tutorials I have read are overly complex and very disjointed. This was clear and concise. It allowed me to build the filter I needed to make sure my app was secure.

jonathancilley
Автор

Thank you for the video- very clear, simple, and to the point!

sbcook
Автор

Once again you hit it out of the park, great, simple explanation, keep it up your videos are invaluable!

markharwood
Автор

Useful, simple and straight to the point. Couldn't be better.

GonzaloRMDT
Автор

Very simple but elegant solution. Thanks.

TheSuperJairus
Автор

Yoo better later or never im so glad i found ur channel :)

traphouse
Автор

This was a great help. Just became one of your sponsors :) .

OpTechMarketing
Автор

This was great! Remember to store those api keys as an environment variable for production. :)

rossthemusicandguitarteacher
Автор

Thanks this was exactly what i was looking for. Simple and straight to the point!

LlamaNL
Автор

Thank you, Nick. It's very helpful!

nidhisht
Автор

Thanks for this video man!! Learned alot . Greetings from portugal! :)

stunna
Автор

I love that Copilot suggests this exact code now

feelingeverfine
Автор

Simple and straightforward, for sure. Thanks!

flywheel
Автор

Five Stars. Great video. Super easy to follow.

chrismcclure
Автор

Thank you, exactly what I was after. Simple clean solution

craigclark
Автор

Clear as posible you deserve a kiss jaja, Thankyou men!

lilHoodRD
Автор

Thanks a lot! i was trying to find the simplest way and i couldn't till now

marlb_oro
Автор

I really like this. But it would be great to hear more discussion about how secure this really is. And, also, how to call an API this way from code.

responsibleparty
join shbcf.ru