Andrew Hoefling

Speaker | Mentor | Coder | Leader

Image Manipulation is a powerful utility provided by .NET that can make really cool applications or tools depending what you are building. We have worked in both patterns building developer tools using basic image manipulation and production applications that required thumbnail and compression algorithms before we served images to the user.

When I first tried using Swagger with Web API I spent a little time looking through the configuration files and it seemed a little confusing to me. I did a little research and I came across Swashbuckle which makes adding Swagger UI into your Web API project a no brainer. It can hook right into your Startup Configuration class and should only take a few minutes to get the basics up and running. After learning how easy it is to setup Swagger UI in my Web API project I now spend the 5 minutes to add it in.

When building a test framework it is sometimes useful to be able to write test code against DbSet<T> objects. Since DbSet<T> implements IDbSet<T> it is relatively easy to wire up a mock for your entity. Before we jump in let’s go over an important concept in the Moq framework.