#30MinsLearning Day 12, in the code implementation, this Context.SignInAsync() method got me confused for quite a while. Firstly, there's no SignInAsync() method on HttpContext class: learn.microsoft.com/en-us/dotnet... ...
Time to dig out the .net source: source.dot.net/Microsoft.As...
It calls GetAuthenticationService and then calls SignInAsync on that. Right, what does GetAuthenticationService mean?
Well, it gets the service of IAuthenticationService from the IoC container. That means, some code is registering IAuthenticationService, and what is that? 🤔