JumpStart # 15–Unobstructive Validation in ASP.Net 4.5
Before looking at the code, Read about – What is JumpStart? ASP.Net 4.5 supports UnObstructive JavaScript validation on client side with UnobtrusiveValidationMode="WebForms" attribute on page level....
View ArticleJumpStart # 17–Difference between IEnumerable and IQueryable in...
Before looking at the code, Read about – What is JumpStart? IQueryable<T> basically generates the complete expression tree and then executes it to get results, where are it is not true in...
View ArticleParallel Programming in C#
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace ParallelProgrammingDemo { class Program { // Main Entry point of execution. static...
View ArticleObject Pooling in C#–Memory Optimized Performance
Object pools can improve application performance in situations where you require multiple instances of a class and the class is expensive to create or destroy every time. When a program requests a new...
View ArticleJumpStart # 16–Lazy Loading using Lazy in C# 4.0
Before looking at the code, Read about – What is JumpStart? From C# 4.0, .Net Framework supports Lazy initialization of instances. Lazy initialization helps in loading instances (especially useful...
View ArticleDependency Injection for Multiple Concrete Implementations of an Interface
Dependency Injection and Inversion of Control (IoC) are one of the key players in todays web architectures. DI improves code reusability and guarantees loosely coupled systems. Having a DI onboard will...
View ArticleFile Upload using MultipartFormDataStreamProvider in ASP.Net WebAPI
In this short tutorial, we are going to see how to upload multiple files using MultipartFormDataStreamProvider in ASP.Net WebAPI. The concept is based on Multipart/form-data in which we can POST not...
View ArticleJumpStart # 20– Do not include config data in class libraries, instead inject...
Most of the Junior developers tend to put up there configuration sections of class libraries (DLL’s) along with them. The typical class libraries (for example – Data Access Layer, Business Layer etc)...
View ArticleHow to # 1- How to use LINQ Conversion Operator “OfType”
In this How to #1, we are going to see how to use LINQ Conversion Operator “OfType” to retrieve the different types of objects from an Object array based on the type of the Object. using System; using...
View ArticleSimple C# Application to Remove/Clean Unused/Orphaned Resource file entries
In most of the present day code development, Application Localization is being achieved using RESX files. As time progress, we might not be able to keep track of which key-value pairs of a RESX file...
View Article