“配置Azure网站”;“永远在线”;使用管理API的模式
可以使用Azure门户将Azure网站设置为“始终打开” 我正试图使用Azure SDK实现同样的目标“配置Azure网站”;“永远在线”;使用管理API的模式,azure,azure-web-app-service,azure-sdk-.net,Azure,Azure Web App Service,Azure Sdk .net,可以使用Azure门户将Azure网站设置为“始终打开” 我正试图使用Azure SDK实现同样的目标 var config = new WebSiteUpdateConfigurationParameters { WebSocketsEnabled = true, AppSettings = appSettings, ConnectionStrings = connectionStrings, Use32BitWorkerProcess = false,
var config = new WebSiteUpdateConfigurationParameters
{
WebSocketsEnabled = true,
AppSettings = appSettings,
ConnectionStrings = connectionStrings,
Use32BitWorkerProcess = false,
????
};
await client.WebSites.UpdateConfigurationAsync(webSpaceName, sitename, config);
是否有任何解决方法,或者我是否遗漏了什么?似乎还没有将AlwaysOn属性添加到Azure SDK中。我们将在即将发布的SDK中添加它 不幸的是,目前唯一的解决办法是直接调用Azure网站API(文档有点过时,因为它们没有提到AlwaysOn,但API会接受它)