I am trying to set stack = .NET and .NET Version =...
# azure
q
I am trying to set stack = .NET and .NET Version = .NET 8 for Azure Web app. I have tried below code, but it did set the stack or .NET version. Please suggest: var webApp = new AzureNative.Web.WebApp(name, new() { ResourceGroupName = resourceGroupName, Location = location, ServerFarmId = appServicePlanId, SiteConfig = new AzureNative.Web.Inputs.SiteConfigArgs { NetFrameworkVersion = "v8.0", AlwaysOn = false, Http20Enabled = true, AppSettings = { new AzureNative.Web.Inputs.NameValuePairArgs { Name = "APPINSIGHTS_INSTRUMENTATIONKEY", Value = appInsightInstrumentationKey, } }, }, PublicNetworkAccess = "Disabled", ClientAffinityEnabled = false, VirtualNetworkSubnetId = webAppSubnet, VnetRouteAllEnabled = true, });