Easyui Building Front page framework [with source code]
In the beginning, we have a series of solutions, we will start to build a new system.
The user's experience already needs to pay more and more attention, this time we are the left and right column, the left-hand side is the system menu, the right-hand side is a Tabs page composition page collection, each tab can refresh and close individually, because they will be an IFRAME
工欲善其事 its prerequisite. The following tools are required.
Visual Studio 2012
You can install MVC4 for vs2010 with VS2010, but it seems like you will not be able to use EF5.0 will be EF4.4 version, but this is not much of a relationship.
MVC4 will be mounted on the. NET Framework4.5.
Good!
Open our familiar vs to create an empty solution. I got a name called Appsolution, the class library namespace will be named after the App openings, such as app.bll,app.web, like a cool friend you can name
such as Joy.bll,jason.bll,zhangsan. BLL, whatever you want. It's directly BLL.
We will create the project
1. MVC4.0 's app.admin Web site internet option, select Razor View
Download easyui1.3.2:http://www.jeasyui.com/download/index.php First
The highest version is 1.3.4 we chose 1.3.2 because 1.3.2 above is jquery 2.0
Jquery2.0 will not support IE8. If you have abandoned IE8, you can experience a higher version and a smaller, faster JS library. (as the official said)
Delete unnecessary things, because some things we want, some reservations, copy Easyui to the corresponding directory, I like to open the script and style.
1. Put the jquery.easyui.min.js in the scripts directory
2. Subject themes to the content here I only keep the gray and blue theme, other topics my aesthetic has limits, you can go to Easyui official download new theme
3. Move the images folder to the content
4.Filters File Erase
5. Put the material into the content directory, I have prepared for everyone this project to use the picture material, not enough we add
6. Remove the Controllers Accountcontroller.cs,homecontroller.cs
7. Delete the cshtml from the view.