Last active
August 29, 2015 14:19
-
-
Save toinetoine/8242a862bcff538cd725 to your computer and use it in GitHub Desktop.
Startup.cs from SignalR tutorial at http://www.antoinedahan.com/blog/SignalRAzureTutorial/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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