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

220
Views
Sin método de extensión UseDatabaseErrorPage() en Net Core 3.0

Creé la aplicación Net Core 3.0 y el siguiente código que funcionó en 2.2 ahora no lo es.

 app.UseDatabaseErrorPage();

Parece que en la clase 3.0 DatabaseErrorPageExtensions no existe dentro del espacio de nombres Microsoft.AspNetCore.Builder . ¿Me estoy perdiendo alguna dependencia? Tengo EntityFrameworkCore NuGet con herramientas y diseño agregados.

agregando

 using Microsoft.AspNetCore.Builder;

no ayudado

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Agregue una referencia a 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore', parece que la función está ahora en ese paquete.

over 4 years ago · Santiago Trujillo Report

0

utilizar

 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

[Inicio.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!