Since the last few times have not been able to finish, the end of the year finally have free time, and want to continue to do some work. So I downloaded the VS 2015 Professional Edition (I don't know why I particularly love the Professional edition, not the Enterprise version). As a result of the previous lesson, I decided to write a minimalist deom, how far is Jane? Simple to achieve only add, modify columns, users can add management after login, admin login can modify the site settings (also on the title, copyright information, etc.) these functions. In order to avoid the former people often confused which is the latest code, this time I am ready to release the code directly to the codeplex.com to do a code open source, then we go directly to codeplex.com download the latest code on the line. In addition, it is possible to engage in a virtual host, using this demo to do a personal website play O (∩_∩) o~.
I. Development environment and components
Microsoft Visual Studio Professional 2015
Microsoft SQL Server 2014 Express LocalDB
. NET Framework 4.5.2
EntityFramework 6.1.3
asp.net MVC 5
JQuery 1.12.0
Bootstrap 3.3.6
Ueditor 1.4.3.1
Second, main function
Column Content user admin
III. Structure of the project
Microsoft SQL Server 2014 The database that was brought in when VS2015 was installed.
The data storage layer is mainly responsible for the operation of the database, the function is realized by Ninesky.datalibrary Project, and the database is searched, added, modified and deleted.
The business logic layer is mainly responsible for the business logic processing, implemented by Ninesky.core project, MVC model in this project. The Ninesky.core project implements the operation of the data by calling Ninesky.datalibrary and provides services to the Ninesky.web.
The presentation layer is mainly responsible for displaying the relevant content and implementing it through the Ninesky.web project. ninesky.web contains two area "System" and "member".
The system area is the background control center, which is used to implement the background setting function; Member area is the Members center, and the general user can manage the content after logging in.
Ninesky.web uses a front-end framework such as jquery, Bootstrap, and Ueditor.
JQuery and Bootstrap are brought in when the MVC project is created. Ueditor is a rich text editor developed by Baidu. Originally considered using kindeditor, but too long did not update (not the road is not the project has died) decisively give up; CKEditor castrated the file management function (Ckfinder), Ckfinder need commercial authorization, all later fancy ueditor, support under the domestics, And Baidu's own use, the function and stability should be good, ueditor based on the MIT open source Agreement, allowing the free use and modification of code ..., said a large list of major or free.
Four, interface
A rough drawing of a few interface as a signal, the actual production time again according to the feeling of change it.
Home Page Interface
Section page interface
Content Page Interface
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.