Sample ASP.net MVC 4 project showing how to perform search or filter from collection of data (requested by folk)

Download Sample project from following link (Project Type: VS 2012 ASP.net MVC4) http://sdrv.ms/14hsdoO One of my folk requested to me to make a sample project on ASP.net MVC to show how to filter record from table. Here is the request from him; Search by (LastName, FirstName, etc.. this value should be in a dropdown) —- […]

Kendo Grid in Action

Download Kendo_Grid_In_Action.zip – 5.5 MB Content Introduction Background Where we use grid/table Before Starting with Kendo Grid Kendo Grid in Action Applying Kendo Grid on existing HTML Table Paging, sorting, filtering using Kendo Grid Resizing Kendo Grid Creating grid from JSON Data Rebind Kendo Grid with JSON Data Adding new row to Kendo Grid Getting […]

A curry of Dependency Inversion Principle (DIP), Inversion of Control (IoC), Dependency Injection (DI) and IoC Container

A curry of Dependency Inversion Principle (DIP), Inversion of Control (IoC), Dependency Injection (DI) and IoC Container using C#. Dependency injection using C#. Inversion of control using C#. IoC using C#. Download sample – 77 KB Introduction Background Dependency Inversion Principle (DIP) Let’s try to understand DIP with some example Problems we will face if […]

Delegate in C#

Delegate in C# I am not going to write formal definition here because you will find lots of definition of delegate by googling. Most of the time, new developer faces problem with delegate. They think actually what it is and why they use it instead of method. In simple word: What is Delegate? Delegate is […]

How to solve ” Could not load file or assembly ‘…’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057″ Error

Last day I have faced an error when I am compiling my ASP.net MVC application and this is for illegal shutdown of my computer. Here is my Error: ” Could not load file or assembly ‘EntityFramework’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 “ Similar types of Error: “Could […]

Executing *.sql file form C#

Sometimes we need to run *.sql script from our application for installing data base. SqlCommand is not right for running installation script because installation script consists of DDL and GO command. Here we use smo library for executing *.sql script. For doing above operation we need to add following references Microsoft.SqlServer.ConnectionInfo Microsoft.SqlServer.Smo Took me a […]