Users Pricing

forum

home / developersection / forums / how do you create an api in asp.net core?

How do you create an API in ASP.NET Core?

Utpal Vishwas 389 20 May 2025
  1. Use [ApiController] and [Route("api/[controller]")] attributes on controllers.
  2. Use [HttpGet], [HttpPost], etc., to define actions.

Utpal Vishwas

Student

I am Utpal Vishwas from Uttar Pradesh. Have completed my B. Tech. course from MNNIT campus Prayagraj in 2022. I have good knowledge of computer networking.


0 Answers