Dependency Injection (using SimpleInjector) and OAuthAuthorizationServerProvider
问题 New to Dependency Injection, so this is probably a simple matter, but i have tried and cant figure it out, i am using Simple Injector. I have a WebApi that uses SimpleInjector perfectly fine, now i would like to implement security using OAuth. To do this i started to follow this tutorial, which is very helpful, but doesnt use Dependancy Injection http://bitoftech.net/2014/06/01/token-based-authentication-asp-net-web-api-2-owin-asp-net-identity/ I have my global.asax file looking like this, to