Skip to content

uvcreation/DotNetCore_WebAPI

Repository files navigation

ASP.NET Core WebApi with Swagger

In this repository I want to give a plain starting point at how to build a WebAPI with ASP.NET Core.

This repository contains a controller which is dealing with Products. You can GET/POST/PUT and DELETE them.

Hope this helps.

Access the API endpoints from here: https://uttamwebapi.herokuapp.com/swagger

Use (POST /api/Users/Authenticate) endpoint to generate Jwt token.

For (POST /api/Product/AddProducts) endpoint payload Click here

For (POST /api/Product/UpdateProducts) endpoint payload Click here

Technologies

  • ASP.NET Core 3.1
  • Dapper
  • MySQL

Features

  • Dapper ORM
  • Repository Pattern - Generic
  • Serilog
  • Swagger UI
  • Microsoft Identity with JWT Authentication
  • Custom Exception Handling Middlewares
  • Automapper
  • Docker File

Prerequisites

  • Visual Studio 2019 Community and above
  • .NET Core 3.1 SDK and above

Licensing

uvcreation/DotNetCore_WebAPI Project is licensed with the MIT License.

Releases

No releases published

Packages

No packages published