0
.net Core 2.0 WebサイトをAzureまたはローカルIISに公開する場合、公開プロセスはパスしますが、サイトを開くときには、HTTP ERROR 500
が受信されます。 公開時のHTTP 500 .netコア2.0 Webサイト
<aspNetCore processPath="dotnet" arguments=".\OurWebApp.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout">
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
</environmentVariables>
</aspNetCore>
エラーが背後にある:
InvalidOperationException: No service for type 'Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet' has been registered.