AspNetCore.Docs/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attr.../samples
H Masri a47db5277c {authorId:int} instead of {authorId} (#2822)
// its better to use {authorId:int} instead of just {authorId}
// wrong {authorId} will produce a 400 error with error message
// wrong {authorId:int} will produce a 404 error

Since the publish date route is limited to a couple of formats, I assume you're of the type to prefer to control what type of error is shown to the resource user.
2017-02-23 11:59:22 -10:00
..
sample1.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample2.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample3.ps1 merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample4.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample5.ps1 merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample6.json merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample7.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample8.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample9.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample10.json merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample11.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample12.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample13.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample14.json merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample15.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample16.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample17.cs {authorId:int} instead of {authorId} (#2822) 2017-02-23 11:59:22 -10:00
sample18.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample19.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample20.html merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample21.json merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00
sample22.cs merge aspnetmigration to master (#2668) 2017-02-03 11:40:22 -10:00