Service mesh in Service Fabric

Introduction Microservices is here to stay and we can witness the increasing popularity and the maturing technology stack which facilitate microservices. In this great article which explains about the maturity of microservices and the 2.0 stack, it mentions three key aspects. Service mesh Matured orchestrators RPC based service protocols. This post focuses on the communication infrastructure in Service … Continue reading Service mesh in Service Fabric

Advertisements

Dependency Validation Diagrams do not work in ASP.NET Core / .NET Core

Introduction Dependency validation helps to keep the code architecture clean and rules enforced. The video below gives a quick introduction to the dependency validation in Visual Studio. https://www.youtube.com/watch?v=w8kF3goKZPQ Recently a friend, asked about enforcing constraints in a project architecture, I explained this to him. But I haven't used it any of my previous projects (we're … Continue reading Dependency Validation Diagrams do not work in ASP.NET Core / .NET Core

HttpResponseMessage vs IHttpActionResult

In Web API 2 IHttpActionResult is introduced. Read this post which explains the Web API 2 response types and the benefits of IHttpActionResult Assuming you’ve read the above article it is recommended to use IHttpActionResult. Apart from the benefits of clean code and unit testing the main design argument of using IHttpActionResult is the single … Continue reading HttpResponseMessage vs IHttpActionResult

How to create custom NuGet packages

NuGet provides an easy and a very efficient solution to distribute packages. A NuGet package can contain assemblies, content files and other tools that you want to distribute. A NuGet package is described by a manifest file known as nuspec. View the nuspec reference. You can use 3 sub folders \lib \content and \tools in … Continue reading How to create custom NuGet packages

Windows Azure Caching

Role Based Caching Windows Azure provides 2 primary role based caching options. Shared caching and Dedicated caching. Shared Caching is defining a portion of the memory of the web or worker role. This does not include additional charges since you’re already paying for the cloud service instance and using the portion of the memory. This … Continue reading Windows Azure Caching

Few good to know features of Entity Framework

I have been doing some reading about advance EF features for last couple of weeks and got to know some interesting things, this post is a compilation of the information and provides links to the relevant sites. Starting with EF 5.0 ObjectContext was replaced with DbContext. So what’s the difference between ObjectContext and DbContext ? … Continue reading Few good to know features of Entity Framework