HTTP Error 500.30 – ANCM In-Process Start Failure – Publishing an ASP.NET CORE API on Azure

I’m trying to publish my first ASP.NET CORE API on Azure but I’m just getting this error : this is my File.csproj : <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> <!–<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>–> <!–<AspNetCoreModuleName>AspNetCoreModule</AspNetCoreModuleName>–> </PropertyGroup> <ItemGroup> <PackageReference Include=”Microsoft.AspNetCore.Mvc.Formatters.Xml” Version=”2.2.0″ /> <PackageReference Include=”Microsoft.AspNetCore.ResponseCaching” Version=”2.2.0″ /> <PackageReference Include=”Microsoft.EntityFrameworkCore.SqlServer” Version=”3.1.0″ /> <PackageReference Include=”Microsoft.EntityFrameworkCore.Tools” Version=”3.1.0″> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> </PackageReference> <PackageReference Include=”Microsoft.Extensions.Logging.Debug” Version=”3.1.0″…

Details

How to create linebreaks after joining strings from an array and rendering it inside a div?

I have the following array results = [“Dog”,”Cat”,”Fish”,”Parrot”]; I join it using the .join method like so var finalResult=results.join(“\n”); I have a div Validation Result:<div id=”result”></div> I then try to render it inside a div like so this.shadowRoot.getElementById(‘result’).textContent = finalResult; This just ends up being rendered with a space between each word Dog Cat Fish…

Details