SignalR + Dependency Injection Questions

前端 未结 4 1280
醉酒成梦
醉酒成梦 2020-12-29 23:47

I am using SignalR in my MVC3 application, and since I have implemented StructureMap Dependency Injection on my controllers I would like to do the same in my hub, but I can\

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 00:20

    Have you followed the instructions here:- https://github.com/SignalR/SignalR/wiki/Extensibility ?

    You'll need to use AspNetHost.SetResolver.

提交回复
热议问题