ASP.NET MVC Web structure
Posted
by ile
on Stack Overflow
See other posts from Stack Overflow
or by ile
Published on 2010-03-23T12:19:05Z
Indexed on
2010/03/23
12:43 UTC
Read the original article
Hit count: 517
This is database structure. It is used to build simple cms in asp.net mvc. Before I run deeper into developing site, I want to make sure if this would be "correct" web structure:
Articles:
- Controllers folder: Create controllers ArticleCategoryController and ArticleController
- Models folder: ArticleCategoryRepository and ArticleRepository
- View folder: ArticleCategory folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx); Article folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx)
Photos:
- Controllers folder: Create controllers PhotoAlbumController and PhotoController
- Models folder: PhotoAlbumRepository and PhotoRepository
- View folder: PhotoAlbum folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx); Photo folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx)
and so on...
Is there a better way or this is ok?
Thanks.
Ile
© Stack Overflow or respective owner