Multiple file upload in Visual Studio 2013

This post is intended to explain multiple file uploads in asp.net without using any third party controls or framework. This new enhanced control was introduced in Visual Studio 2012 and working smartly with enhanced .net framework with Visual Studio 2013 [More]

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]

Microsoft Enterprise Library 6 - new release

Microsoft has released Enterprise Library version 6.0 in April-2013. Enterprise Library is more robust framework or class library written with performance and resource management best practices. Instead of reinvesting the wheel for data access framework, or other, you can easily plug-in this library into your application. It has blocks for Windows Azure or cloud specific also.Enterprise Library is basically a collection of application blocks. These application blocs are for helping developers by providing reusable components (for example, Data Application Block deals for common data access jobs). These blocks are easy to plug-in into projects. [More]

Event Propagation in jQuery

Event propagation is an important feature where an event is propagated to its parent control. It is onto that parent control to verify this event if it is coming from its child item and not meant for it, but that is not done automatically and we need to handle it. [More]

PHP vs Asp.net

comparing asp.net with php is illogical. asp.net is a framework where php is a language. So, logically we should compare language with language and not a framework with language. [More]