Junior
From PDF
Power Questions
High-Impact Interview Questions
Basic ASP.NET Core REST API?
Short answer: [ApiController] [Route("api/[controller]")] public class EmployeeController : ControllerBase { [HttpGet("{id}")] public IActionResult Get(int id)
Example code
{
return Ok(new { Id = id, Name = "Sandeep" });
}
} Key Characteristics: Lightweight JSON support by default Built-in dependency injection
Real-world example (ShopNest)
Answer with: definition → one ShopNest-style story → trade-off → how you would verify it in production.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png