ASP.NET Core offers a simplified hosting model, called minimal APIs, that allows us to build lightweight APIs with minimal dependencies. We’ve discussed minimal APIs in several earlier posts here.
If you've got several pages that are related and involve different classes, you can put several classes in one namespace (and in one file, I don't know if you can split namespaces across files or not.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results