If you have a connection to SQL Server where you’re using spatial types with Entity Framework, and deploying to an Azure service/server, you may come across the exception:
Spatial types and functions are not available for this provider because the assembly 'Microsoft.SqlServer.Types' version 10 or higher could not be found.