Sample ASP.NET Web API project with OAuth authentication and many other extensions.
C# CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
YellowNotes
.gitattributes
.gitignore
README.md

README.md

YellowNotes

Sample ASP.NET Web API project with OAuth authentication and many other extensions.

Table of contents

  1. The basics of API (CRUD)
  2. Validation
  3. Authentication and authorization
  4. Documentation
  5. Other
  6. Samples and Examples
  7. Contributing
  8. Useful links

1. The basics of API (GoodNotesController)

  • Create -> Post
  • Read -> Get
  • Update -> Put
  • Delete -> Delete

2. Validation

3. Authentication and authorization

4. Documentation

5. Other


6. Samples and Examples

Token generation

Token generation

Access to resource denied

Access denied

Access to resource granted

Access granted

Refresh Token utilise

Refresh Token utilise

Model validation

Model empty validation

CORS (Cross-Origin Resource Sharing)

CORS

Documentation Help Pages

Help Pages

HTTP Status Codes


7. Contributing

You are very welcome to submit either issues or pull requests to this repository!

I'm trying to follow GitHub Flow process, so please follow this rules:

  • Make changes on feature branch.
  • Commit messages should be clear and as much as possible descriptive.
  • Rebase if required.
  • Make sure that your code compile and run locally.
  • Push your feature branch to GitHub.
  • Create pull request.

8. Useful links