REST - The ignored parts
summary
Claim: most APIs calling themselves REST are just JSON over HTTP because teams ignore HTTP's constraints like HATEOAS and proper versioning. Demo uses .NET Core + Entity Framework + SQL Server and Postman to show concrete fixes: enable content negotiation and XML formatter, use HEAD/OPTIONS, return 201 with Location, configure automatic validation (validation problem details / application/problem+json / 422), and use API versioning via header or query instead of version-in-path. Toolbox shown: jsonapi.netcore, ASP.NET Core API versioning and ConfigureApiBehavior; some demos ran and produced 201/406/200 as expected while a few live-demo hiccups occurred. HATEOAS ignored
AI-written summary · about
chapters (17)
- 0:00Start
- 1:15Agenda
- 1:34What Is Rest Representational State Transfer
- 4:35Caching
- 5:11The Uniform Interface
- 6:05Client Server
- 7:34The Caching
- 11:17Identify Resources
- 15:03Self-Descriptive Messages
- 15:37Media Types
- 17:03Endpoints
- 20:45Status Codes
- 26:58Describe Errors
- 41:09Browser Accept Header
- 54:48Versioning
- 55:54Default Api Version
- 56:47Api Versioning Error Provider








