Skip to content

Latest commit

 

History

History
97 lines (82 loc) · 3.74 KB

File metadata and controls

97 lines (82 loc) · 3.74 KB

Lab Virtual Machine Setup

Installed Software

Software Link
Windows 10 (Build 2004) https://www.microsoft.com/software-download/windows10
Visual Studio Code https://code.visualstudio.com
Visual Studio Code Azure Account Extension https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account
Visual Studio Code Azure Functions Extension https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
Visual Studio Code Azure Resource Manager Tools Extension https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools
Visual Studio Code Azure CLI Tools Extension https://marketplace.visualstudio.com/items?itemName=ms-vscode.azurecli
Visual Studio Code PowerShell Extension https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell
Visual Studio Code C# Extension https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp
PowerShell 7 https://github.com/PowerShell/PowerShell/releases/tag/v7.0.3
.NET Core 3.1 SDK https://dotnet.microsoft.com/download/dotnet-core/3.1
Azure PowerShell https://docs.microsoft.com/powershell/azure/install-az-ps
Azure CLI https://docs.microsoft.com/cli/azure/install-azure-cli
Azure Storage Explorer https://azure.microsoft.com/features/storage-explorer
.NET Tool - HttpRepl https://github.com/dotnet/HttpRepl
Azure Functions Core Tools https://docs.microsoft.com/azure/azure-functions/functions-run-local#v3
Windows Terminal https://aka.ms/terminal
Edge (Chromium) https://www.microsoft.com/edge

Additional Configuration

  • Enable ClearType

  • Configure Microsoft Edge as the default browser

  • Update VSCode configuration

    {
      "editor.fontFamily": "'Cascadia Code', Consolas, 'Courier New', monospace",
      "update.enableWindowsBackgroundUpdates": false,
      "update.mode": "manual",
      "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
      "workbench.startupEditor": "none",
      "terminal.integrated.rendererType": "dom",
      "csharp.suppressDotnetInstallWarning": true,
      "csharp.suppressDotnetRestoreNotification": true,
      "csharp.supressBuildAssetsNotification": true,
      "azureFunctions.showProjectWarning": false
    }
  • Update Windows Terminal configuration

    {
      "$schema": "https://aka.ms/terminal-profiles-schema",
      "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
      "profiles": [
        {
          "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
          "useAcrylic": true,
          "acrylicOpacity": 0.85,
          "colorScheme": "Campbell",
          "fontFace": "Cascadia Code",
          "hidden": false,
          "name": "PowerShell",
          "source": "Windows.Terminal.PowershellCore"
        },
        {
          "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
          "hidden": false,
          "name": "Azure Cloud Shell",
          "source": "Windows.Terminal.Azure"
        }
      ],
      "schemes": [],
      "keybindings": []
    }
  • Configure Start Menu & Taskbar to only include the following icons:

    • File Explorer
    • Edge
    • Windows Terminal
    • Visual Studio Code
    • Azure Storage Explorer
  • Disable PowerShell 7 update notifications

    1. Create an environment variable named POWERSHELL_UPDATECHECK

    2. Set the value of the environment variable to Off (case-sensitive)

  • Run Azure Functions Core Tools atleast once to configure Windows Firewall

    func init test --worker-runtime dotnet
    cd test
    func new --template 'HTTP trigger' --name web
    func start --build