SignalR CORS on Azure Mobile Services Web Api
问题 I have an Azure Mobile Service running Web Api and c# and enabled CORS as suggested in Enable CORS on Azure Mobile Serivce .NET Backend however I have now come to add SignalR into the mix. SignalR is working fine however I can't see to find how to enable CORS. At present in my test app config I have the following: //enable CORS for WebAPI var cors = new EnableCorsAttribute("*", "*", "*"); httpconfig.EnableCors(cors); //rather than use the static method new up SignalRExtensionConfig and pass