How To Read API Exception In C#
C#

In this article, we will learn about how we can read an API exception in C#.

The WebException class is thrown when an error occurs while accessing the API. It can check the Response property or the Status property of the exception to determine why the request failed.

Looping Performance In C#
C#

I am often asked by some people/colleagues, “which loop is faster?” “Which loop has higher performance?” Etc. I have heard that the For loop is faster than the For…each loop but I have never tried it before. So, I decided to see how big the difference is among all the loops and which one is faster at looping through an array and a list in terms of speed and performance.

C# Coding Standards
C#

In this article, we’ll learn how we can optimize lines of code, which we should follow to write better, more clear code

Dynamic JS And CSS in C#
C#

In this post, we will see how we can set automatic JS and CSS versioning to ignore the browser cache whenever the files are updated on the server. We will create a simple MVC project and call one JavaScript file from the View.

Subscribe

Select Categories