SignalR: Using a Hub instance not created by the HubPipeline is unsupported

When you need to push data to a SignalR hub from outside the hub (from a Controller for example), don’t try to create a new instance of the Hub, like I did. Otherwise you’ll see this nice exception: Using a Hub instance not created by the HubPipeline is unsupported From Microsoft.AspNet.SignalR.Core Instead, the hub context must be retrieved: var context = GlobalHost.ConnectionManager.GetHubContext<HubType>(); context.Clients.All.Whatever();

February 23, 2013 · 1 min · Bruno Garcia

HttpModules. Now even easier to be misused.

Attacks like DDoS or simple web defaces are just vandalism and for sure quite annoying. However, what is considered to be a serious threat is when skilled attackers target one application (or one company), looking for specific information. They dig until they find a security hole, escalate privileges and once they have access to one server, they begin to obtain access to other computer systems within that network. What does it have to do with HttpModules? ...

February 22, 2012 · 6 min · Bruno Garcia