Spent years in the ASP., using various frameworks, in the original ASP. NET Web from to present MVC
At the beginning of the classic three layer, the MVC IOC is injected into the present.
Suddenly found that some time is really not follow the framework of some of the best, that exactly what the framework, I personally think, as long as the use of Oh oh handy is the best frame.
Here I share the framework of my own writing, is actually a classic three-layer mode + Factory mode
Support Mssql,mysql will be added later
ORM I use Ef+dapper ef more to do the modification, delete, add operation Dapper More to do is query operation, in the query aspect Dapper efficiency is good
The framework is structured as follows:
Fyt.common public Class Library
Fyt.model entity class (generated by generator) Next Chapter
Fyt.others other DLL files or do not use the usual
Fyt.repository operation database Class library, equivalent to three-layer DAL
Fyt.service Service Layer class library, which is the business process (default via Generator) Next chapter
Fyt.web Web Front end this piece of
Oh, that's enough.
If interested people can discuss it together.
Novice, also can follow, I this framework of the introduction relatively shallow
This framework will always be updated, in the blog will only share part of the code, if you need all the source, please Dabigatran: 86594082
New framework, new feel for ASP. NET MVC share a simple quick fit for novice frame