Skip to content

Instantly share code, notes, and snippets.

@toinetoine
Last active August 29, 2015 14:19
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 toinetoine/8242a862bcff538cd725 to your computer and use it in GitHub Desktop.
Save toinetoine/8242a862bcff538cd725 to your computer and use it in GitHub Desktop.
Startup.cs from SignalR tutorial at http://www.antoinedahan.com/blog/SignalRAzureTutorial/
using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(SignalRExample.Startup))]
namespace SignalRExample
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
// Will will initiate a mapping from the jquery methods on the page
// to the C# functions within each Hub
app.MapSignalR();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment