New framework, new feel for ASP. NET MVC share a simple quick fit for novice frame

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.