Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

152
Views
No UseDatabaseErrorPage() extension method in Net Core 3.0

I have created Net Core 3.0 app and following code that worked in 2.2 now is not.

app.UseDatabaseErrorPage();

Looks like in 3.0 class DatabaseErrorPageExtensions does not exist within Microsoft.AspNetCore.Builder namespace. Am I missing some dependency? I have EntityFrameworkCore NuGet with Tools and Design added.

Adding

using Microsoft.AspNetCore.Builder;

not helped.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Add a reference to 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore', it appears that function is in that package now.

over 4 years ago · Santiago Trujillo Report

0

use

Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 3.1.5
over 4 years ago · Santiago Trujillo Report

0

[CLI]

dotnet add package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore --version 3.1.2

[StartUp.cs]

using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore;

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!