4 ms·
For something that was released 21 years ago, it's not that complicated: - Razor pages, views and components use the same templating language. - If you want M
by hu3 3y ago
For something that was released 21 years ago, it's not that complicated:
- Razor pages, views and components use the same templating language.
- If you want MVC you can use Razor views and Components to render things from your Controller.
- If you want something simpler like a website, you can use Razor Pages and Components.
- Blazor is the new shinny thing. It still uses the same Razor templating language but targets for webassembly or Phoenix-style LiveView.
And for APIs, it's just the ordinary Controller -> Action -> JSON as every other framework.