You're developing a backend service for a mobile app that will only return JSON data. Which ASP.NET Core template should you start with?
- MVC
- Razor Pages
- Web API
- Blazor Server
When developing a backend service that exclusively returns JSON data for a mobile app, you should start with the Web API template. Web API is specifically designed for building RESTful services that can provide data in formats like JSON, making it a suitable choice for this scenario.
Loading...
Related Quiz
- The ________ method in the "Startup.cs" file is used to add and configure middleware services to the application's request pipeline.
- In ASP.NET Core Identity, what is primarily used to add additional properties to the user model?
- In ASP.NET Core Identity, the _________ property is often used to ensure unique user identification beyond just the username.
- You want to guide the user to the homepage after they perform a specific action on your website. What kind of action result will help you achieve this?
- What's the primary difference between conventional routing and attribute routing in ASP.NET Core MVC?