Show Menu
Cheatography

ASP.NET Core MVC Cheat Sheet (DRAFT) by

Things to keep in mind when developping ASP.NET Core MVC

This is a draft cheat sheet. It is a work in progress and is not finished yet.

C# Coding Reminders

Methods
Methods start with a capital letter
Variables
Variables start with a small letter
Interfaces
Interfaces should be public

C# .NET Concepts

Dependency Injection
This layer contains the interface to the user
Inversion of Control (IOC)
IOC is a design principle to achieve loose coupling between applic­ation classes.
DAL
Data Access Layer: epresent your database schema related to Database Activity
IOC
Use an interface every time there is an intera­ction between layers.
 

Three Layers Archit­ecture

Presen­tation Layer (UI)
intera­ction with views
Business Logic Layer (BLL)
manipu­lation of data
Data Access Layer (DLL)
manipulate database
Note: Any intera­ction between layers must use an interface. e.g. UI <-> BLL or BLL <-> UI