Giter Site home page Giter Site logo

sullivan008 / csharp-asp.net_core_mvc-simplecrudexample Goto Github PK

View Code? Open in Web Editor NEW
25.0 1.0 3.0 3.22 MB

C# - ASP.NET .NET Core MVC - Simple CRUD Example Application with Repository and Unit of Work Pattern. [Year of Development: 2019 and 2020]

C# 79.90% HTML 18.09% CSS 1.67% JavaScript 0.33%
csharp asp-net-mvc dotnet-core ioc ioc-container generic-repository-pattern unit-of-work-pattern bootstrap4 sqlite inmemory-db

csharp-asp.net_core_mvc-simplecrudexample's Introduction

C# - ASP.NET .NET Core MVC - Simple CRUD Example Application with Repository and Unit of Work Pattern. [Year of Development: 2019 and 2020]

About the application technologies and operation:

Technologies:

  • Programming Language: C#
  • FrontEnd Side: ASP.NET MVC - .NET Core 2.2
  • BackEnd Side: .NET Core 2.2
  • Descriptive Language: HTML5
  • Style Description Language: CSS (Bootstrap 4.3.1)
  • Database: SQLite In Memory Provider (Code First Database Migration)
  • Other used modul:
    • ASP.NET Identity Core
    • SQLite In Memory Provider

Application solution structure:

  • SimpleCRUDExample:
    • Includes the FrontEnd Side of the application.
    • Includes IoC DI Registers, with separate configuration files.
    • Includes Middlewares.
  • Data.DataAccessLayer:
    • Includes the Database Context.
    • Includes the Database Entities.
  • Core.ApplicationCore:
    • Includes classes and interfaces required for Generic Repository Pattern.
    • Includes classes and interfaces required for Unity of Work.
    • Includes classes and interfaces required for BackEndException Handler.
  • Core.Common:
    • Includes the DTOs used for the application.
  • Business.Engine:
    • Includes the necessary classes and interfaces to implement Business Logic.
    • Each Controller has it's own BL interface and class.

Installation/ Configuration:

  1. Restore necessary Packages on the selected project, run the following command in PM Console

    Update-Package -reinstall
    

About the application:

The purpose of the web application is to list, create, modify an d delete Formula One Teams. The creation, modification and deletion are only possible after login!

The Formula One team as an entity, has the following characteristics: Name, Year of Establishment, Number of World Championships Won and Have you paid the entry fee.

The application shows the following:

  • How to implement Generic Repository Pattern.
  • How to implement Generic Unit of Work Pattern.
  • How to use IoC Container in ASP.NET Core.
  • How to implement Middlewares in ASP.NET Core.
  • How to separate IoC Container Configurations in ASP.NET Core.
  • How to implement and register and using AutoMapper in ASP.NET Core.

csharp-asp.net_core_mvc-simplecrudexample's People

Contributors

sullivan008 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.