Working with gRPC in ASP.NET Core

Posted by Anuraj on Sunday, April 14, 2019 Reading time :2 minutes

ASP.NET Core gRPC

This post is about Working with gRPC in ASP.NET Core. gRPC is a language agnostic, high-performance Remote Procedure Call (RPC) framework.

Resizing Images using Azure Functions

Posted by Anuraj on Friday, April 5, 2019 Reading time :3 minutes

ASP.NET Core Azure Serverless

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 implemented using System.Drawing - which is not recommended to use in Server side applications. By implementing a function - which triggers while someone uploads a photo to blob storage - using ImageSharp - resize the image. Since the code is very minimal I am using the Azure portal to build the Azure Function. In the portal, click New and Search for Functions, select Function App. And you need to provide a name, resource group and storage.

Using EF Core in a Separate Class Library

Posted by Anuraj on Tuesday, March 5, 2019 Reading time :2 minutes

EFCore ASP.NET Core

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 post, I will help you to split your models from MVC or API application and consume it.

How to deploy Azure WebJobs using PowerShell

Posted by Anuraj on Tuesday, February 19, 2019 Reading time :1 minute

Azure WebJobs

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 WebJobs, so that I can easily convert the existing applications to Azure WebJobs. Only change I had to do is including two files - run.bat file for execution of the console app and settings.job file for the schedule interval configuration.

Working with JSON in ASP.NET Core 3.0

Posted by Anuraj on Thursday, February 14, 2019 Reading time :1 minute

ASP.NET Core

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 the ASP.NET Core tidy support for JSON.NET removed from ASP.NET Core.

Working with Save-Data header in ASP.NET Core

Posted by Anuraj on Sunday, February 3, 2019 Reading time :2 minutes

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.

LinkGenerator in ASP.NET Core

Posted by Anuraj on Tuesday, January 22, 2019 Reading time :1 minute

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.
Translate
Subscribe
BMC logoBuy me a coffee


Copyright © 2019 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub