Code Monkey home page Code Monkey logo

danvic.psu's Introduction

Danvic.PSU

Danvic.PSU is my graduation project of dotnet core version, this is a ASP.NET Core 2.0 MVC project

Get Started

  • 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.

Using Things

  • 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

Layer Introduction

  • 01_Entity: database entity layer, contains a system component of PSU.Entity
    1. 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
    1. PSU.EFCore: a class library which add EF Core to operate database
    2. 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
    1. PSU.Domain: a class library which achieve interfaces of PSU.IService
    2. 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
    1. PSU.IService: a class library which definition business rules
    2. 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

Page effect

login page administrator home page student home page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.