'IApplicationBuilder' does not contain a definition for 'UseDatabaseErrorPage' code example
Example: 'IApplicationBuilder' does not contain a definition for 'UseDatabaseErrorPage'
<!-- add this in a <ItemGroup> tag in your .csproj -->
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.0" />