How to use signalR on SharePoint timer job
<table><tbody><tr><td><div><div><strong></strong></div> </div> </td> <td> <div> <div itemprop="text"> <p>I have a requirement as below.</p> <p>Clients will be connected with a SignalR Hub by accessing the SharePoint Web.</p> <p><strong>Requirement#1</strong> I should be able to send notification to clients when an event occurs on the web site and I am able to.</p> <p><strong>Requirement#2</strong> I should also be able to send notifications to clients when a timer job runs - I find it impossible.</p> <p>Any suggestions? How do I send notifications to clients when a timer job runs?</p> <p><strong>Update#1</strong><br /> As I uses Sql backplane, thought of using setting up the Dependency Resolver on Timer Job as mentioned below</p> <pre><code> GlobalHost.DependencyResolver.UseSqlServer(sqlConnectionString.ConnectionString);</code></pre> <p>however it throws an exception - The name 'GlobalHost' does not exist in the current contex</p></div></div></td></tr></tbody></table>