Which template should you choose when you need both Razor-based web pages and API controllers?
- Web Application
- Web API
- Empty
- Blazor
The "Web Application" template is the suitable choice when you need both Razor-based web pages for user interfaces and API controllers for handling data interactions. This template provides a balanced setup for creating web applications that combine server-rendered Razor pages with APIs for data exchange.
Loading...
Related Quiz
- In SignalR, which transport method does it fall back to if WebSockets are not available?
- In a scenario where the production database and development database are out of sync, what steps might you take with respect to Identity migrations?
- Your team has been asked to develop a CMS platform where the frontend and backend logic is closely intertwined. Which ASP.NET Core project structure would be best suited for this?
- Which ASP.NET Core middleware is responsible for enabling session state in the application?
- You're new to ASP.NET Core and hear about Entity Framework Core. What is the main purpose of using Entity Framework Core in web applications?