Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dotnet 5 web api with api-versioning, documentation through swagger, localization, claim based jwt token security, feature toggling, centralized logging/exception-handling, throttling, caching, etc.

License

Notifications You must be signed in to change notification settings

dotnetcore5/Dotnet.Sample.Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotnet.Sample.Api

dotnet 5 web api with versioning, swagger, localization, policy-based jwt token based security, etc.

.Net Framework GitHub language count GitHub top language GitHub repo size in bytes

Repository codebase

The repository consists of projects as below:

# Project Name Project detail location Environment
1 Xero.Demo.Api Dotnet5 WebApi as backend src\Api folder .Net Framework
2 Xero.Demo.Api.Tests Tests for webapi src\Api.Test folder .Net Framework

Summary

The overall objective of the applications :

>	A user can Login and jwt authentication is used
>	Once authorized, user can do "CRUD" operation

Setup detail

Environment Setup detail

Download/install

  1. .Net Framework to run webapi project

  2. VSCode to run/debug the applications

Project Setup detail
  1. Please clone or download the repository from github

  2. Create a folder and place the downloaded repository

  3. Open Visual Studio Code and open the newly created folder where the repository is downloaded

(a) To start the backend webapi service
  1. Within Visual Studio Code open a command terminal by pressing the computer keyboard buttons Control and ~

  2. Within the terminal, browse to folder location named as "src\Api"

  3. Restore the dependencies, type dotnet restore on the terminal

  4. Run the webapi project, type dotnet run on the terminal

  5. Api [backend service] shall start running on port 5000

For better experience please chrome browser
(b) To run the unit test project
  1. Within Visual Studio Code Open a new command terminal

  2. Within the new terminal, browse to the folder named as "src\Api.Test"

  3. To run the tests, type dotnet test on the terminal

Deploy to HEROKU

Deploy on Heroku

Support or Contact

Having any trouble? Please read out this documentation or contact and to sort it out.

HitCount GitHub contributors

About

dotnet 5 web api with api-versioning, documentation through swagger, localization, claim based jwt token security, feature toggling, centralized logging/exception-handling, throttling, caching, etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages