Skip to content

Following a Pluralsight course on building a true RESTful API using ASP.NET Core

Notifications You must be signed in to change notification settings

reidj32/dotnet-core-restful-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful Links

Additional Shaping Options

  • Expanding child resources (e.g. /api/resource?expand=child)
  • Shaping those expanded resources (e.g. /api/resource?fields=f1,f2,child.f1)
  • Complex filters (e.g. /api/resource?field=contains('value'))

HATEOAS Support

  • The AuthorsController class currently uses the dynamic approach
  • The BooksController class currently uses the static approach
  • Using RequestHeaderMatchesMediaTypeAttribute to shape the Content-Type and Accept headers for a method
  • Using a supported method such as:

Build Automation

  1. Install Newman (link above)
  2. Run Newman from CLI as a build step newman -c mycollection.postman_collection --exitCode 1

About

Following a Pluralsight course on building a true RESTful API using ASP.NET Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages