So far, i don\'t think ViewComponent
solves that neither does TagHelper
. Is there any replacement to this? Something that takes parameters and retu
The @helper
directive was removed since it was incomplete and its current design did not fit in the new 'ASP.NET 5 way'. One of the reasons is that helpers should be declared in the App_Code
folder while ASP.NET 5 has no concept of special folders. Therefore the team decided to temporarily remove the feature.
There are plans to bring it back in the future though. See this and this.