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
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
I love the @Helper in MVC. The only thing i hate is, the requirement to put the .cshtml/.vbhtml file in the App_Code folder. I would love it, if i could add that files any where. (e.g. /Views/Helpers/MyHelper.cshtml).
Any new about that? Shouldn't be impossible with Roslyn now...
The text was updated successfully, but these errors were encountered:
@rafa-l thanks for your input. We are already tracking this issue in #1130, I added your comment about app_code.
In ASPNET 5 and MVC 6, there is no such concept as special folders, but app_code was a way to precompile a set of files at startup, so we need to come up with a replacement concept that will separate the .cshtml files for views and helpers (or come up with something else, like a different extension).
The feature is right now slated for RC, but there is a reasonable chance it will happen in a later milestone, we will figure this out in the next few weeks.
What happend to the @Helper in ASP.NET MVC 6?
I love the @Helper in MVC. The only thing i hate is, the requirement to put the .cshtml/.vbhtml file in the App_Code folder. I would love it, if i could add that files any where. (e.g. /Views/Helpers/MyHelper.cshtml).
Any new about that? Shouldn't be impossible with Roslyn now...
The text was updated successfully, but these errors were encountered: