REST API on Azure Functions with Entity Framework

Introduction Setting up a REST API on Azure is a popular choice. Azure functions stand out for their speed, cost-effectiveness, and lightweight nature. Yet, integrating databases with Azure functions can pose challenges, especially with the lack of out-of-the-box support for Entity Framework. In this article, we’ll explore the process of developing an HTTP REST API…

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…

Kafka Consumer in .NET

Kafka sample consumer in .NET C# Introduction Kafka is a Producer-Subscriber model messaging platform and in this article Kafka producer in .NET, we have demonstrated how to create a very simple kafka producer service in .NET. Now it’s time to create a simple Kafka Consumer in .NET and C# to complete the learning. Assuming that…

Kafka producer in .NET

Kafka sample producer service in .NET C#   Introduction Apache kafka is a popular choice in event messaging systems. Kafka is a highly scalable, distributed event streaming platform that uses publisher-subscriber model. However, the intent of this article is not to discuss what is kafka in deep or its capabilities. So, lets just jump into …

Web API Authentication .NET 5

In the last article we implemented the basic operations for our .NET 5 Web API. If you have missed the last article, you can read it here. In this article we are going to implement the authentication to secure our API. So we are adding JWT token based authentication to the API. Token-based authentications are…

.NET 5 Web API – Part 2

Hello everyone! Here we are continue to build our .NET 5 Web API. If you have missed the first part, please visit the introduction here. In the previous article, we have implemented the method to get all the movies. So here we can start with the method, Get movie by id to get a single…

.NET 5 Web API Introduction

.NET 5.0 officially released on November 10, 2020. As per Microsoft, .NET 5 is the next step of the .NET Core. Also .NET Framework and .NET  Core will become a single framework in the next .NET 6 release. Its always good to be prepared, So today we are going to try to build a .NET…

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…