Тёмный
No video :(

Basic Authentication in Dotnet API 

ScriptBytes
Подписаться 2,2 тыс.
Просмотров 4,4 тыс.
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@T.N.T.15
@T.N.T.15 8 месяцев назад
first 45 seconds and this guy already has a better video than most people out there on basic authentication. why is that so? Thank you so much. you do an awesome job with the necessary info upfront and than examples. I will be passing your videos around to colleges
@scriptbytes
@scriptbytes 8 месяцев назад
It's comments like this that make me keep wanting to post videos. Thank you so much, I appreciate that!
@T.N.T.15
@T.N.T.15 8 месяцев назад
@@scriptbytes im glad. ill probably be following up more on your videos. I have 4 years of experience but its just a breathe of everything that is happening in .NET land. Thanks for making this video. It saved my butt in terms of fast onboarding and understanding of basic auth. On top of it all the github repo was very easy to follow and going out of your way to demo was God Sent. Thank you so much
@IanSneddon
@IanSneddon 5 месяцев назад
Can't thank you enough. Finally an easy video on basic auth on my .NET 8 API, got it all up and working, and even makes my swagger work nicely.
@scriptbytes
@scriptbytes 5 месяцев назад
I’m glad it helped!
@isabelabianca4032
@isabelabianca4032 Месяц назад
Thank you very much! You helped me a lot and your explanation is amazing.
@scriptbytes
@scriptbytes Месяц назад
You are welcome!
@alexander5052
@alexander5052 7 месяцев назад
after 47 seconds I got a lot more useful information compare to few hours on udemy... Thank you!!!
@scriptbytes
@scriptbytes 7 месяцев назад
Hey I appreciate that, I'm glad it was useful!
@thomasyuen8833
@thomasyuen8833 2 месяца назад
Thank you very much for this video!!!!! I need it so bad and i just cannot find the right one until i saw yours!!!
@eser-sahin
@eser-sahin 9 месяцев назад
A very nice channel, simple and clear explanations. I just discovered it. Thank you for the videos.
@scriptbytes
@scriptbytes 9 месяцев назад
Thanks for that, I appreciate it. Thanks for watching!
@pututik
@pututik 9 месяцев назад
singkat, jelas, padat, mantap 👍
@JorgeBenavidesQ
@JorgeBenavidesQ 15 дней назад
Hi, thank you. Just one question, I'm getting 403
@nestormartinez9259
@nestormartinez9259 Месяц назад
Great, by the way I watched that you can implement authorization through middlewares. Is this an old approach or it is more about your preferences ?
@scriptbytes
@scriptbytes Месяц назад
You can definitely use middleware. We use middleware to add roles/claims for authenticated users in our api's.
@srikalyanlingamaneni8089
@srikalyanlingamaneni8089 Месяц назад
nce video.I need to authenticate an api which has username and password.I will try this basic authentication.
@itze_
@itze_ 8 месяцев назад
I want to see the using clauses. The code is not in the link!
@scriptbytes
@scriptbytes 8 месяцев назад
Sorry! I updated the github link so it's there now. One example of when you could use Basic Authentication is for an Email service. You might have a bunch of apps that need to send emails, so create a single API that your apps can call and send emails with. This Email service is now the only piece of code interacting with whatever the email client is. Each of those apps would need to send the Authorization header with the correct credentials in order to send an email. This is a good idea if 1. You are using 3rd party services in a lot of apps (like email, payment processing, etc) and 2. Those 3rd party services might change frequently. For example if you wan to change who you send emails with, you would only need to update your one Email service, and not all the apps that use it.
@wheelogger
@wheelogger 6 месяцев назад
how to use AD Authentication in this setup?
@scriptbytes
@scriptbytes 6 месяцев назад
I don’t think Basic Auth is the thing to use with AD as your authentication method. I’ve never used AD as my means of auth for a new .net app, but I did find this article that talks about it: learn.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-8.0&tabs=visual-studio
@itze_
@itze_ 8 месяцев назад
Wow!
Далее
СМАЗАЛ ДВЕРЬ
00:31
Просмотров 263 тыс.
How to Run MongoDB in Docker
11:44
Просмотров 17 тыс.
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 257 тыс.