The seed entity for entity type 'X' cannot be added because a non-zero value is required for property 'Id'
In Entity Framework Core, primary key properties are converted to identity columns if the database provider is SQL Server. But when we try to seed a database table with an identity column, the corresponding property value should be provided, as the migration scripts are generated by Entity Framework without connecting to the database.
HTTP Error 500.34 - ASP.NET Core does not support mixing hosting models
"HTTP Error 500.34 - ASP.NET Core does not support mixing hosting models". You will get this error if you host two .NET Core web applications in the same application pool using In-process hosting. This error can be fixed using two methods. One solution is using different application pools for the web applications. The other solution is changing the hosting model of the applications to "OutOfProcess".
HTTP Error 500.30 - ASP.NET Core app failed to start
You may see an HTTP 500.30 error when your ASP.NET Core web application fails to start. This article explains how you can check the error details when you don’t have access to IIS and the web server.