Working with gRPC in ASP.NET Core

This post is about Working with gRPC in ASP.NET Core. gRPC is a language agnostic, high-performance Remote Procedure Call (RPC) framework. The main benefits of gRPC are: Modern high-performance lightweight RPC framework. Contract-first API development, using Protocol Buffers by default, allowing for language agnostic implementations. Tooling available for many languages...


Resizing Images using Azure Functions

This post is about how to resize images uploaded to a blob storage using Azure functions. In my current project, system used to resize the image while uploading the image to blob storage. This approach got two major drawbacks - the process will take some time and the resize is...


Using EF Core in a Separate Class Library

This post is about how to use EF Core in a separate class library. And how to use it in the ASP.NET Web API and how to run migrations to create database. One of the common design approach is split the application in to different layers or tiers. In this...


How to deploy Azure WebJobs using PowerShell

This post is about how to deploy Azure Web Jobs using PowerShell. Recently I had to migrate an on premise application to Azure PAAS. The application has few console application, which is used to do schedule operations using Windows scheduled tasks. So as I migration to PAAS, I choose Azure...


Working with JSON in ASP.NET Core 3.0

This post is about working with JSON data type in ASP.NET Core 3.0. JSON stands for JavaScript Object Notation, which is an Open standard light weight format for storing and transporting data. JSON.NET was a popular library which was used in ASP.NET for working with JSON. As part of making...


Working with Save-Data header in ASP.NET Core

This post is about working with Save-Data header in ASP.NET Core. The Save-Data client hint request header available in Chrome, Opera, and Yandex browsers lets developers deliver lighter, faster applications to users who opt-in to data saving mode in their browser. One fairly straightforward technique is to let the browser...


LinkGenerator in ASP.NET Core

This post is about LinkGenerator in ASP.NET Core. Link Generator Service is a new service introduced in ASP.NET Core 2.2, which helps you to generate URLs. This new service can be used from middleware, and does not require an HttpContext. You can use it in controller like this. private readonly...