Overview of ASP. NET MVC5 website development (I), mvc5 website development
As I failed to finish writing the last few times, I had a free time at the end of the year and wanted to continue to work hard. So I downloaded the VS 2015 Professional Edition (I do not know why I especially love the Professional edition but not the Enterprise Edition ). Due to my previous lessons, I decided to write a simple Deom. To what extent should I do? Simply, you can add and Modify columns. After logging on, you can add and manage articles. After logging on as an administrator, you can modify website settings (such as the title and copyright information. In order to avoid the previous issue that people often don't know which code is the latest, this time I am going to publish the Code directly to Codeplex.com for an open-source code. Then, you can directly download the latest code from Codeplex.com. In addition, you may also have a virtual host. Use this demo to create a personal website to play O (website _ website) 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
Ii. Main Functions
Topic content user administrator
Iii. Project Architecture
Microsoft SQL Server 2014 LocalIt is the database that comes with VS2015 installation.
The data storage layer is mainly responsible for database operations.Ninesky. DataLibraryProject to query, add, modify, and delete databases.
The business logic layer is mainly responsible for business logic processing.Ninesky. CoreThe MVC Model is implemented in this project. Ninesky. Core Project by callingNinesky. DataLibraryData operations and services provided to Ninesky. Web.
The presentation layer is mainly responsible for displaying relevant content, which is implemented through Ninesky. Web projects.Ninesky. WebIt contains "System" and "Member ".
The System area is the back-end control center, which is used for background setting. The Member area is the Member center, which is generally used for content management after logon.
Ninesky. WebUses front-end frameworks such as JQuery, Bootstrap, and UEditor.
JQuery and Bootstrap are built-in for creating MVC projects. UEditor is a rich text editor developed by Baidu. It was originally considered to use KindEditor, but it was not updated for too long (not because the project is dead). CKEditor Castrated the file management function (CKFinder) and CKFinder needed commercial authorization, after all, I took a fancy to UEditor and supported local products. Baidu was using them. The functions and stability should be good. Based on the MIT open source protocol, UEditor allows free use and modification of code ...., I said a bunch of things are mainly free of charge.
Iv. Interface
A few interfaces are roughly drawn as a schematic. You can modify the interface according to your feelings during actual production.
Home Page
Topic Page
Content Page
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.