Think Big, Act Small, Fail Fast and Learn Rapidly


Onion Architecture In ASP.NET Core MVC Detail

Table of Contents   Introduction   Tight Coupling Loose Coupling   Advantages of Onion Architecture Why Onion Architecture Onion Architecture Layers   Domain Entities Layer Repository Layer Service Layer UI Layer   Onion Architecture Project Structure   OA.Data OA.Repo OA.Service OA.Web   Implement Onion Architecture   Domain Entities Layer Repository Layer Service Layer UI Layer   Create Application User Interface   User List View [More]

Onion Architecture In ASP.NET Core MVC

Introduction A Visual Studio 2015 project which shows how to perform the create, read, update and delete operations in the ASP.NET Core MVC application using onion architecture with Entity Framework Core Code First approach. The code illustrates the following topics: Listings, create, update and delete operations. One to one relationship in Entity Framework Core. Create, Update and Delete operations perform in bootstrap modal pop up with tag helpers. Database design using entity framework core [More]

ASP.NET MVC Solution Architecture – Best Practices

Bài viết hơi cũ, nhưng kiến trúc dạng này thuộc vào dạng ngon, đáng để tham khảo. SourceCode: mvcarchitecture Entity Framework Code First development Generic Repository Pattern Dependency Injection using Autofac framework Automapper Choosing the right architecture for Web Applications is a must, especially for large scale ones. Using the default Visual Studio ASP.NET MVC Web Application project templates, adding controllers with Scaffolding options, jus [More]