All Stories

Angular - Add Custom Font
November 12, 2019 · 2 min read

A short article about how to add custom font files to your Angular projects.

C# - Convert DateTime to Long and Vice Versa
October 29, 2019 · 2 min read

Transform datetime to long or long to datetime in C#.

Gatsby - See All Generated Pages
October 05, 2019 · 1 min read

See all the pages generated by Gatsby.

Azure - Configuring End-to-End SSL for IIS Website by using Application Gateway
September 24, 2019 · 3 min read

This article brief about the steps involved in making an end to end HTTPS website which hosted in a VM IIS, in Azure and the traffic need to be routed via Application Gateway.

C# - Get Last N characters from a string
September 22, 2019 · 2 min read

A simple C# extension method which use Substring to get the last N characters in a string.

ASP.NET Core - Return 500 (Internal Server Error) or any other Status Code from API
September 16, 2019 · 2 min read

A good API will respond with proper HTTP status codes. In ASP.NET Core, returning status code is easier than you might think.

C# - Get Web.Config Connection String in a Class Library
September 15, 2019 · 2 min read

If you can, pass the connection string as a parameter to the class library. Second option is System.Configuration.ConfigurationManager

Using AutoMapper in a .NET Core Class Library
September 11, 2019 · 2 min read

Configuring and using AutoMapper in a .NET CORE class library is briefed in this article.

Dapper - Execute Multiple Stored Procedures
September 05, 2019 · 2 min read

Dapper provides extension methods to execute multiple queries within the same command. The same can be used to execute multiple stored procedures.

IIS - Disable CORS
August 14, 2019 · 1 min read

Disable CORS for IIS 10 website by allowing all origins in two simple steps.