Dynamic Cache in App Service

A while ago, while I was browsing Kudu’s setting documentation I stumbled upon a setting that caught my eye – Dynamic Cache. I have never heard or read about it in Microsoft’s own documention (except that page on GitHub) so I decided to try it out.

Continue reading “Dynamic Cache in App Service”

Sending e-mail from Web Apps

Most of web application oriented hosters (like Azure App Service) or application hosted in Docker (in Azure, App Service on Linux), or serverless applications don’t offer built-in e-mail delivery and require you to use an external server. In this article, we are going to explore the options to do this.

Continue reading “Sending e-mail from Web Apps”

Exploring App Service Authentication on Linux

A while ago, it has been announced that App Service on Linux has gained the ability to make use of Authentication / Authorization as well. Originally, I wanted to publish the article earlier, but I got to finish it just now. This article is going to walk you through how the Authentication / Authorization works in App Service on Linux and might give you few hints how to make some more use of it.

Continue reading “Exploring App Service Authentication on Linux”

A Christmas Present… for you!

About a week ago I announced the Microsoft Authentication Graph Helpers. Since then, I decided to publish a small, but a useful enhancement to it – AzureAdAuthorizationAttribute and AzureAdAuthorizationHandler!

Continue reading “A Christmas Present… for you!”

Microsoft Authentication Graph Helpers

I initially wanted to publish this code in summer already, but in the end, I didn’t have enough time to spare to do so. Do you find yourself implementing Microsoft Graph, ADAL, MSAL etc. in many projects over and over again? If so, or you just want to have less work with that, read on!

Continue reading “Microsoft Authentication Graph Helpers”

Upgrading to WebJobs SDK 3.0

With the recent release of Azure Functions Runtime 2.0, WebJobs SDK 3.0 got released alongside. WebJobs SDK is the backbone of Azure Functions, however it can be also used standalone to power Azure WebJobs which you can host alongside your App Service. SDK 3.0 brings the configuration much closer to ASP.NET Core, runs under both .NET Framework and .NET Core and for example supports Dependency Injection by default.

Continue reading “Upgrading to WebJobs SDK 3.0”

UseHttpsRedirection on Azure App Service

Recently, when deploying a project, we have hit an interesting issue – when we deployed an ASP.NET Core 2.1 application with HTTPS redirection middleware with HSTS middleware disabled, however the redirection wasn’t working correctly.

Continue reading “UseHttpsRedirection on Azure App Service”

Working with certificates in Azure App Service

Recently, we had a project which required us to connect to a MySQL server from .NET Core with a client certificate authentication. While this seemed fairly trivial, we have hit some issues after deploying the application to Azure App Service.

Read more

Hosting small sites in Microsoft Azure

I have been running this blog and bunch of other projects on a local shared hosting called WEDOS for something over 3 years. They offer some great services for real good price, however after couple of issues and temptation I decided to move away to an Azure VM. We are going to take a look at how I did the move and what technologies I am using the background.

Continue reading “Hosting small sites in Microsoft Azure”

Including front-end libraries in ASP.NET Core projects

I have been recently working on an internal project which allows people to authenticate into a Wi-Fi with Azure AD and other various methods through a captive portal. While trying to maintain a strict policy on what hostnames can be accessed (basically just allowing Azure AD endpoint’s and the application server) I noticed that the default ASP.NET Core project setup seems to set a bad example in handling JavaScript libraries in your project.

Continue reading “Including front-end libraries in ASP.NET Core projects”