Skip to content

Azure Speed Test Tool: Measure network latency, download, and upload speeds to Azure datacenters worldwide.

License

Notifications You must be signed in to change notification settings

blrchen/azure-speed-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-speed-test

license badge stars badge forks badge issues badge

Azure Speed Test Tool: Measure network latency, download, and upload speeds to Azure datacenters worldwide.

Live Demo

Local Development Environment Setup Steps

Prerequisites

  • .NET 6.0
  • [Windows only] Visual Studio 2022 with ASP.NET and web development workload.
  • [Mac only] Rider
  • Azure Storage Accounts:
    • Enable CORS
    • Create a public container (access level = Blob) named public and upload latency-test.json.
    • Create a private container (access level = Private) named private and upload a 100MB dummy file (downloadable from https://www.azurespeed.com/Azure/Download).
    • Create an upload container (access level = Private) named upload.

Setting Up Local Development Environment for Frontend & Backend

  1. Run CreateSettingsJson.ps1 to generate settings.json, then replace src/AzureSpeed.WebApp/Data/settings.json with it.
  2. Open AzureSpeed.sln in Visual Studio 2022 or Rider.
  3. Launch the AzureSpeed.WebApp project, then open https://localhost:5001 in your browser to view the locally running website.

[Optional] Configuring Local Frontend Development Environment

The frontend connects to the backend API service at https://localhost:5001 by default. To switch to a cloud API service for frontend development, update apiEndpoint in environment.ts from https://localhost:5001 to https://www.azurespeed.com.

Built on