sticky-exabyte-94099
01/21/2022, 4:45 PMvar App = new AzureNative.Web.WebApp("myapp", new AzureNative.Web.WebAppArgs
{
ResourceGroupName = ResourceGroup.Apply(t => t.Name),
Location = ResourceGroup.Apply(t => t.Location),
ServerFarmId = AppServicePlan.Id,
SiteConfig = new AzureNative.Web.Inputs.SiteConfigArgs
{
AppSettings = {
new AzureNative.Web.Inputs.NameValuePairArgs{
Name = "WEBSITE_RUN_FROM_PACKAGE",
Value = BlazorCodeBlobEndpoint,
},
new AzureNative.Web.Inputs.NameValuePairArgs{
Name = "ASPNETCORE_ENVIRONMENT",
Value = Deployment.Instance.StackName.ToLower(),
},
//Abp.io
new AzureNative.Web.Inputs.NameValuePairArgs{
Name = "App:SelfUrl", //<-- So do this
Value = MyEndpoint,
}
},
},
Tags =
{
{ "environment", StackName },
},
});
and not in appSettings.json
{
"App": {
"SelfUrl": "<https://me.com>",
... etc
}
And should I then get rid of every settings in appSettings.json?bored-activity-40468
01/21/2022, 5:19 PMsticky-exabyte-94099
01/22/2022, 9:26 AM