Predicate Builder to Build Dynamic Queries

Introduction to predicate builder Have you ever come across a situation that you need to build a dynamic query to fetch data from database? Building queries dynamically can be really painful and time consuming. But nothing to worry, we have some libraries to save us from this hassle (thanks to the developers who built those…

RDS Snapshots using C#

Introduction Recently, I had to work on a task to take AWS RDS snapshots using C#  programmatically. It looks pretty straightforward, but unfortunately it was not. So, I had to do some research on this and finally came across a simple solution using AWS SDK. Here, I’m going to give you some idea on how…

Git operations with C#

Introduction to Git operations with C# Sometimes we may need to accomplish some git related operations using .NET. It can be a console application or another service. Regardless of the application type that we are using, we may need to do some git operations from basic level to some advanced level. In this situation, LibGit2Sharp…

Pagination in MVC using PagedList

Lets learn how to do the Pagination in ASP.NET MVC. Pagination is a common requirement in a web application when it comes to show records from the databases or a static source. here we are going to do the pagination in MVC using PagedList nuget package. First create the MVC project and add a controller…

Bootstrap custom themes – Introduction

Bootstrap is a front-end framework which is freely available but developed by Twitter. Using Bootstrap custom themes, we can change the look and feel of our applications very easily. It provides you the Grid System which is very powerful when it comes to the front-end development. It makes your web application responsive, means that application…

Excel file download in ASP.NET

In this article we are going to learn how we can download data as an excel file. For Excel file download in ASP.NET, we have several methods and here I’m going to explain a very easy method using a nuget package called EPPlus. EPPlus is  sophisticate enough to perform simple to complex excel operations. Lets…

Modal popup for MVC applications

Modal popup is a good way to interact with the end user. In a way we can show notifications or any UI components to the end users using popups. However its very simple to implement a modal popup for MVC applications. First we will create a MVC solution in Visual Studio and run the project.…

Job Scheduler for web applications with Quartz.Net

Creating a Job Scheduler for .NET application Sometimes we need to create Job Scheduler for web applications. For an example we might need to send automated emails to end users based on some conditions. This task is bit challenging but don’t worry. We have some fully featured Nuget packages we can use for this task.…

Custom log writer in C#

Custom logging using C# in .NET application Target Audience : Beginner Log writing is considered as an essential function in any software application. You can monitor how your software is behaving and also you can identify errors and performance issues using logs. A good log writer can save a lot of time for investigations when…

Visual Studio Error On Publish : The target “GatherAllFilesToPublish” does not exist in the project

How to fix The target “GatherAllFilesToPublish” does not exist in the project error When we upgrade the visual studio and try to publish a project which created from an old visual studio version, we get an error something like “The target “GatherAllFilesToPublish” does not exist in the project”. The reason seems to be the project files…