- 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
to-do: Throttling | to-do: Caching |
The repository consists of projects as below:
| # | Project Name | Project detail | location | Environment |
|---|---|---|---|---|
| 1 | Xero.Demo.Api | Dotnet5 WebApi as backend | src\Api folder | |
| 2 | Xero.Demo.Api.Tests | Tests for webapi | src\Api.Test folder |
The overall objective of the applications :
>A user can Login and jwt authentication is used>Once authorized, user can do "CRUD" operationDownload/install
ThroughVisual Studio2019, clickF5 button to run the webapi, Please make sure the webapi project is select 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 terminalApi [backend service] shall start running on port5000
For better experience please chrome browser
ThroughVisual Studio2019, 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
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.
