Category Archives

%s.Net Framework

I have recorded a video showing how to use and configure local nuget server. After watching this video you will able to learn > How to create own nuget server application. > How to host created application to IIS > How to create nuget package and push to local/ your own nuget server. > How […]

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) —- […]

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 […]

Few days ago I worked on a project where database table has more than 80 columns. My client asked to create a search so that it can search through all the columns. So I have decided to create an extension method which will search through all the columns in DataTable. Creating generic method or extension […]

Download Project This article describes how to show crystal report in ASP.net MVC. Here I will describe two different ways for showing crystal report in MVC. 1. Showing crystal report using ASP.net web forms in MVC. A. In same window B. In different window 2. Showing crystal report from Controller/action (by […]

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 […]

Master Detail CRUD Operations using ASP.net MVC 3 and EF. Master detail in asp.net mvc Introduction In this post I will discuss about how we can perform Master Detail CRUD Operations using ASP.net MVC 3 and Entity Framework (Code First). Here I have used JSON (json2.js) for data passing, Ajax for posting and DataTables (datatables.js) for […]

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 […]