阅读背景:

什么时候在ASP中使用ViewBag/ViewData是“可接受的”?净MVC吗?

来源:互联网 

I realize that the best practice is to use strongly typed Views and pass in all needed data in a ViewModel, but I am curious if there are situations where it is actually considered "best practice" to pass data in the ViewBag/ViewData.I realize that the best practice is to use stro




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: