Today .net7 was released. After the article How to install Net6 on Raspberry Pi 4 I will show you how you can install Microsoft .NET7 on Raspberry Pi 2.
I found a script very easy to launch. Thank you Peter Gallagher for sharing the code
Note: I will try on Raspberry Pi 4 but (for now) I think that the process is the same.
wget -O - https://raw.githubusercontent.com/pjgpetecodes/dotnet7pi/master/install.sh | sudo bash
Launch dotnet --version to view the installed version
Restart your Raspberry and enjoy!
Original article can be found here