Author Archives: saikk - Page 9
404 Error encountered while cloning the remote GitHub repository
Error Message: Error encountered while cloning the remote repository: Response status code does not indicate success: 404 (Not Found). You will get this error message when you are trying to clone…
Working with new enhanced Feature of ‘ref’ Keyword in C# 7.0
Here In this article, I will try to explore the new enhanced feature of 'ref' keyword. As a programmer, we are familiar with 'ref' keyword, which allows us to pass…
Problem with ASP.NET using MySQL Connecting through ODBC Driver in some Hosting Servers
Recently I hosted one of my application which is using MySQL as backend and I decided to use MySQL .NET connector to access the MySQL server. I hosted one of the…
How to check if an appSettings key exists or not in web.config?
Problem Statement There might be a chance of missing the appSettings Key and it leads to an runtime exception when system doesn't found particular Key. Solution For this we have…
Using Caller Information attributes in C#
Caller Information attributes are newly introduced in Framework There are three attributes which are more helpful in tracing, debugging and diagnosis the application. These attributes will provide some information about…
Issue: The length of the string exceeds the value set on the maxJsonLength property
Problem Statement Many people had faced with their MVC Applications with the following issue. Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the…
Working with new Value Tuple Data Structure in C# 7.0
Problem Statement: Want to return multiple results from the single method of different types. To achieve this functionality, there are three methodologies until Framework version * and following are those…
Working with Local Functions in C# 7.0
Today we will learn something cool feature called Local Functions in our newly upgraded version of C# , As we already know about Public and Private functions in our C# language.…
Working with Concurrent Dictionary in C#
Concurrent Dictionary is a new member of Collection family and this Dictionary will be used to handle multiple threads scenarios. Let's dig more into this collection. ConcurrentDictionary can be found…
Do we need to use Newtonsoft.Json.JsonConvert.DeserializeObject() or Newtonsoft.Json.Linq.JToken.Parse()?
So many people got this question like to deserialize any JSON string should we need to use ()or ()method?? Let begin the explanation uses LINQ-TO-JSON API internally to loop through…