可以使用 Azure 门户将 Azure 网站设置为“始终在线”。
我正在尝试使用 Azure SDK 来实现相同的目标
var config = new WebSiteUpdateConfigurationParameters
{
WebSocketsEnabled = true,
AppSettings = appSettings,
ConnectionStrings = connectionStrings,
Use32BitWorkerProcess = false,
????
};
await client.WebSites.UpdateConfigurationAsync(webSpaceName, sitename, config);
有什么解决方法吗?或者我错过了什么?