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 →

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 →

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 →

Generating code using System.CodeDom

Get the code sample for this post git We face several occasions that we need to generate code by automation. Several tools do exist in order to automate the code generation. In this article I discuss about the System.CodeDom which is part of .NET SDK. CodeDom is designed in the provider model and it gives... Continue Reading →

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 →

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 →

ObjectCache – Caching

In the ASP.NET domain all the state mechanisms can be considered as caching, both in the client side (view states, query strings, cookies) and in the server side (application state, session state and the Cache object itself.) You can define the classes and properties as static to get the effective functionality of caching. In ASP.NET... Continue Reading →

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 →

Powered by WordPress.com.

Up ↑

%d bloggers like this: