Tag archives for C# - Page 4
Working with New Out Variables & Discard Feature in C# 7.0
Out parameters are the most common feature we use in our regular development in C#. Out parameters are the parameters which will be sent by the calling method and expects…
How to Improve Application’s Execution Performance
For every application could be small or medium or a big enterprises application the major non-functional requirement will be a good code performance. In some cases, companies will hire a…
Part 3: Understanding with different ways of Injecting Dependencies
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Part 2: Understanding how to implement Dependency Injection using Unity
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Part 4: Understanding how Service Locator different from Dependency Injection
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Part 1: Understanding why we need to use Dependency Injection?
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Deferred vs Immediate Query Execution In LINQ
Deffered Query Execution: In .NET when you write a LINQ query it actually performs the querying only when the LINQ result is accessed. This phenomenon of LINQ is called deferred…
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…
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…