modeling - how do you organize your model code in asp.net-mvc? -


It seems that in my model folder, all my classes fit into one of 3 buckets:

  1. Pure POCO data objects / business objects
  2. Repository implementation code to query databases and external services
  3. Helper code.

Is it normal and how to organize it is a best practice. Do I need a subfolder for 1, 2 + 3? Any recommendations?

If you see that trying to provide a best practice framework, you will see that Poko / Institutions, repositories and support codes are not isolated, they are also present in different assemblies. This is because it is impossible to physically leak from one container to the other. This structure grows by the article which is also good to read.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -