-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
releases.json and release.json files currently reference the VS CDN. That's a bad practice since it requires that both builds.dotnet.microsoft.com and download.visualstudio.microsoft.com are up. Is either is down, then users cannot download files via this flow. That naturally means that the JSON files should reference files on the builds.dotnet.microsoft.com CDN. Also, the VS CDN doesn't have stable URLs, making it impossible to have a stable link to the JSON files should we want to locate them there instead.
Example JSON file:
core/release-notes/8.0/releases.json
Lines 23 to 33 in 218ef74
| "files": [ | |
| { | |
| "name": "dotnet-runtime-linux-arm.tar.gz", | |
| "rid": "linux-arm", | |
| "url": "https://download.visualstudio.microsoft.com/download/pr/b4d8f2f3-a0fd-4d48-b584-cae2c3af5c06/97479f98b5746e515d7d99f72b67c852/dotnet-runtime-8.0.11-linux-arm.tar.gz", | |
| "hash": "279b93bf6b5c5c2f45427b620c56bff0e22ec8f3fb9a4f3749e7a6a0d0d0ee8163851b5bd081c6814b758068df7ba1b9401c844ba5905b27a830020846ef6406" | |
| }, | |
| { | |
| "name": "dotnet-runtime-linux-arm64.tar.gz", | |
| "rid": "linux-arm64", | |
| "url": "https://download.visualstudio.microsoft.com/download/pr/501c5677-1a80-4232-9223-2c1ad336a304/867b5afc628837835a409cf4f465211d/dotnet-runtime-8.0.11-linux-arm64.tar.gz", |
We are currently validating that the Azure Front Door and Akamai CDNs that we'll be using provide good latency/service to various large countries.
This change also means that we will no longer be publishing new URLs for the VS CDN. It will be used as a private implementation detail for .NET delivery via Visual Studio. All users will need to move to using the dotnet CDN.
FYI: We're going to call builds.dotnet.microsoft.com the "dotnet CDN". Feel free to use that terminology. We intend for it to have a very long future.