ASP. NET Mvc+ef Framework +easyui the beginning of the Rights Management series

Source: Internet
Author: User

Original: ASP. NET Mvc+ef Framework +easyui implementation of the Rights Management series

  Preface: Blog has a period of time has not been updated, in the heart feel this time empty, as if nothing learned, so want to write blog, so there is this series, here of course also want to thank you, because this project I have uploaded, got a lot of netizens evaluation, There are many people e-mail me that this framework is prone to problems, can not access, which is to support me to write this series of power, I will be writing this project a series, it may take a long time, but I will always insist, if I do not write well welcome everyone pointed out that we learn together, and I understand is not very thorough, So I want to write this blog, the back if there is time, I will record the video, of course, this is purely for their own exercise eloquence, everybody mo blame uh, now let's start with a holistic overview of this project

1. Project directory

(1) I want to make a directory on this page, to facilitate our records, when I published a blog, I will modify here, to facilitate the viewing of everyone, but also for me to be able to see the convenience later.

(2) The directory structure is as follows:

Summary ASP. NET MVC+EF Framework +easyui implementation Rights Management Series

begins ASP. NET Mvc+ef Framework +easyui the beginning of the Rights Management series

   No. 01 Article ASP. NET MVC+EF Framework +easyui Implementation Authority tube series (1): Frame construction

   No. 02 Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (2): Database Access Layer Design Demo

   No. 03 Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (3): interface-oriented programming

   No. 04 Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (4): Encapsulation of the business logic layer

   No. 05 Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (5): Front Jqueryeasyui front desk implementation

   No. 06 Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (6): EF Context Instance Management

   No. 07 Article The ASP. NET Mvc+ef Framework +easyui implements the permission Tube series (7):D Bsession Package

   No. 08 Article The ASP. NET Mvc+ef Framework +easyui implements the permission Tube series (8):D unique within the bsession thread

   No. 09 Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (9): TT Template Learning

   10th Article ASP. NET Mvc+ef framework +easyui Implementation Permission Tube series: VSS Source code Control

   11th Article ASP. NET Mvc+ef Framework +easyui implement permission tube series (11): Verification code implementation and underlying modification

   12th Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (12): Implement user asynchronous login and T4 templates

   13th article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (13): Permission design

   14th Article ASP. NET MVC+EF Framework +easyui Implementation Authority tube series (14): Main frame Building

   15th Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (15): Rights database model and user login details error

   16th article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (16): Various authentication of user registration

   17th Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (17): Details of registered user functions

   18th article ASP. NET Mvc+ef Framework +easyui implement permission tube series (18): Filter usage and bulk delete data (pseudo delete and delete directly)

   19th article ASP. NET Mvc+ef Framework +easyui implement permission tube series (19): Modification and browsing of user information

   20th Article ASP. NET Mvc+ef Framework +easyui implements the permission Tube series (20): Multi-conditional query and Recycle Bin and restore implementation

   21st Article ASP. NET Mvc+ef Framework +easyui implement permission Tube series (21): Basic implementation Description of User role permissions

   22nd Article ASP. NET Mvc+ef framework +easyui Implementation Rights Tube series (22): Set roles for users

   23rd article ASP. NET Mvc+ef Framework +easyui implements the permission Tube series (23): Set roles legacy issues and set roles for permissions and use of Easyui tabs

   24th Article ASP. NET Mvc+ef Framework +easyui implement permission tube series (24): Design and implementation of permission group (with source code)

2. Past Life of the project

(1) Blog Park process

On December 13, 2012, I wrote this blog when I was sick, I simply said the whole project cut a few pictures and explained, then the project was uploaded to Csdn, so we still want to figure out the code, now March 22, 2013 I will write this project series, I hope you like, Of course, this project is not my own writing, so I also want to thank my teacher, but if women can learn that is our thing.

(2) Blog Park address: http://www.cnblogs.com/hanyinglong/archive/2012/12/13/mvc.html

3. Project preparation and technical work

(1) Let me give you a general introduction to the software and some technical supplements we will use in our project.

(2): Development tools: Visual Studio 2012

(3): Database: SQL Server 2012

(4): Code management tool using SVN, I am not ready to use this project, but I will prepare time to write a blog to understand its use.

(5): The process of ASP. NET MVC, that is, familiarize yourself with the MVC framework.

(6): The use ofEasyui , this technology and demo, you can download to see.

(7): Usage of theEntity Framework framework.

(8): Object-oriented understanding, why say this, because this project I am in accordance with the object-oriented (so that is not right), we can look at the understanding.

(9): What technology will be used later, this temporarily did not think, and so on I will add here, if you have any good suggestions can also say.

4. Why use MVC instead of WebForm?

 (1) Why use MVC instead of WebForm? This is what I think, because I want to explain the pros and cons of WebForm and MVC, so that you can better understand the MVC and webform, and not like some people say that MVC will replace WebForm, I personally think this possibility is very small, because each has its own benefits, see where to use it , I'll briefly introduce the pros and cons of WebForm and MVC below.

(2) WebForm Introduction

1) Advantages

1): Support the event model, depending on Microsoft provides a rich server-side build, WebForm can quickly build Web applications.

2): Very convenient to use, easy to get started, but to understand the bottom still has to pay a great effort, this is us. NET programmers are known to only drag controls for the reason.

3): Microsoft provides a large part of the controls, and many companies have developed a lot of controls for our programmers to use.

2) Disadvantages

1): Encapsulation of strong, a lot of things from the bottom of the package to let us beginners are not very clear.

2): Getting Started is very easy, but it is very difficult to improve without studying the underlying, so we must have time to study the bottom.

3): Complex life cycle Model learning is not very easy, a lot of events.

4): Control is not very flexible, the control of the server control is very difficult.

5):ViewState processing, between the request and the response between the delivery, when we use WebForm developed the site, we can right-click in the browser to see the source code will see a lot of ViewState, very wasteful of resources and waste of server broadband.

6): For asynchronous requests, each request must have a generic handler or ASPX page corresponding to the background.

(3) Mvc

1) Advantages

1): MVC easily divides complex applications into m,v,c three component models, Model,view,controler effectively simplifies complex architectures and embodies a very good isolation principle.

2): Because the server-based forms (Incident response model) is not used, we can make the programmer more flexible and the page cleaner.

3): Can control the custom URL, that is, MVC in the routing mechanism, this can be said to be a highlight of MVC, no longer we in the WebForm era of the configuration of static page process. and for SEO friendly. Can make more use of web crawler.

4): Strong-type View implementation, more secure, more reliable, more efficient.

5): Let Web developers (programmers) can focus more on a particular layer of development, conducive to our division of labor with the use of large-scale architecture development.

6): MVC under the face of asynchronous processing more a good support, a control it can have a lot of action below, and each action corresponding can have a different request.

7): MVC checksum is very good, we just need to give each method into the node can be achieved cannot be null parity.

[Requred]

public string Name{get;set;}

8): When the form is submitted, it provides the function of automatic assembling.

9): Microsoft provides a number of global filters (Identity check filters, exception filters, action filters, view results filters), these are the new features that MVC brings, so that our development can be more rapid development.

ASP. NET Mvc+ef Framework +easyui the beginning of the Rights Management series

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.