Azure App Service 提供了一个应用内的MySQL,可以供测试.开发使用. 前提条件是需要使用Windows的操作系统. 创建完App Server 之后,只需要在设置下开启 MySQL In App 即可. 在应用中可以从环境变量中获取连接字符串. var mysqlconnstr = Environment.GetEnvironmentVariable("MYSQLCONNSTR_localdb") 但是Azure提供的连接字符串是一些格式: Database={da…
问题情形 当访问部署在Azure App Service中的应用返回 "The remote name could not be resolved: ''xxxxxx.com'" 时,而您在公网中通过nslookup有能够解析成功.这个时间第一怀疑对象为Azure数据中心的DNS服务器没有您当前域名的信息. 详细日志 The remote name could not be resolved: ''xxxxxx.com' 问题原因 以上的情况,往往是发生在该第三方服务的域名解析还未配…