无法在没有任何SQL错误的情况下进行完美的Azure VIP交换

Dir*_*oer 5 azure

已经有少量+5用户使用该网站并进行VIP交换时,我总是会收到SQL错误,例如:

System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: Session Provider, error: 19 - Physical connection is not usable)

我正在使用SqlAzureExecutionStrategy.VIP交换期间的其他请求似乎需要大约30秒才能使网站真正无响应,尽管暂存环境已经完全预热.

  • 有什么方法可以防止这种情况吗?
  • 为什么我不读这个行为呢?其他人只是不关心一些破碎的请求和30秒的慢速时间框架,还是我错过了我的Sql/EF设置中必不可少的东西?

Dir*_*oer 1

我最终采取了切换到 Azure Web Apps而不是云服务的步骤,所有这些问题都得到了解决,甚至更多。

虽然花了几天的时间,但转换绝对是值得的。

因意外离开临时服务器而付费也已成为过去的问题。