Repository Design Pattern in C# Part 2

This is part two of a two part series. TheĀ first post covers the thought process that I often go through when implementing the repository design pattern. This post will show a complete implementation. I want to start by saying that I don’t really have a preference as to whether repositories should be coarse-grained or fine-grained. However, I do find that …

Repository Design Pattern in C# Part 1

This is part one of a two part series. This post covers the thought process that I often go through when implementing the repository design pattern. The next post will show a complete implementation. The repository design pattern has become very popular in the .NET ecosystem in recent years mainly because it is a simple data access abstraction that can …

ASP.NET MVC Bundling and Minification for Beginners

Starting in version 4, ASP.NET MVC has been capable of bundling script and style files and minifying them to help make sites faster. Bundling and minification is not a black box. Its easy to see what is going on using only your browser. The image below is a default MVC application that has not been bundled.   Without Bundling and …

Entity Framework for Beginners Part 4 – Extras

This post is part 4 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras To this point, we have covered the basics of Entity Framework. In this post, I will go over …

Entity Framework for Beginners Part 3 – DbContext

This post is part 3 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras The DbContext is Entity Framework’s keystone. It is where all the action takes place. In this post, I …

Entity Framework for Beginners Part 2 – Migrations

This post is part 2 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras In this post, I will take a close look at Entity Framework migrations. Migrations are a way to …