As an example, this is a fragment of the API my project is currently using for the client to fetch an arbitrary piece of data from the server:
https://gist.github.com/hamstar0/d60c110a1b237c7be0968f5704c50f23
Are there any technology improvements within ASP Net Core (.Net 8, Blazor) that I should look into? Not necessarily specific code changes, but rather general libraries or resources I should be using to streamline, condense, or 'make proper' (read: idiomatic, if applicable) this sort of code?
Note: I am NOT looking for 3rd party libraries or other custom solutions.