- Notifications
You must be signed in to change notification settings - Fork1
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
dotnetcore5/Dotnet.Sample.Api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The repository consists of projects as below:
| # | Project Name | Project detail | location | Environment |
|---|---|---|---|---|
| 1 | Dotnet.Sample.Api | Dotnet5 WebApi as backend | src\Api folder | |
| 2 | Dotnet.Sample.Api.Tests | Tests for webapi | src\Api.Test folder |
The overall objective of the applications :
Through the endpoint A user can Login and jwt authentication is used.
Once authorized, user can do "CRUD" operation on the endpoint
Download/install
ThroughVisual Studio 2019, clickF5 button to run the webapi, Please make sure the webapi project is selected as startup project.
Or throughVisual Studio Code, open a command terminal by pressing the computer keyboard buttons
Controland~(a) Within the terminal, browse to folder location named as"src\Api"
(b) Restore the dependencies, type
dotnet restoreon the terminal(c) Run the webapi project, type
dotnet runon the terminalWebApi shall start running on port5000
For better experience please use chrome browser
ThroughVisual Studio 2019, open theTest Explorer and run the tests.
Or throughVisual Studio Code Open a new command terminal
(a) Within the new terminal, browse to the folder named as"src\Api.Test"
(b) To run the tests, type
dotnet teston the terminal
caching
endpoint throttling/rate limit
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
Uh oh!
There was an error while loading.Please reload this page.

