Location via proxy:   
[Report a bug]   [Manage cookies]                
Boris Wilhelms

Boris Wilhelms

Tech enthusiast blogging about C#/.NET Coding and Azure Cloud

Boris Wilhelms

  • ASP.NET Core dev-cert for Ubuntu calendar Dec 13, 2020 - clock 2 min read - tag ASP.NET Core

    While the .NET Core SDK includes an HTTPS development certificate and also has a tool to install and trust it dotnet dev-certs https --trust this unfortunately does not work on Ubuntu. The reason why it does not work on Ubuntu, or more specific on Linux in general, is that there is no standard location or api to store certificates on Linux. The paths may change from distribution to distribution. In addition application may have their own store (e.

  • Run devcontainer outside of Visual Studio Code calendar Jul 13, 2020 - clock 2 min read - tag Docker

    Are you also a big fan of Visual Studio Devcontainer? Do you also sometimes want to just run the devcontainer outside of Visual Studio Code? Me also! That is why I have created this simple bash script. The script parses the devcontainer.json file and runs the docker container outside of Visual Studio Code. Since this is my first “complex” bash script, I am very open to feedback! Please feel free to open issues in the GitHub repo.

  • Hugo on Azure Static Web Apps calendar May 25, 2020 - clock 2 min read - tag Azure Static Web Apps

    Since Azure now has a free service for hosting static web apps (Azure Static Web Apps), I decided to move my Hugo blog to this service. The move to Azure Static Web Apps was quite easy. I mostly followed the tutorial, found two issues and fixed the documentation .

  • Comparing Azure Static Web Apps and Azure CDN/Storage calendar May 23, 2020 - clock 4 min read - tag Azure Static Web Apps Azure CDN Azure Storage

    Recently Microsoft announced a new Azure service: Static Web Apps. This is a competitor service to Netlify, but it also might replace traditional static site hosting with Azure CDN and Azure Storage. But let’s begin with: What is Azure Static Web Apps? Azure Static Web Apps is a service that automatically builds and deploys full-stack web apps to Azure from a GitHub repository. As this quote says, the service is not only for static sites, but also for static web apps.

  • Hosting a static site in Azure calendar May 17, 2020 - clock 4 min read - tag Azure Storage Azure CDN

    Hosting a static site in Microsoft Azure is quite easy. Since it is possible to use Azure Storage to host a static site an App Service is not needed for that. To also add a custom domain with a free and managed SSL certificate Azure CDN can be used. In this post I’ll show how to create those two services via the Azure CLI to host a static site. First we need to create a resource group, which holds the needed resource for the static site.

  • Protecting HTTP-triggered Azure Functions calendar May 23, 2019 - clock 6 min read - tag Azure Functions

    A while ago I wrote about Securing Azure Function with JWT tokens. Since that time a lot happened with Azure Functions so I revisited the topic and researched this again and wrote down the possibilities on how to protect your HTTP triggered Functions. Authorization Keys Authorization Keys are the simplest way to secure your functions. The key needs to be passed either via the query string (code) or with a HTTP header (x-functions-key) to the function and will be validated by Azure Function runtime/host.

  • Azure Key Vault integration for Azure Function v2 calendar Oct 8, 2018 - clock 2 min read - tag Azure Functions Azure Key Vault

    Currently the most asked feature on UserVoice for Azure Function is integration of Azure Key vault. Unfortunately this is not yet available out of the box. In addition the solutions that are suggested are not very integrative as they do not support AutoResolve properties or can not be used for connection strings on trigger or bindings.

  • Dependency injection for Azure Function v2 calendar Oct 1, 2018 - clock 2 min read - tag Azure Functions

    Since Azure Function v2 still does not yet have support for dependency injection and this is still a hot topic, I decided to upgrade my solution for this to Azure Function v2 and provide a nuget package!

  • Azure Functions - Extension resolution and loading. calendar May 15, 2018 - clock 3 min read - tag Azure Functions

    Implementing IExtensionConfigProvider in a Function App is a common way to run code at startup of the Function App. It is also the place to register the components of your extension. In this post I will describe how Azure Functions finds and instantiates IExtensionConfigProvider implementations. There are several ways how an IExtensionConfigProvider implementation is found. Auto detection The auto detection works in Azure Functions V1 and V2. Auto detection of IExtensionConfigProvider implementation starts when the ScriptHost gets initialized.

  • Serverless WebApi - Host an ASP.NET Core WebApi in Azure Functions. calendar Apr 30, 2018 - clock 3 min read - tag Azure Functions ASP.NET Core

    While Azure Functions allows you to build very lightweight HTTP WebApis out of the box, the HTTP binding is very limited and sometimes we need access to the HTTP pipeline. In this post I show you how you can host a ASP.NET Core WebApi inside of a Azure Function. Prerequisites To get this working you need Azure Functions V2 Latest Azure Function Core Tools (install via npm, using npm i -g azure-functions-core-tools@core) The ASP.