All Articles

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 · 3 min read

A good REST 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 · 3 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.

Azure Web App - Web Deploy to a Sub-folder
July 30, 2019 · 2 min read

Follow this tutorial to configure web deploy from Visual Studio to a sub-folder in your azure web app (App Service).

Azure Web App - Missing MIME types
July 11, 2019 · 2 min read

If you are seeing "404 Not Found" for .woff, .woff2 or for .json files even if they exist on your azure web app, this is the post for you.