MVC网站发布
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
在View页面中引入自定义方法
需要在自定义的方法类顶部加上
[Serializable]
MVC网站发布
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
在View页面中引入自定义方法
需要在自定义的方法类顶部加上
[Serializable]
转载于:https://www.cnblogs.com/softcode/articles/4266964.html