-
Dependency Injection on SignalR
Dependency Injection on SignalR This article shows how to perform dependency injection on SignalR hubs. Dependency injection is a way to remove hard-coded dependencies between objects, making it easier to replace an object’s dependencies, either for testing (using mock objects) or to change run-time behaviour. What is Dependency Injection? If you are already familiar…