Getting Started with MVCScaffolding
I have gone through many of the MVC tutorials and now I want to create a prototype mvc app of an existing database.
I have installed the MVCScaffolding package and I want to use it with an existing database. Has anyone found steps to go about doing this? I have lo开发者_StackOverflow中文版oked but have been unable to figure out how to get it to work.
I want to connect to a sql server database and have the model created from it. Then scaffold out the views and controller.
Is there something I am not understanding here? Is this how MVC Scaffolding works?
this might be a little complex to work with at first, but then you will discover the beauty of it. Check this tutorial out, it helped me a lot when I started Asp.Net MVC 3, also Asp.Net site helped me a lot. Scaffolding is nothing more than a bunch of templates to make your life easier, nothing more. You could also check ScottGu's Blog about this same topic.
Good luck!
精彩评论