Reputation: 218
I am trying to connect signalR to an SQL server in azure.
[PlatformNotSupportedException: The SQL Server edition of the target server is unsupported, e.g. SQL Azure.]
After follow the instructions on Microsoft Documentation:
https://learn.microsoft.com/en-us/aspnet/signalr/overview/performance/scaleout-with-sql-server
Service Broker is enabled.
Upvotes: 1
Views: 1010
Reputation: 2624
Form MSDN article:
Prerequisites
Microsoft SQL Server 2005 or later. The backplane supports both desktop and server editions of SQL Server. It does not support SQL Server Compact Edition or Azure SQL Database. (If your application is hosted on Azure, consider the Service Bus backplane instead.)
If your application will be hosted in Azure and you're using ASP.NET Core, you should consider the use of the Azure SignalR Service as an alternative which offers first class integration with Azure Services including SQL Azure.
Here's a quickstart:
https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-dotnet-core
Upvotes: 2