C# Enterprise Platform

C#

Enterprise-grade ASP.NET Core API with Entity Framework and Azure integration

Tech Stack

C# 12
.NET 8.0
Entity Framework
SQL Server
Azure
Docker

Features

✓
ASP.NET Core Web API
✓
Entity Framework Core ORM
✓
Azure cloud integration
✓
SQL Server database
✓
Clean architecture pattern
✓
Docker containerization

Code Sample

ProductsController.cs
[ApiController]
[Route("api/[controller]")]
[Authorize]
public class ProductsController : ControllerBase
{
    private readonly IProductService _service;

    public ProductsController(IProductService service)
    {
        _service = service;
    }

    [HttpGet]
    public async Task<ActionResult<List<ProductDto>> GetAll()
    {
        return Ok(await _service.GetAllAsync());
    }

    [HttpPost]
    public async Task<ActionResult<ProductDto> Create(
        [FromBody] CreateProductRequest request)
    {
        var product = await _service.CreateAsync(request);
        return CreatedAtAction(nameof(GetAll), new { id = product.Id }, product);
    }
}
View Source Docker Hub Live Demo