Tag Archives: dotnetcore

Add Sql Server as user provided service in Cloud Foundry

In this post you’ll add Sql Server from Azure to a dotnet core mvc app. We presume you’ve already created the Sql Server in Azure. If not follow my post azure sql server for centralised database. User Provided Service A … Continue reading

Posted in Development | Tagged , , , | Leave a comment

Add MySql to dotnet core app in Cloud Foundry

In this post you’ll add MySql from the marketplace to a dotnet core mvc app. Mysql was added to the marketplace in this post. Service We could use the cli to add MySql and then hook it up to the … Continue reading

Posted in Development | Tagged , , | Leave a comment

Offline buildpack for Cloud Foundry

This post is a combination of information available elsewhere (links are included) and can be used to get you’re own offline buildpack on Cloud Foundry. Prerequisites install go (https://ahmadawais.com/install-go-lang-on-macos-with-homebrew/) Dotnet-core buildpack Instructions on https://github.com/cloudfoundry/dotnet-core-buildpack/tree/v2.0.1 Warning! buildpack is 841MB. Now you … Continue reading

Posted in Development | Tagged , | Leave a comment

Deploy your first dotnet core app to Cloud Foundry

After installing Cloud Foundry it is time to deploy your first dotnet core app. Make sure you’re using the right framework/sdk version. If the version is not supported by Cloud Foundry you’ll get logging like below You can force the … Continue reading

Posted in Development | Tagged , | Leave a comment

Load environment variables in dotnet Core 1.1 hosted in IIS

On our webserver we plan to move configuration to environment variables. We can set those environment variables in our Powershell Dsc script. But the website does not pick up the environment variables. There is an issue on github (#1864) that … Continue reading

Posted in Development | Tagged , , , | Leave a comment