Posts by Year

2024

Adding Swagger to ASP.NET Core Web API Project

2 minute read

1. What is swagger? Swagger is an open-source set of rules and specifications. It is used for API documentation and testing the API endpoints. Swagger UI gen...

Back to top ↑

2023

Using static files in ASP.NET Core

2 minute read

INDEX Context Static files WWWroot folder Enable the static files in the ASP.NET Core project Reading static files

Recursion in C#

3 minute read

INDEX What is a recursion? Simple recursion Example: Power Example: Factorial Download samples

What is Promise.all() in Typescript?

2 minute read

The Promise.all() function accepts a collection of promises as input and returns an array of results when all of the provided Promises resolve, or rejected w...

Back to top ↑

2022

Back to top ↑

2021

HTTP Error 500.19 - Internal Server Error

less than 1 minute read

Error: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

Back to top ↑

2020

Setup a default route in ASP.NET Core 3.1 MVC

1 minute read

ASP.NET Core Creating a new ASP.NET Core Web Application on choosing an empty template will leave you with the empty configuration in the startup class fi...

Adsense: URL must be a valid top-level domain

less than 1 minute read

If you’re getting this error “URL must be a valid top-level domain” in the Adsense account while adding a new site like, http://www.sample.com Screenshot ...

How to delete all the websites hosted in IIS?

1 minute read

You will end up in the situation to delete one or more website instances hosted in the IIS server. I know it’s a frustrating task to delete the sites one by ...

Back to top ↑

2017

Back to top ↑