Limit access to your ASP.NET Core app by IP address with middleware

Update 12 Sep 2017: You can add IP restrictions to your Web App from Azure Portal now. https://docs.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions

I’m working on a mini-project that should be seen only from inside our company network. This is my first ASP.NET Core project and I’m still kind of lost with the configuration part and there aren’t many examples in stackoverflow how to do this or that with ASP.NET Core. However I managed to do IP restrictions for my ASP.NET Core app running on Azure and here is how I did it. Read more…

 

Octopus Deploy: Automatically transform SSL thumbprint

Recently I had to enable secure connection (HTTPS) for my Azure Cloud Service web role that has three separate environments: educationtesting and production. I’m using Octopus Deploy to automate my deployments to Azure.

This guide will tell how you can automatically change the SSL certificate thumbprint in ServiceConfiguration.Cloud.cscfg based on the environment you are deploying to. Read more…