Created
April 26, 2014 13:26
-
-
Save darrelmiller/11320012 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class Startup | |
{ | |
public void Configuration(IAppBuilder app) | |
{ | |
var webApiconfig = new HttpConfiguration(); | |
webApiconfig.Routes.MapHttpRoute("test","Test",new {controller="Test"}); | |
app.UseWebApi(webApiconfig); | |
// Turn cross domain on | |
var config = new HubConfiguration { EnableCrossDomain = true }; | |
app.MapHubs(config); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment