© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
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();
builder.Services.AddDatabaseDeveloperPageExceptionFilter();

Rider gives me the error
Cannot resolve symbol 'AddDatabaseDeveloperPageExceptionFilter'
Cannot resolve symbol 'AddDatabaseDeveloperPageExceptionFilter'

What am I doing wrong ?

Thanks
Tutorial: Create a minimal API with ASP.NET Core
Learn how to build a minimal API with ASP.NET Core.
Tutorial: Create a minimal API with ASP.NET Core
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cannot Resolve Method
C#CC# / help
8mo ago
Cannot resolve AddAuthentication()
C#CC# / help
3y ago
Cannot resolve symbol 'HttpPostedFileBase'
C#CC# / help
10mo ago
Cannot resolve symbol 'ServiceController'
C#CC# / help
2y ago