Search code examples
asp.net-coreentity-framework-6inversion-of-controlsolid-principlesloose-coupling

Asp.net core best practice example


I was searching for an example that implement all the new principles in .net web development, i found a good one but it was for mvc4

visit http://www.c-sharpcorner.com/UploadFile/3d39b4/crud-operations-using-the-generic-repository-pattern-and-dep/

The pattern that i'm searching for preferably using: asp.net-core EF6 code first loose coupling SOLID IOC

Thank you in advance


Solution

  • You can refer the ASP.NET Boilerplate framework for that.I highly recommend to explore it.It's Free and Opensource.

    It uses Dependency Injection frameworks as Castle Windsor and AutoMapper as a mapper API.

    You can learn following techniques and more ...

    • Layered Architecture
    • Domain Driven Design (DDD)
    • Dependency injection (DI)
    • Integration Testing
    • Solid Architecture

    Here are the links :

    ASP.NET Core MVC and EF 6

    ASP.NET Core, Entity Framework Core and ASP.NET Boilerplate to Create NLayered Web Application

    ASP.NET Boilerplate documentation