views:

376

answers:

3

I'm looking for an example of a more complex asp.net mvc model. All of the Models I've seen on the ASP.net site are very, very simple and involve only one or two database tables.

I'm curious as to how mvc works with more complex models with many tables and ternary relationships.

A: 

If you're curious, why don't you try it out? Create or use a complex database and try to prototype some basic crud operation on this DB using ASP.NET MVC.

Galilyou
A: 

Also have a look at:

http://stackoverflow.com/questions/931521/mvc-how-to-work-with-entities-with-many-child-entities

In the end it still comes down to CRUD operations on your models. The only question is how not to organize it in such a way that it doesn't become a mess. I find the use of Areas (planned to be build in to the next version of MVC) very handy.

Gidon
+6  A: 

Here a a few mvc applications with varying levels of complexity. Checkout Kazi's blog there is some awesome stuff there! Also checkout the ncommon which has repository paterns etc for nhibernate, linq2sql and entity framework, among other goodies.

  1. kigg from Kazi Manzur Rashid
  2. sutekishop from Mike Hadlow
  3. codecampserver from Jeffrey Palermo
  4. mvcstorefront from Rob Conery
  5. ncommon from Ritesh Rao
  6. FubuMvc from Chad Myers, Mark Nijhof, Jeremy Miller etc
Jake Scott
+1 Good list, but note that FubuMvc is not based on ASP.NET MVC
BengtBe
Yeah I like to be nice to the alt.net camp :P In the FubuMvc Contrib project there will be some nice examples albeit basic examples of using nhibernate as well as fluent nhibernate - which is related to modeling
Jake Scott
Good list, thanks.
Jachin