Skip to content

bryn500/min-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example minimal api

Simple

dotnet run

Minimal with auth/rate limiting/caching

dotnet run
curl -i http://localhost:{port}/info
dotnet user-jwts create --role "user" --role "admin"
curl -i -H "Authorization: Bearer {token}" https://localhost:{port}/hello
curl -i -H "Authorization: Bearer {token}" https://localhost:{port}/auth/test
curl -i -H "Authorization: Bearer {token}" https://localhost:{port}/auth/admin

todo

Example of output cache and response cache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages