Tag: .NET

You probably want structure your project so that you can separate concerns. In our traditional applications, we are calling into reusable libraries to handle tasks, but with inversion of control (IoC) it is the framework that is calling into the code. By using IoC we are increasing modularity and are making our service more extensible.… Continue reading IoC in ASP.NET Web API projects

When you want to decentralize your application with independently deployable services you would probably design your software applications in a Microservice Architecture style. While there is no “best practice” or pattern to follow, you will most likely already have several projects running that would benefit from being smaller endpoints totally independent. Having a HTTP API… Continue reading Authentication in a microservices architecture (.net)

This post is a superfast guide to using Redis Cache on Azure with a small sample project using StackExchange.Redis. You can download the project here. On your Azure portal click on “New -> Redis Cache” and create a DNS name, a Resource name and select your plan. In Visual Studio, create a new Console Application.… Continue reading Redis Cache on Azure

One of the new cool features of the mongoDB Driver is that you can hook up to events on mongoDB and do monitoring/logging for your application. In this post I will show you a simple ASP.NET MVC project with logging. First of all, you need to get the project up and running and get the… Continue reading MongoDB Driver events