Setting Up A Fake REST API Using JSON Server Members Public

JSON Server is a great way to set up a full fake REST API for front-end development. JSON server can be set up literally in '30 seconds' and with no coding as the website claims. Capture some of the real API's data if it already exists

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Testing

Don't Let Entity Framework Fool Your Constructors! Members Public

Any state that an object can be in must be representable through the class constructor.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

DefaultAzureCredential: Unifying How We Get Azure AD Token Members Public

The DefaultAzureCredential is appropriate for most scenarios where the application is intended to ultimately be run in Azure. DefaultAzureCredential combines credentials that are commonly used to authenticate when deployed, with credentials that are used to authenticate in a development environment.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Azure

Back To Basics: Constructors and Enforcing Invariants Members Public

In C# or any class-based object-oriented language, a Constructor is used to create an object. The constructor is responsible for initializing the object's data members and establishing the class invariants. A constructor fails and throws an exception when the class invariants are not met. An invariant is an

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

Generating PDF: .Net Core and Azure Web Application Members Public

Using NReco library to generate PDF files on Azure Web App running .Net Core.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

TypeScript: Use Sum Types To Your Advantage When Modelling Data Members Public

Recently I was working at a client, and we had to take online payment for the service they provide. There were two options to pay - either in part or in full. When paying in full, the payment included a total amount and a refundable amount. When paying in partial,

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Programming

Azure DevOps Build Release Pipeline For Create React App Members Public

Create-react-app is the defacto for most of the websites that I work on these days. In this post, we will see how to set up a build/deploy pipeline for create react app in Azure DevOps. We will be using the YML format for the pipeline here, which makes it

Rahul Pulikkot Nath
Rahul Pulikkot Nath
DevOps

2019: What Went Well, What Didn't and Goals Members Public

A short recap of the year that is gone by and looking forward!

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Thoughts