Danvic.PSU is my graduation project of dotnet core version, this is a ASP.NET Core 2.0 MVC project
- First you need to restore nuget packages to add used packages in this project, also you can build solution to achieve this target.
- Second you need to set sql connection string according to your own configuration, the config info at the appsettings.json file, the config node is SQLConnection which under the ConnectionStrings node.
- Third and last you just need to set the PSU.Site as the startup project and then run it.
- Project Framework: ASP.NET Core 2.0 MVC
- ORM: Entity Framework Core(using Code-First to create database)
- SQL Engine: MySQL Server 8.0
- Permission Validation: Policy-Based Authorization
- UI Template: AdminLte(a open source ui template based on Bootstrap 3.x, this repository address is https://github.com/almasaeed2010/AdminLTE)
- Tables Control: Jquery Datatables
- Data Visualization Control: ECharts
- Log: NLog
- 01_Entity: database entity layer, contains a system component of PSU.Entity
- PSU.Entity: a class library which used to store the C# object entity corresponding to the table in the database
- 02_Infrastructure: basic structural layer, contains two system component PSU.EFCore and PSU.Utility
- PSU.EFCore: a class library which add EF Core to operate database
- PSU.Utility: a class library which contains some useful code helper class like json convert helper, html convert helper etc.
- 03_Logic: business logic layer, contains two system component PSU.Domain and PSU.Repository
- PSU.Domain: a class library which achieve interfaces of PSU.IService
- PSU.Repository: a class library which contains some functions where using linq to achieve some operate of PSU.Domain
- 04_Rule: business rules layer, contains two system component PSU.IService and PSU.Model
- PSU.IService: a class library which definition business rules
- PSU.Model: a class library which contains view model of site pages model
- Controller.PSU: controller of mvc
- PSU.Site: a mvc project template(without controller), using areas to distinguish different roles