阅读背景:

在ASP.NET MVC中连接数据库驱动菜单的最佳方法

来源:互联网 

I'm looking for a way to handle a database-driven menu in ASP.NET MVC that doesn't violate the MVC principles. I want to replace the hard-coded, default, "Home, About" menu with something from my database. How would I wire this up? Would I just set up a ContentPlaceHolder in my Site.Master and have regenerated in my Views? That doesn't seem right to me.I'm looking for a way to handle a database-driv




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

分享到: