Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2018 06:47
What would you like to do?
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Threading.Tasks;
using System.Net;
using System.Text;
using System.Net.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.Mvc;
using viewer.Hubs;
using viewer.Models;
namespace viewer.Controllers
public class UpdatesController : Controller
private IHubContext<GridEventsHub> HubContext;
public UpdatesController(IHubContext<GridEventsHub> gridEventsHubContext)
this.HubContext = gridEventsHubContext;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment