Clarification for Debian!
I recently installed on Debian 13 as well and these are the instructions I followed: https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian?tabs=dotnet8
The instructions say Debian 12, but they do work on Debian 13, FWIW.
I was able to tweak one of the download links and get it: