Menu
Richardson Maturity Model in REST API

Richardson Maturity Model in REST API

The Richardson Maturity Model is a model developed by Leonard Richardson in 2008 to categorize and rank the architectural maturity of web APIs based on their adherence to REST (Representational State Transfer) principles. REST is a style of software architecture for distributed systems, often used in web services development.

C# querying the EWS Managed API from as asp.net core web api

C# querying the EWS Managed API from as asp.net core web api

Let see how we can integrate the Microsoft Exchange (AKA EWS) and access the information.

C# – Unit testing a AutoMapper Profile mappings

C# – Unit testing a AutoMapper Profile mappings

When you use AutoMapper to map our objects, and AutoMapper profiles are the way we do it, it encapsulates a lot of business logic in some cases. But we need to make sure the business logic gets unit tested.

C# – Unit testing a Mediator handler that has AutoMapper Profile

C# – Unit testing a Mediator handler that has AutoMapper Profile

As part of my Mediator handler, I have multiple dependencies injected they are DbContext, IMapper. But remember, as part of the application initialisation we have AutoMapper Profile registration automatically. But it’s not the case with Unit Testing we need to register the dependencies or mock them. Therefore we need to add the Profile to our IMapper initialisation.

Entity Framework Core (EF Core) group daily data to monthly

Entity Framework Core (EF Core) group daily data to monthly

I had to create a chart from Chart JS to display, displaying data with Chart JS is super easy, but getting the data from the server is bit tricky unless you are a SQL expert (well not me :)). Below query will group it by month.

Creating a C#/ .net service to do Google Places API look up

Creating a C#/ .net service to do Google Places API look up

This code snippet demonstrates how you can create a C# .net service to do Google Places API lookup API

Creating a Azure Mobile Service (also using OData) to create a generic BaseController for CURD operations.

Creating a Azure Mobile Service (also using OData) to create a generic BaseController for CURD operations.

Creating a Azure Mobile Service (also using OData) to create a generic BaseController for CURD operations.

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 2

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 2

In this tutorial I will be building a Australian suburb look up module using ASP.NET Core web API, as the second part I will create the client side, using Angular 2

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 1

Creating quick suburbs look up using ASP.NET Core web API and Angular 2 – part 1

In this tutorial I will be building a Australian suburb look up module using ASP.NET Core web API, as the first part I will create the server side.

Server side pagination in ASP.NET controler that supports any entity

Server side pagination in ASP.NET controler that supports any entity

Pagination on server side is a very common scenario. So thought about creating helper.

Setting up AutoMapper in asp .net core app using AutoMapperProfile configuration

Setting up AutoMapper in asp .net core app using AutoMapperProfile configuration

This small tutorial will teach you how to set up AutoMapper, using AutoMapperProfile configuration

Configuring the AutoMapper property binding behaviour

Configuring the AutoMapper property binding behaviour

You will have to change the way the properties get mapped most of the time, as it not always one-to-one.