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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *