JQuery POST & GET Request to WCF Service in ASP.Net MVC
In this tutorial we see how to call a WCF Rest Service from ASP.Net MVC Application using JQuery. Lets get started –...
View ArticleC# Design Pattern–Singleton
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Singleton { public class MainEntry { static void Main() { // Create...
View ArticleC# Design Pattern–Facade
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Facade { //Main Entry to calculate Cost of Transportation - Car, Bike and...
View ArticleASP.Net MVC High Level Architecture
This article is intended to narrate MY OWN way of implementing ASP.Net MVC in many of recent projects which I have architected. On the first hand, I would like to describe the phrase – “MY OWN”, then...
View ArticleC# Design Pattern–Proxy
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Proxy { // Main Entry for execution class MainEntry { static void...
View ArticleJumpStart # 12–Multiple File Upload in ASP.Net 4.5
Before looking at the code, Read about – What is JumpStart? <%@ Page Language="C#" %> <!DOCTYPE html> <script runat="server"> protected void Button1_Click(object sender, EventArgs e)...
View ArticleJumpStart # 14–Strongly typed Data Controls in ASP.Net 4.5
Before looking at the code, Read about – What is JumpStart? ASP.NET 4.5 provides an ability to declare the data type of the data that a control is bound to throught ItemType property. When we set this...
View ArticleC# Design Pattern–Factory Method
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Factory { class Program { // Main Entry for execution static void...
View ArticleJumpStart # 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 ArticleJumpStart # 13–Async HttpHanlders in ASP.Net 4.5
Before looking at the code, Read about – What is JumpStart? Async Handler - <%@ WebHandler Language="C#" Class="CustomAsyncHandler" %> using System; using System.Web; using...
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
More Pages to Explore .....