As with pretty much everything in the ADAL packages, this is something that seems like it should be pretty straight-forward, but isn’t. Before we go on to SignalR, we need to have a look at how we access a Web API endpoint that requires authentication from JavaScript. If you’re already familiar with AD and bearer […]
SignalR
Get Your Web API Playing Nicely With SignalR on OWIN with Autofac
Niche, right? Yes. But this has caused me a day of headaches so posting here to save anyone else from the pain. WebAPI Say we already have Autofac set-up with your WebAPI. So we have something like this: var builder = new ContainerBuilder(); builder.RegisterApiControllers(Assembly.GetExecutingAssembly()); builder.RegisterAssemblyModules(Assembly.GetExecutingAssembly()); // Register the Autofac middleware FIRST, then the Autofac Web […]