Комментарии:
Thanks a lot Sir. you are true generous about knowledge...God bless you.
ОтветитьGreat example ! Did you forget the try catch in your OnAuthorization method??
ОтветитьYou make that look so easy! Thanks!.
ОтветитьWhat happen if my password have a colon ( : ) symbol ?
ОтветитьEven complex things are simplified at your channel.
May all success comes to your way! Thanks
Dear Sir,
You have given BasicAuthenticationAttribue as the class name but use only the word BasicAuthentication to decorate action method. In the case of enabling CORS you use full class name. Could you please expalin this?
How does this differ from using the IDENTITY FRAMEWORK ?
ОтветитьThis is exactly like Clearcats tututorial.
ОтветитьAllah ap ko Islam ki Dolat se nawaz de.
ОтветитьCan you please use VS white theme...
ОтветитьBest Tutorial ever! Thanks a lot
ОтветитьHello Sir, Could you please tell me how can we implement a code by using basic authentication for logout ..??
ОтветитьIn a thousand years I could not have figured that out from the Microsoft documentation, yet you had me up and running with actual basic authentication in less than 20 minutes. Thank you thank you thank you!
Ответитьtrue genius. Teacher of the year needs to go to you sir. Thanks many tons
ОтветитьI am not able to fine Any() method
ОтветитьDon't use split() on the decodedAuthToken. It will break if a users password contains the split character.
ОтветитьI passed an authentication header in fiddler but still getting message 401. pls help me
ОтветитьThanks a lot guruvu gaaru 🙏
ОтветитьCan I have access to the code of this tutorial. Much appreciated if you provide so. Thanks
ОтветитьYou have been my guide, my tutor, my teacher, my way of coding for years!... Thank you so much for so many many hours of teaching... You are The Man!
ОтветитьThank you so much
ОтветитьThank you so much!
ОтветитьAwsome content Just to add to above it's mandatory to use .ToList in Controller otherwise you run into below issue.
{"Message":"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,"InnerException":{"Message":"An error has occurred.","ExceptionMessage":"The operation cannot be completed because the DbContext has been disposed.","
Authentication and authorization are not the same. Even though this produces something that seems to work, this is not how it should be done.
ОтветитьThanks!!
ОтветитьOk I get most of his videos but I am pretty lost on this one.
ОтветитьKuchh samajh nahi aa raha
ОтветитьWhy the f am I still applying for .net jobs? lol. Oh right, my first job was .net and recruiters are still calling me with tempting offers. This is way more complicated than it needs to be smh. JS jobs or bust from now on.
ОтветитьSir, Thanks a lot for web api tutorials, I've learned so much from you.
ОтветитьIs this also called JWT based authentication ??
Ответитьgreat thanks
ОтветитьI wanted to confirm. Does .NET Core support basic authentication attributes? I am using .NET version 4.7.2, not .NET Core and followed along with Venkat's tutorial but for some odd reason my authentication doesn't work. Whether I register the authentication attribute on web config or I apply the filter tag [BasicAuthentication] on the controller, it doesn't help. I run the api on the browser using localhost:(port number)/api/employees. What happens is that I get default Google error page saying page isnt working error 401. I even tested on fiddler and same thing. I don't understand, is basic authentication not supported in .NET versions below the CORE? Thanks for confirming and love your videos. And yes, I will always have a great day :)
Ответитьwhat if someone's password contained a ":"?
ОтветитьHello Sir, Showing Blog has been removed error message when checking text version. Please Check.
ОтветитьThis is gender discrimination at it's core 😂
ОтветитьKeep the good work!!
Ответить"An exception of type 'System.IndexOutOfRangeException' occurred in EmployeeService.dll but was not handled in user code
Additional information: Index was outside the bounds of the array."
im facing with this error .can you help me with this issue?
Sir can please make one video how to implement SAML 2.0 in .Net
ОтветитьThank you Sir, Very well explained..
ОтветитьThank you very much. You are Amazing
ОтветитьFaultless - without doubt the best ever online tutorial I have come across, I can see myself spending many hours looking at your other videos. Thank you for all your hard work.
ОтветитьExcellent video - thank you
Ответитьexcuse me, teacher.
I'm tyring this video section about OnAuthorization(BasicAuthenticationAttribute class),
debugging found it actionContext has Authorization == null.
When using fiddler, header doesn't deliver Authorization code.
(Authorization: Basic ZmVtYWxlOmZlbWFsZQ==
).
So i can't certificate my web site.
Anybody who can tell me what's wrong with me?
eu te amo
ОтветитьDo you have video tutorial how to publish rest api on iis. IIS has lot of setting and security that make me hard to learn. Thanks
Ответить