Repository Pattern Explained Simply

Repository Pattern is likely the only design pattern you will implement as software developer. %99 of software design patterns are very rarely implemented, but the repository pattern is something you will see everyday. First, let’s just see a Repository Pattern and what it is: All this code does is get…

read more

Async/Await in C# Explained Simply

Asynchronous programming is simply a way to make a computer do two things at once. In .NET Core, it is almost required to write high performance servers that can communicate with multiple clients. An asynchronous model allows multiple things to happen at the same time and doesn’t block the flow…

read more

Interfaces Explained Simply

Understanding what interfaces are and why we use them can be a real issue when first starting to code. The real reason we use interfaces is because (like any other programming concept) we are trying to stop duplication. Interfaces are way better at stopping duplication compared to inheritance; hence why…

read more

EF Core “Underneath The Hood”

Getting up and running with EF Core is easy, but it often pays dividends to understand how underlying technologies work. My aim is to provide a solid mental model of what’s going on when you actual access the database. Modeling When we first start programming, rarely do we ever start…

read more

Application DbContext Explained Simply

Arguably the most important part of Entity Framework is the DbContext. It’s basically a giant object you create with methods to get things out of a database. Another important aspect of the Application DbContext is that it configures things like the database address, tables, and event advanced relationships for the…

read more