Skip to content

mnriem/csharp-on-azure-examples

Repository files navigation

C# on Azure Examples

This GitHub repository contains a set of Azure examples specifically for C# developers on macOS / Linux to quickly get started with Azure. Please use the issue tracker to leave feedback, file issues or to propose other examples.

Getting started

To work with these examples it is assumed you have the Azure CLI installed, and you have logged in and set your default subscription. If you haven't done so follow the steps below.

Note: Logging in and setting your default subscription needs to be done once per terminal session.

Install Azure CLI

To setup the Azure CLI, please visit Install the Azure CLI. And once you are done come back to this README.

Login into Azure

  az login

Set your default subscription

Get a list of your subscriptions (notice the refresh parameter that retrieves up-to-date subscriptions from the server) :

  az account list --output table --refresh

Set your default subscription for this session using the subscription id from the previous output:

  az account set --subscription "subscription-id"

Examples

  1. Azure App Service examples
  2. Azure Container Apps examples
  3. Azure Container Registry examples
  4. Azure Key Vault examples
  5. Azure Resource Group examples

About

C# on Azure examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published