You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the problem.
We used to have global helpers via the App_Code folder. They were INCREDIBLY useful for managing a complicated codebase with lots of common functionality.
That was removed, and we were given other idioms: view components, partials, tag helpers, local helpers, etc. Although those are useful, they are absolutely not the same. There are loads of common small snippets that one typically reuses in many views. One cannot implement a view component or partial for each. That does not scale. This is a real pain point for any non-trivial system.
This was requested many times over the years (e.g. 1, e.g. 2). There are many StackOverflow questions which show people struggling with this, including one with 75 upvotes and 33k views.
Describe the solution you'd like
Every web framework has such functionality. ASP.NET did too. This would be a small addition which would provide immense and measurable benefit to your users, who've asked for it in massive numbers over many years.
PLEASE please consider giving us global helpers in v10.
Additional context
Thank you for considering it!
The text was updated successfully, but these errors were encountered:
ghost
added
the
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
label
Mar 5, 2025
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
We used to have global helpers via the
App_Code
folder. They were INCREDIBLY useful for managing a complicated codebase with lots of common functionality.That was removed, and we were given other idioms: view components, partials, tag helpers, local helpers, etc. Although those are useful, they are absolutely not the same. There are loads of common small snippets that one typically reuses in many views. One cannot implement a view component or partial for each. That does not scale. This is a real pain point for any non-trivial system.
This was requested many times over the years (e.g. 1, e.g. 2). There are many StackOverflow questions which show people struggling with this, including one with 75 upvotes and 33k views.
Describe the solution you'd like
Every web framework has such functionality. ASP.NET did too. This would be a small addition which would provide immense and measurable benefit to your users, who've asked for it in massive numbers over many years.
PLEASE please consider giving us global helpers in v10.
Additional context
Thank you for considering it!
The text was updated successfully, but these errors were encountered: