Const vs Readonly in C#

In short, when an expression references a constant, the value of constant is obtained at compile time only, it means all expressions replaced with constant value. But, If expression is referencing a Readonly field then the value of field is obtained at runtime. [More]

Dynamically adding controls using jQuery asp.net

jQuery can be used for recreation of controls which can save server round-trip that was required to handle in each post back if we use server side approach. We have two simple way to get values of dynamically added control's(at client side without server round-trip) at server side... [More]

How to use Data Access Application Block – Enterprise Library

This sample solution has a website, class library for Data Transfer Objects and a class library for Data Access. It is simple solution targeted to explain the usage of DAAB so it doesn’t have more layers and complexity. We will call a data access method directly from our website and that data access method will use DAAB to process our request. [More]

Database provider factory not set for the static DatabaseFactory

Database provider factory not set for the static DatabaseFactory. Set a provider factory invoking the DatabaseFactory.SetProviderFactory method or by specifying custom mappings by calling the DatabaseFactory.SetDatabases method.
New Enterprise Library version 6 requires to set for factory method if we are using xml configuration files to configure application blocks. [More]

WCF Service Throttling Behaviour

WCF provide us a good way of extensibility to customize various WCF capabilities. We can customize Encoding message, Intercepting parameters etc. and extend the behaviour. Throttling behaviour of service plays an important role and can be set behaviour properties according to our business needs. Three important properties for optimizing our WCF service behaviour are - MaxConcurrentCalls, MaxInstances and MaxConnections [More]

Organized and presented at C# Corner Chandigarh Chapter meet on 03-August-2013

Being a Chapter Lead, I organized this event with help of executive members on technology discussion so named it “Technology Day”. We did this meeting on 3rd August at Unit Nexus Corporation, Zirakpur with help from SSS & Educational Society, Gorakhpur. [More]

What is SignalR ?

SignalR is new buzz in development technology. It is not going to replace asp.net but works for asp.net. It is a technology ( in more technical words it is a library) that facilitate us to add real-time functionality into our asp.net based applications. It is very useful where high time/real time update is required like online group gaming, chat, stock trade etc. [More]