In this article, we will learn how to get a URL or extract different parts of URL in ASP.NET Core. You may at times need to get different parts or values from the URL.Read More..
In this article, you’ll learn what is the difference between the ref and out parameters in c#. ref and out keywords in C# are used to pass arguments within a method. By default, parameters are passed to a method by value. By using this ref or out keywords you can pass a parameter by reference.Read More..
n this article, you’ll learn how to get the specific query string parameter value from a string value in c#. We recently needed to parse and modify some query strings while building new redirects. There are various ways to achieve this but in this post, we are using the HttpUtility.ParseQueryString method and extension method to get the specific query string parameter value from the string URL.Read More..
In this article, you’ll learn what is Substring in C# and how to use the Substring() method in C#. A Substring in C# is a contiguous sequence of characters within a string. In other words, a substring is a portion of a string. The String class in C# represents a string. For instance, "the best of" is a substring of "It was the best of times".Read More..
In this article, you will learn how to get the total number of Mondays in the month in C#. In this program, the first step is to get the total number of days in the current month, and then find the first day. For each day in the month, check if the day is a Monday, if so, then increment the value.Read More..
In this article, you will learn how to increase the max upload file size limit in ASP.NET or ASP.NET MVC. I think this is the most common problem which is faced by most programmers. By default, the maximum file size allowed in ASP.NET is 4MB.Read More..