© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
v0fbu1vm

✅ Only add certain controllers?

Is there a way I can only add/map certain controllers based on if the application is in development or production? I was thinking of using some sort of attribute but don't know how?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ How to add controllers into blazor hybrid app?
C#CC# / help
3y ago
Controllers purpose
C#CC# / help
4y ago
✅ how to add certain folders to .gitignore
C#CC# / help
2y ago
Certificate authentication only for certain paths - ASP.NET
C#CC# / help
3y ago