asp.net MVC Rights Management (i)

Source: Internet
Author: User
Tags modify

For a long time asp.net MVC, feel that MVC is really good to use, the last year or so to do two small and medium-sized projects, that is still a lot of places are not very familiar with, so now intend to do a more general point of management system, background mainly include modules: Member management, Rights management, system Management, Content management, as well as the Front User Center system.

PS: Bo Master Now change work, is to do the electrical business of art, feel the development of time too tired, to change the environment to recuperate ~ ~ ~ So update certainly not very soon, you forgive me ~ ~

Needless to say, the system is still in the conceptual stage, I intend to write a blog on the side of development side, write a bad place you have to forgive; the system uses VS2012 + asp.net + MVC4 +entity Framework + Jquery Easyui development.

About the basic knowledge of MVC, in the famous blog Park has a lot of series, rights management also has a lot of series, I will not long-winded, this time I will mainly talk about the development of a background management system and User Center functions.

The specific code has not been implemented, first look at the project structure chart:

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/aspx/

The project is divided into five parts (developing common structure), namely business logic layer, data access layer, user interface layer, domain model layer and public layer.

The corresponding class library is placed in the appropriate project folder to keep the project clear and easy to modify.

Project, according to my idea, can adapt to a certain degree of expansion.

Keep talking about the layering of projects:

Business Logic Layer:

COOLMANAGE.IBLL Business Logic Interface layer

COOLMANAGE.BLL Business Logic Implementation layer

Data Access Layer:

Coolmanage.idao Data Access Interface layer

Coolmanage.efdao Data Access Implementation layer

Domain Model layer:

Model layer established by Coolmanage.entities Entity framework

Coolmanage.viewmodel view model layer, mainly used to transfer data transfer between user interface layer and business logic layer

Common Class Library Layer:

Coolmanage.common Common Class Library layer

Coolmanage.cachestorage Cache Operation Layer

User interface layer:

Coolmanage.web User Interface Layer

asp.net mvc has a slogan called: Don ' t Repeat yourself "translation: Do not repeat yourself," so I will as far as possible "0" add to delete the implementation of the search, to achieve this thing, the first is to rely on the Entity Framework definition of general add-delete search and modify method, The other classes then inherit this generic approach, implementing basic functionality, and then extending it.

Related Article

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.