Skip to content

Instantly share code, notes, and snippets.

@dbarkol
Last active March 14, 2018 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbarkol/f0a044fd715092ac4f9e6ae8a2871468 to your computer and use it in GitHub Desktop.
Save dbarkol/f0a044fd715092ac4f9e6ae8a2871468 to your computer and use it in GitHub Desktop.
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
// Awwww yeah!
services.AddSignalR();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment