Sharing a set of Mvc4+ef5+easyui technology to realize universal Rights management system

Source: Internet
Author: User

Course Lecturer: Free Zheng

Course Categories:. NET Framework

Suitable for people: advanced

Number of lessons: 150 hours

Update level: Complete

Type of Service: Class B (VIP service Class)

Using technology: MVC, EF, T4, Log4net, Easyui, RDLC, spring.net, etc.

Projects involved: generic Rights management system, 12 Zodiac case, EasyUI150 example



Course Consulting QQ:2050339477

Links: Http://ibeifeng.taobao.com/index.htm?spm=2013.1.w5002-9616636101.2.aNEcLW

Project background:

in short, in this context, in order to enhance the majority of students. NET new technology learning quality, North wind full-time lecturer Zheng Teacher, before and after half a year long, combined with their rich work experience, solemnly launched. NETMVC version of the universal Rights management system.

Project main function Module:

the teacher of the busy Zheng. NETMVC (v1.0) version of the general Rights management system at present a total of more than 150, each speaking 40 minutes, the function module is mainly around the authority, to the teacher personally set up the catharsis framework for the Foundation, research and development of ten business modules, respectively:user management, role management, menu management, Rights Management, organization management, privileged management, User role management, role rights management, log management, and report statistics; there isexception filters, Epplus operations Excel, higncharts charts, uploadify upload controls, QR Code promotion, and ReportViewer (RDLC) Report Statistics printingand other knowledge points module. In addition, to facilitate understanding of the architectural aspects of the project, the instructor has specially organized and recordedEasyui Wonderful examples 150 items, T4 topics, spring.net topics, EF topics, log4net topics and c#4.0 10 kinds of grammatical sugarstopics and so on. The above mentioned content has been recorded, you can directly run the source code and watch the relevant video, and in the next time, will continue to update the new skill points or function modules.

Introduction of project development environment and key skill points:

1. Project Development Environment

The project source code will be provided with MVC4+EF5 and For both versions of the baseline, the database provides a database script based on Sqlserver2005, which applies to the project.

Development tools: vs2012,vs2013;

Database Tools: sqlserver2005,2008,2012,2014

Other tools: Easyui,jquery,epplus,higncharts,uploadify,qrcode, etc. will provide source files that match the project

2. Introduction of the framework:

The whole frame is guided by abstract factory design pattern and MVC design pattern, easy to expand and replace some modules, fully accord with open-close design principle  . Based on the razor and Easyui rendering of the page effect (View), the learner can also be replaced by other familiar front-end frameworks, and business data model correspondence is delivered to business warehousing (service) and Data warehousing (Repository). The business entity is delivered to the public Service (Infrastructure) where EF is located, and each layer is designed to conform to the abstract factory idea, supporting a multi-type database, and communicating between layers through a warehousing interface set to achieve low coupling through sping.net; The involved business class or interface can be extended through the partial mechanism and T4, in the framework of the EF two times, the association T4 after the addition and deletion of all tables method, can be automatically generated, the table structure changes only need to re-save the relevant template, but also the log4net is encapsulated, Automatically generated operation code directly associated with the log4net operation log Database save, special cases can be special treatment, etc.

3. Introduction of front end and authority mechanism

the API documentation provided by Easyui and the reference examples on the web basically solve the problems encountered in our regular development, and in the project the teacher onlyThe frequently used Easyui function is encapsulated,The main component of the data interaction between the Easyui in the view and the action method in the controller is encapsulated., so as to achieve flexible control of the front-end JSON data, and the instructor in the front-end part of the special use of Fiddler tool repeatedly tracking request messages,focus on explaining how the front-end code is written and why it is written, it is easier for learners to understand the principles of web development and the Esayui interaction mechanism. combining the iauthorizationfilter of MVC, the filter mechanism of iexceptionfilter and the structure of permission table, this project controls the operation permission to the request mode level of the domain---controller, and automatic for Ajax and non-Ajax requests through the reflection mechanism, has done the callback processing, unifies the related module, the easy Realization General permission set, and unifies us actually adds the privilege management module. Since the incubation time of the MVC-related technology is relatively short in the. NET platform, the data and demo of the regular function module are not very perfect, so the lecturer himself is also a multi-reference and research, to use Epplus in. Netmvc to manipulate Excel, Higncharts generate charts, Uploadify upload pictures, code QR Code, ReportViewer Report printing and other conventional skills to do a summary, and combined with the practical application of the project,follow-up will also update other relevant operational skills modules, please look forward to.


Sharing a set of Mvc4+ef5+easyui technology to realize universal Rights management system

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.