Fill in service registration for HttpContextAccessor
jeremydmiller opened this issue · 3 comments
jeremydmiller commented
Or throw a descriptive exception if it doesn't exist. Alba has to have it, so get it there
joemcbride commented
Currently being added here.
https://github.com/JasperFx/alba/blob/master/src/Alba/SystemUnderTest.cs#L121
jeremydmiller commented
Yeah, but that doesn't get called if you build the WebHost directly by overriding that method:(
jeremydmiller commented
Meh, really handled this by ignoring it if the HttpContextAccessor isn't there.