Blog

Blog posts on .NET, Azure, and more.

How to deploy Azure WebJobs using PowerShell

February 19, 2019 by Anuraj

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

February 14, 2019 by Anuraj

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

February 03, 2019 by Anuraj

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

January 22, 2019 by Anuraj

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.

.NET Core console application as Azure WebJob

January 13, 2019 by Anuraj

.NET Core Azure WebJobs

This post is about running a .net core console application as WebJob. WebJobs is a feature of Azure App Service that enables you to run a program or script in the same context as a web app, API app, or mobile app. There is no additional cost to use WebJobs. The job can either run continuously or triggered (manually triggered or on a schedule). A WebJob can run the following file types: cmd, bat, exe, ps1, sh, php, py , js or jar.

Copyright © 2024 Anuraj. 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. Powered by Jekyll. Hosted with ❤ by GitHub