Build and Deploy using MSBuild command-line tool

In this post, we will see how we can build and deploy a project using MSBuild with just one command.



Using command-line MSBuild tool to build .Net Project/Solution

In this post, I will walk you through on how you can use command-line MSBuild tool to build a .net solution or project.



Setup continuous integration for GitHub hosted .net project in Jenkins

In this tutorial, we will go through how you can setup an Automated build for your GitHub hosted .NET project in Jenkins each time you push new code.



Setting Up Jenkins CI 2.60.1 LTS on IIS 10 behind a reverse proxy on Windows Server 2016

Recently, I setup Jenkins behind IIS using a reverse proxy.  Thought I would document the process for other people as well as for my future reference.



Angular 2 Pipe to filter array of strings with provided search string

In This Article, we will create a new Pipe for filtering array of strings with provided search/filter string.



Increasing Nuget Package Update ( Resolving Dependencies) speed

Recently I worked on a big project with lots of nuget packages installed and was trying to update and consolidate packages in many projects under one solution. And I noticed that the nuget update process was quite slow.



Angular2 Pagination Component with Bootstrap

I recently started learning Angular2 and I am loving it.  This article describes how to create a basic pagination component using bootstrap pagination.



SQLite and Entity Framework using Visual Studio 2015 ( .NET 4.6) : Model first approach

This tutorial demonstrates how to use Entity Framework 6.0 to Insert, Update and Delete from SQLite database with Model first approach.



Using SQLite with

This tutorial covers how to use Sqlite database using c#.

What is SQLITE?
SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private. SQLite is the most widely deployed database in the world with more applications than we can count, including several high-profile projects.



Automatic ListView Grouping

Lets say you have lots of data your listview. Now you want to Group This data According to a Particular Subitem.

For Example:

Suppose i have some books data in my ListView.
this listview items contains Author name and Books Title.

And there are 2000 Books in list view.

Now i want to group the data in listview according to the Authors.

Now lets say there are 50 Unique Authors , meaning we will have to create 50 Groups in listview.

this seem hectic, and i don’t know if there is any inbuilt function to automatically group this items, but i have created mine To automatically do the above.

Hope it becomes useful to someone.

public void GroupListView(ListView lstV, int SubItemIndex) {
 bool flag = true;

 foreach(ListViewItem l in lstV.Items) {
  string strmyGroupname = l.SubItems[SubItemIndex].Text;

  foreach(ListViewGroup lvg in lstV.Groups) {
   if (lvg.Name == strmyGroupname) {
    l.Group = lvg;
    flag = false;

  if (flag == true) {
   ListViewGroup lstGrp = new ListViewGroup(strmyGroupname, strmyGroupname);
   l.Group = lstGrp;

  flag = true;

How To Use The Code:
Lets say the author’s sub item’s index is 1 and listview name is LstBooks then call the function like:

GroupListView(LstBooks,1); Version:

Public Sub GroupListView(ByVal lstV As ListView, ByVal SubItemIndex As Int16)
Dim flag As Boolean = True
For Each l As ListViewItem In lstV.Items

Dim strmyGroupname As String = l.SubItems(SubItemIndex).Text

For Each lvg As ListViewGroup In lstV.Groups

If lvg.Name = strmyGroupname Then
l.Group = lvg
flag = False
End If


If flag = True Then
Dim lstGrp As New ListViewGroup(strmyGroupname, strmyGroupname)
l.Group = lstGrp
End If

flag = True

End Sub