Posted by Anuraj on Tuesday, February 19, 2019 Reading time :1 minute
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.
Posted by Anuraj on Thursday, February 14, 2019 Reading time :1 minute
Posted by Anuraj on Sunday, February 3, 2019 Reading time :2 minutes
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.
Posted by Anuraj on Tuesday, January 22, 2019 Reading time :1 minute
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.
Posted by Anuraj on Sunday, January 13, 2019 Reading time :1 minute
.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.
Posted by Anuraj on Saturday, January 12, 2019 Reading time :1 minute
ASP.NET Core Background Tasks
This post is about running background tasks in ASP.NET Core. In .NET Core 2.1, Microsoft introduced a new feature called IHostedService to allow developers to run a background service that can have a managed lifetime to its caller, be it from an ASP.NET Core or a console.
Posted by Anuraj on Friday, December 28, 2018 Reading time :1 minute
On Microsoft Build Live 2018, Microsoft announced their plans about .NET Core 3.0. The highlight of .NET Core 3 is support for Windows desktop applications, specifically Windows Forms, Windows Presentation Framework (WPF), and UWP XAML. You will be able to run new and existing Windows desktop applications on .NET Core and enjoy all the benefits that .NET Core has to offer.