Week 39, 2021 - Tips I learned this week
Tags: azure, vscode, signalr, tooling
Published: 2021-10-05 06:57:57

---
title: Week 39, 2021 - Tips I learned this week
published: true
date: 2021-10-04 00:00:00 UTC
tags: azure, vscode, signalr, tooling
canonical_url: https://techwatching.dev/posts/w39-2021-tips-learned-this-week
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jsqkjf4tpjjxmvqv9gtm.jpg
series: Tips I learned this week
---

This week is mainly about learning Azure tooling.

## Playing with "new" emulators

### Azure SignalR Local Emulator

This week I was playing with SignalR Service (using the serverless service mode) and I needed to debug my Azure Functions locally. While I was implementing the infrastructure as code to deploy the Azure SignalR Service resource to Azure, I realized that I did not need to do that to test my code as there was a local emulator for SignalR Service. This emulator is currently in preview but looks promising.

 ![](https://techwatching.dev/posts/images/w392021tips_nuget_1.png)

It is available as a [dotnet tool](https://www.nuget.org/packages/Microsoft.Azure.SignalR.Emulator) here so you can just install it by using the following command:

```
dotnet tool install -g Microsoft.Azure.SignalR.Emulator --version 1.0.0-preview1-10809

```

Have a look at the [documentation](https://github.com/Azure/azure-signalr/blob/dev/docs/emulator.md) if you want to learn more about it.

### Azurite

You probably have already heard about [Azurite](https://github.com/Azure/Azurite) the cross-platform emulator for local Azure Storage development. It is really useful when you are using queues, tables, or blobs from Azure Storage in your project and you want to debug your code with emulated versions of these services running locally. If you are developing Azure Functions you are certainly using an emulator for the storage but maybe not be aware of it.

Azurite is the successor of Azure Storage Emulator but as the [documentation](https://docs.microsoft.com/en-us/azure/storage/common/storage-use-emulator) says:

 ![](https://techwatching.dev/posts/images/w392021tips_azurite_1.png)

It's funny because I try to keep myself up-to-date on this kind of news but I did not know at all Azure Storage Emulator had been already deprecated in favor of Azurite for quite some time. Yet, as you can see in the following screenshot when you create a Function App with the "storage emulator" option selected you can see the Azurite emulator in your connected services:

 ![](https://techwatching.dev/posts/images/w392021tips_vs_1.png)

You can check this [tutorial](https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azurite?tabs=visual-studio) to see how to install and use Azurite.

> 🗨 Be aware that Azurite is also available in a [vscode extension](https://marketplace.visualstudio.com/items?itemName=Azurite.azurite) which allows you to start and stop storage services individually. If you don't want to bother with the command line, using Azurite from vscode is a good option.

## Using your Edge profile and skipping the account prompt screen when signing into Microsoft sites.

As I have different Azure Active Directory accounts (for my company, for some of the clients I am working for, for testing purposes) it can be quite challenging to manage so I am using different Microsoft Edge profiles to keep things separated and to avoid signing out when switching from one account to another. However, even with different profiles, when you access a Microsoft site (Azure DevOps for instance) the browser prompts you to choose the account you want to use.

 ![](https://techwatching.dev/posts/images/w392021tips_extension_1.png)

Claire Novotny (currently executive director at the .NET Foundation and working in the .NET team at Microsoft) developed a Microsoft Edge extension `Use my current account` that solves this problem. This plugin is available [here](https://microsoftedge.microsoft.com/addons/detail/use-my-current-account/hbfacnnpimgddoojjaonnnbeljegicfl) to download and you can check the source code on [this GitHub repository](https://github.com/novotnyllc/UseMyCurrentAccount). It is a simple but very useful extension that I strongly encourage you to download if you use multiple Azure AD accounts.

## Using up-to-date Azure icons in Visio.

I use Visio from time to time to create nice-looking Azure architecture diagrams (at least I try 😀). To do that I use Visio packages about Azure some people provide on GitHub and that contain all the Azure resources icons I need.

Azure icons often change, and there are always new resources added so always downloading the latest version of these Visio packages is a bit cumbersome. Fortunately, my friend Xavier Mignot shared on his [blog](https://blog.xmi.fr/posts/visio-tips-git-clone/) a nice and simple solution for that problem: cloning the Visio packages git repositories under the `My Shapes` folder and regularly pulling new changes to have always up-to-date Azure icons.

> 🗨 If you want more tips about Visio, check the other articles of Xavier on his [blog](https://blog.xmi.fr/), there are also articles about Azure, IoT, .NET...

## Explore Azure services easily with Azure Charts

Microsoft's documentation is great but it is sometimes not easy to have a good overview of the services Azure provides. Finding basic things like the SLA of a service, the regions where it is available, and the learning resources to getting started on it can often take time. Unless you know about Alexey Polkovnikov's website [Azure Charts](https://azurecharts.com/) which gives you all that and much more in a visual way.

 ![](https://techwatching.dev/posts/images/w392021tips_charts_1.png)

It's not a website I discovered this week but I showed it to a colleague this week and I thought (as each time I go on this website) that I should use it more often as it is a very useful tool.

And that's it for this week, happy learning!