Tuesday, July 14, 2015

Array.prototype.splice()

Saturday, July 11, 2015

Post MVC Model Using JQuery

Case insensitive search in array | Javascript

Get Unique Element In Array | JQuery

Get querystring value in jQuery

Friday, May 8, 2015

Dynamic CSS with ASP.NET MVC and ContentResult

Thursday, May 7, 2015

Client validation after PartialView loaded via Ajax

ASP.NET MVC - Required Checkbox with Data Annotations

Saturday, April 18, 2015

Bundling & Minification- CDN

Thursday, April 16, 2015

Commonly used Nuget Packages for Client Side Validations

Bundling & Minification- I

Friday, April 10, 2015

Linq Query Examples - I

LINQ Architecture & LINQ Providers

Thursday, April 2, 2015

Disabling Fallback Namespaces in the RouteConfig

Wednesday, April 1, 2015

Extension Methods Library

Monday, March 30, 2015

Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.0.

Tuesday, March 24, 2015

IEnumerable VS IList

Sunday, March 15, 2015

Lifetime Management

Saturday, March 14, 2015

Unity.Mvc4 with MVC-1


Delete duplicate rows using CTE and ROW_NUMBER in SQL

Thursday, March 12, 2015

Wednesday, March 11, 2015

How to get Azure storage Account Key from a CloudStorageAccount object

Get all month names from DateTime in C#

Monday, March 2, 2015

Comparing ASMX and WCF


Wednesday, February 18, 2015

$.ajax, $.get, $.post, $.getScript, $.getJson differences in jquery

Wednesday, February 11, 2015

JQuery Edit Dialog Pop Up (Edit View in Jquery Dialog Box)

JQuery Dialog Confirmation Pop Up

JQuery Scrap

Monday, February 9, 2015

BootStrap Modal-1

Friday, February 6, 2015

PagedList - I

Wednesday, January 28, 2015

Javascript setTimeout function

Call JavaScript Function in One File from Another JavaScript File



Tuesday, January 27, 2015

WCF Vs Web Services

Understanding IEnumerable and IQueryable in C#


Monday, January 26, 2015

Polling AJAX Requests in JavaScript

Render MVC View as String


Sunday, January 25, 2015

Repository Pattern - I

 

Repository Pattern


Friday, January 23, 2015

Customizing View Engines

Thursday, January 22, 2015

Bundling & Minification

Area Registration in MVC

Wednesday, January 21, 2015

MVC Miscellanous ...

Convert @HTML.BeginForm to @Ajax form without using @Ajaxform helper

Tuesday, January 20, 2015

Razor Syntax Quick Reference

Load a Partial View inside the Parent View on ActionLink Click

 

How to load the partial view Client Side using Javascript

Tuesday, January 13, 2015

Create a custom remote attribute and override IsValid() method



Sunday, January 11, 2015

Load Navigation Properties Explicitly



DataAnnotations


  1.  

Friday, January 9, 2015

EF Migrations -Nuget Command Reference-1

 

EF- To Set Default Values in Database Columns using CF Migrations

 

EF: Database initialization strategy Code First -(1)

 

Wednesday, January 7, 2015

EF: Unrecognized element 'providers' exception while downgrading from EF-6 to EF-5


Sometimes the "<providers>" configuration is not removed while downgrading from EF-6 to EF-5.
some simply remove these "<providers>" tags inside the <entityFramework> tag.

<entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v12.0" />
      </parameters>
    </defaultConnectionFactory>
    <!--<providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>-->
  </entityFramework>

EF CodeFirst With Visual Studio Cannot drop database because it is in use error.

Execute the following script from the master database catalog:


USE MASTER
ALTER DATABASE MyDBName
   SET SINGLE_USER WITH ROLLBACK IMMEDIATE 
ALTER DATABASE MyDBName SET MULTI_USER

Monday, January 5, 2015

Some LINQ Examples






Twitter Delicious Facebook Digg Stumbleupon Favorites More