When you try to deploy a VM from the Marketplace using an ARM (json) template you’ll get an error like the one below in the case when you’ve not previously accepted the Legal terms for the image: 1[{"Legal terms have not been accepted for this item on this subscription. To accept terms using Powershell..."}] Accepting...
NOTE: The issue described in this post was fixed!!! (ansible 2.5.2 and Azure CLI 2.0.34) Last week I tried to run this simple Ansible playbook in Azure Cloud Shell: 1# resource_group.yml 2# Create test resource group in west europe 3- name: Create a Resource Group 4 hosts: localhost 5 connection: local 6 gather_facts:...
Today I’ll show you how to use dotnet-addcasa: a .NET Core global tool to add CodeAnalysis and Stylecop checks to your projects. If you want to manually add those checks or understand the tool internals check my post: .NET Core, Code Analysis and StyleCop Prerequisites You’ll need .NET Core SDK 2.1.300-preview1...
Today I’ll show you how to create a simple Echo Server with ASP.NET Core and then a Docker Image using multi-stage build: Create the Application Open a PowerShell promt and run: 1mkdir echoserver 2cd echoserver 3dotnet new console 4dotnet add package Microsoft.AspNetCore -v 2.0.2 Replace the contents of Program.cs...
Disclaimer: samples provided in this post were tested both in Azure Container Services (AKS) and Kubernetes provided by Docker for Windows. In previous posts I showed you how to Run a Precompiled .NET Core Azure Function in a Container and how to Deploy your first Service to Azure Container Services (AKS). By now you...