Host Your Own NuGet Server or How To Create Local NuGet Server

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 to use pushed packages from Visual Studio.
Hope you will enjoy it…

Continue reading

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; Continue reading

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#.

Continue reading

Creating generic method or extension for searching through all the columns in DataTable in C#

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 for searching through all the columns in DataTable in C#.

Continue reading

Using Crystal Report in ASP.net MVC and creating generic report viewer

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 generating PDF on fly).
    A. In same window
    B. In different window

Continue reading