Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou 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

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.Net FrameworkGitHub language countGitHub top languageGitHub repo size in bytesVisual Studio 2019Visual Studio Code
Api VersioningSwagger SupportLocalizationClaim-based-tokenFeature TogglingCentral Logging
Central LoggingCodacy BadgeCode Climate technical debtMaintainabilityto-do: Throttlingto-do: Caching

swagger documentation

Repository codebase

The repository consists of projects as below:

#Project NameProject detaillocationEnvironment
1Xero.Demo.ApiDotnet5 WebApi as backendsrc\Api folder.Net Framework
2Xero.Demo.Api.TestsTests for webapisrc\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. VS2019 to run/debug the applicationsOrVSCode to run/debug the applications

Project Setup detail
  1. Please clone or download the repository fromgithub

  2. Create a folder and place the downloaded repository and unzip if downloaded.

  3. Open the solution file throughVisual Studio2019 or throughVisual Studio Code open the newly created folder where the repository is downloaded

(a) To start the webapi
  1. ThroughVisual Studio2019, clickF5 button to run the webapi, Please make sure the webapi project is select as startup project.

  2. Or throughVisual Studio Code, open a command terminal by pressing the computer keyboard buttonsControl and~

    (a) Within the terminal, browse to folder location named as"src\Api"

    (b) Restore the dependencies, typedotnet restore on the terminal

    (c) Run the webapi project, typedotnet run on the terminal

  3. Api [backend service] shall start running on port5000

For better experience please chrome browser
(b) To run the unit test project
  1. ThroughVisual Studio2019, open theTest Explorer and run the tests.

  2. 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, typedotnet test on the terminal


Visitor BadgeGitHub contributorslicense

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


[8]ページ先頭

©2009-2026 Movatter.jp