Deploying a Web Application to Local IIS using Visual Studio 2017

In this post we are going to see how to deploy a web application on your development machine. The end goal is to have a web application running on the development machine outside of the context of Visual Studio and which is accessible to other devices on a local network.

Vertical Slices Application Design with MediatR: Part 2

This is the second post of my two-part series about designing applications using vertical slices and how the open-source library MediatR can facilitate this design. In the first post we talked about the vertical slices design and how it addresses some of the problems in traditional database table-centric designs. In this post we will see how we can implement a vertical slices design using the open source library MediatR. Put on your programmer hat as we'll dive into some code!

Vertical Slices Application Design with MediatR: Part 1

This is the first of my two-part series about designing applications using vertical slices and how the open-source library MediatR can facilitate this design. In this post we will talk about the concept of vertical slices and in the next post we will look at some sample code that implements this design.

The second part of this series is now out: Vertical Slices Application Design with MediatR: Part 2

Entity Framework Search

Search is a common requirement in most business applications. In this post we will examine searching in Entity Framework and create a query object that encapsulates the common functionality of filtering, sorting, and paging.

Top Tips for Creating Maintainable Software

If you write code on a regular basis, then no doubt you have come across code that is difficult to understand and, consequently, difficult to change. If you're like me, then you will most probably have written bad code yourself! The good news is that writing good code doesn't have to be a complicated exercise. Today I'm going to share some principles and practices that you can use to write maintainable software.

Be Very, Very Lazy - A New Perspective on the Single Responsibility Principle

Today I'm giving a tip on how we can remember to follow the Single Responsibility Principle. I'm sure many of you will be able to relate to this tip (at least I surely can!) which is: be very, very lazy!

Entity Framework Code First Demo

I just created my first video on YouTube! In the video I demonstrated creating a database using the Entity Framework Code First workflow. Watch it below!

The Good and Bad of Writing Software

The good thing about writing software is that you can do anything you like. The bad thing about writing software is that you can do anything you like.