Can you elaborate for those who do not know what a Razor web form is and how it can persist things without an API?
See https://learn.microsoft.com/en-us/aspnet/web-pages/overview/...
There is a very substantial fraction of developers who have never done anything else, and are completely unaware that such thing is even possible.