C#C
C#3y ago
Naarfy

❔ cannot resolve AddDatabaseDeveloperPageExceptionFilter();

Hello,

I'm trying to follow
https://learn.microsoft.com/en-us/aspnet/core/tutorials/min-web-api?view=aspnetcore-7.0&tabs=visual-studio-mac

I had an issue with the class Todo who couldn't be resolved but that was an easy fix (using TodoApi) however I have a problem with

builder.Services.AddDatabaseDeveloperPageExceptionFilter();

Rider gives me the error
Cannot resolve symbol 'AddDatabaseDeveloperPageExceptionFilter'

What am I doing wrong ?

Thanks
Learn how to build a minimal API with ASP.NET Core.
Was this page helpful?