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# – Convert HTML to PDF using pdf.co API

C# – Convert HTML to PDF using pdf.co API

Let’s see how we can use pdf.co API to convert the same HTML using C# (.net)

C# Unit test a Repository class using a Seeded InMemoryDatabase

C# Unit test a Repository class using a Seeded InMemoryDatabase

If you wanted to unit test a Repository that uses a DbContext with seeded data, you can use the InMemoryDatabase.

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.

Unit testing Basic Authentication Handler in asp.net core (C# )

Unit testing Basic Authentication Handler in asp.net core (C# )

Unit testing Basic Authentication Handler in asp.net core (C# ), I will be using the Xunit (my preferred) and Moq, I personally prefer NSubstitute, but the project was already using Moq and I didn’t want to change it.

Using OData to fast track your API development

Using OData to fast track your API development

I have been having a lot of interest in OData for a few years, but never had the opportunity to actually start implementing it. Since I can’t see an interesting project on the horizon, I thought I will start playing around with one of the sample databases, Adventure Work.

ASP.NET Core C# API – Register a service dependency that uses HttpClient correctly

ASP.NET Core C# API – Register a service dependency that uses HttpClient correctly

More often we have to call a RESTfull service, it could be simple as sending an email, SMS, posting a message, etc. We use can use an HttpClient for all our HTTP calls. Alternatively, we can use a library such as Restshaper.

Securing the Windows Azure Storage Blob files with Shared Access Signature

Securing the Windows Azure Storage Blob files with Shared Access Signature

In a previous blog post, I demonstrated how easy to save and delete the file to Azure Blob Storage. If they are just public images its alright to leave them as public, but if they are private images and documents we need to secure them.

Writing Twilio service to send SMS (TXT) Australian mobile number

Writing Twilio service to send SMS (TXT) Australian mobile number

In one of my previous blog post I have put together a service to verify valid Australian mobile number, in this post I will share the service I use to send SMS (TXT) messages to mobile numbers. 

Writing Twilio service to validate Australian mobile number

Writing Twilio service to validate Australian mobile number

Send a SMS (TXT)/Voice message to given mobile number, for SMS (TXT) based  verification will receive a 4 digits number which they will enter back. and that number get validated

Asp.net Core – User Accessor service to retrieve the current user from the HttpContext

Asp.net Core – User Accessor service to retrieve the current user from the HttpContext

Retrieve JWT claims from Bearer Token in API/MVC

Asp.net Core – Centralising FluentValidation rules to a service

Asp.net Core – Centralising FluentValidation rules to a service

Centralising FluentValidation rules to a service

Asp.net core API – Issue Jwt token upon successful login

Asp.net core API – Issue Jwt token upon successful login

This is a continuation of my previous post of Setting up Asp.net core API for JwtBearer Authentication. This will show how to issue Jwt tokens upon successful login

Setting up Asp.net core API for JwtBearer Authentication

Setting up Asp.net core API for JwtBearer Authentication

Setting up Asp.net core API for JwtBearer Authentication

Asp.net core 2.0 and Entity framework Core – registering DbContext with ServiceLifetime.Transient

Asp.net core 2.0 and Entity framework Core – registering DbContext with ServiceLifetime.Transient

Registering the DbContext in order to use it throughout the application as ServiceLifetime.Transient

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.

Uploading files from Angular 2 and ASP.NET Core Web API – Part 2

Uploading files from Angular 2 and ASP.NET Core Web API – Part 2

This is the part 2 demonstrating how to save the files sent by Angular 2 on ASP.NET Core server

Uploading files from Angular 2 and ASP.NET Core Web API – Part 1

Uploading files from Angular 2 and ASP.NET Core Web API – Part 1

This is the part 1 demonstrating how to upload the file from Angular 2. Please check out part 2 for the ASP.NET Core server side logic.

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.

Using Sqlite in ASP.NET Core

Using Sqlite in ASP.NET Core

Using Sqlite in your asp.net core application

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.

Advance auditing – audit every entity using EntityFramework-Plus

Advance auditing – audit every entity using EntityFramework-Plus

Auditing every changed field using the EntityFramework-Plus

Validation on server side using Fluent Validation

Validation on server side using Fluent Validation

When it comes to ASP.NET, it much easier to do the validation using FluentValidation.

Setting up Azure Active Directory Single Sign On on a ASP.NET (.NET 4.5) web app using OpenIdConnect (Cookies based)

Setting up Azure Active Directory Single Sign On on a ASP.NET (.NET 4.5) web app using OpenIdConnect (Cookies based)

Setting up Azure Active Direactory Single Sign On on a ASP.NET (.NET 4.5) web app using OpenIdConnect (Cookies based)

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

Configure ASP.NET MVC application routes for Anguler SPA

Configure ASP.NET MVC application routes for Anguler SPA

Angular 2 html routing with ASP.NET Core MVC application giving a 500 error when you do a browser refresh (F5), probably this tutorial if for you.

Entity Framework Core extensions remove pluralisation of table name

Entity Framework Core extensions remove pluralisation of table name

Writing an extension for removing pluralisation of table names in Entity Framework Core extensions.

Setting up tsconfig.json on your ASP.NET Core project for Angular 2 app

Setting up tsconfig.json on your ASP.NET Core project for Angular 2 app

How to set up the tsconfig.json in Visual Studio for your Angular 2 app.

Entity Framework Core setting default database schema

Entity Framework Core setting default database schema

Entity Framework Core setting default database schema for your code first tables and migration history tables