关于[What Happened To @Helpers In ASP.NET Core?]的摘要:
When you port your Razor-based application to ASP.NET Core, whether its an MVC application or a Web Pages application, you might notice that adding a @functions block to your .cshtml file works as expected, but any attempt to add a @helpers block doesn't work at all.
原文地址: https://www.mikesdotnetting.com/article/344/what-happened-to-helpers-in-asp-net-core