Latest Posts

Lets first see what do we mean by SOLID Priciples. As per the definitions given on Wikipedia:-

Single responsibility principle

a class should have only a single responsibility (i.e. changes to only one part of the software's specification should be able to affect the specification of the class).

Open/closed principle

"software entities … should be open for extension, but closed for modification."

Liskov substitution principle

"objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program."

Interface segregation principle

"many client-specific interfaces are better than one general-purpose interface."

Dependency inversion principle

one should "depend upon abstractions, [not] concretions."


Here I used code first approach of entity framework to generate the database and in that application, use jqGrid and perform the CRUD operation using jqGrid with ASP.NET MVC with async operations.

jqGrid Introduction

jqGrid is an AJAX enabled grid plugin for the java script which provides complete solutions for representing our data in the tabular format. This provides lots of features to manipulate data. Because it is a jQuery plugin it will work only on client side not on server side but for binding the data which will be on server side it can be loaded dynamically using ajax call. This is a free and open source library, which is distributed under MIT licence.

Features of jqGrid

  • Works good under IE, Chrome, Mozilla, Safari and Opera
  • CSS customizable with full Themeroller support
  • UI in 20+ languages
  • Supports Paging
  • Supports Sorting
  • Supports Insertion, Edit, Deletion, Searching, Filtering
  • Inline Editing
  • AJAX enabled
  • Accepts XML/JSON/local array data sources
  • Import and Export Data



In this post we will see how to create a proxy class of a SOAP web service using command line and wsdl.exe


We all encounter such situations where we need to update records, just like in CRUD operations. Suppose we need to create a new instance of a service. What do you think is the efficient way? Will you create a new instance of service for each update? And what if the number of users increases drastically and the performance of your application goes down? 


Any public method in a controller can be called as an action. Usually actions returns any type that derives from ActionResult. 

Similarly, ViewResult is also a action that is heavily used to return from any public method in controller as return type. View Models are classes specially created for views. They contains properties related to both domain as well as UI.

Following is the list of various Actions can be called as action.