Commit Graph

7 Commits (29ccbaa0b096978e9c0ce040c84739f012c4fd7d)

Author SHA1 Message Date
Bart Lannoeye b10558c28d Use StatusCode instead of hardcoded integers (#10886)
* Added missing ProducesResponseType, aligned response types

Fixes #10613

* Apply suggestions from code review

Co-Authored-By: bartlannoeye <bart.lannoeye@gmail.com>

* Use StatusCodes instead of int for define-controller samples

* Use StatusCodes instead of int for action-return-samples

* Apply PR remarks
2019-02-19 12:43:18 -06:00
Luke Latham 5704de168e Implicit versioning of the All package (#9223)
Fixes #9219 

@JunTaoLuo Dan calls out the implicit versioning "for 2.1 SDK or later;" however, we don't usually version the doc content by SDK release. We might need to say something for this update in the passage that I'm adding to the All topic (*aspnetcore/fundamentals/metapackage.md*) about which SDK version this applies to. I don't know if that's something that you would like to do or what version to call out.

I also remove the version from the samples. We also assume that devs are using the latest SDK with our samples.
2018-10-25 15:16:50 -10:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05:00
Scott Addie 4b4b8e5f2a Replace line numbers range with snippet name 2018-07-24 21:44:05 -05:00
Scott Addie 6bfabdb9c8
Convert synchronous web API methods to async (#7544)
* Convert synchronous web API methods to async

* React to feedback
2018-07-10 14:08:50 -05:00
Scott Addie d7716559e8
Add Web API controller definition doc (#6003)
* Add Web API controller definition doc

* Remove wwwroot folder reference from csproj file

* Verbiage tweaks

* Add info about FromForm inference

* Bold the attribute names

* Add TOC entries

* Change link ordering in TOC

* Add note about IntelliSense

* Major sample app changes

* Fix code snippet line numbers

* Minor verbiage tweaks

* Add a README file

* Add TestController.cs

* Verbiage changes

* Shorten wording

* Change wording

* Minor edit

* React to feedback

* Add attributes table

* Verbiage tweaks

* querystring -> query string

* Minor edit

* Add 2.1 controller samples

* Fix invalid moniker names

* Update code sample to 2.1

* Update line number

* Convert uppercase W to lowercase

* React to feedback

* Update sample app's README file

* Project file cleanup

* Replace word

* Remove MVC views from sample app

* Derive from ControllerBase instead of Controller
2018-04-24 14:03:55 -05:00