Commit Graph

39583 Commits

Author SHA1 Message Date
John Luo c747ce630d TestServer should not capture startup errors by default 2016-01-13 14:23:16 -08:00
Pranav K 672d596248 Changes to build using dotnet-cli 2016-01-13 13:02:32 -08:00
Cesar Blum Silveira d70e1eca73 Honor KOREBUILD_TEST_SKIPMONO (#353). 2016-01-13 12:43:34 -08:00
Ryan Nowak 420f442487 Fixes #3818 - Support Consumes in ApiExplorer
This change adds a list of ApiRequestFormat objects to ApiDescription
object which include the content type and formatter for each supported
content type which can be understood by the action.

Computation is aware of the [Consumes] attribute via the
IApiRequestMetadataProvider metadata interface, and aware of Input
Formatters via the new IApiRequestFormatMetadataProvider interface.

This algorithm is essentially the same as what we do for
produces/output-formatters. We iterate the filters and ask them what
content types they think are supported. Then we cross check that list with
the formatters, and ask them which from that list are supported. If no
[Consumes] filters are used, the formatters will include everything they
support by default.

This feature and data is only available when an action has a [FromBody]
parameter, which will naturally exclude actions that handle GET or DELETE
and don't process the body.
2016-01-13 12:32:17 -08:00
John Luo 32bb324886 Removing redundant null logger after hosting fix 2016-01-13 12:14:38 -08:00
Cesar Blum Silveira 8b6df5f704 Set DOTNET_HOME to correct path (#350). 2016-01-13 12:00:45 -08:00
Chris R a442701e22 Merge pull request #24 from tthiery/dev
Added Unit Tests for form field based HTTP Method Override
2016-01-13 11:59:03 -08:00
John Luo f7be1fb80e Fixing logger nullref when context created with no feature #532 2016-01-13 11:47:10 -08:00
Ben Adams fa72fdeaed Higher accuracy in timings 2016-01-13 11:36:39 -08:00
Victor Hurdugaci 5165163c2c Build with dotnet 2016-01-13 09:51:15 -08:00
Ryan Nowak 70cee90186 Add optional filter caching 2016-01-13 09:11:08 -08:00
David Fowler 4e495b3578 Merge pull request #534 from khellang/save-form-file
Promote IFormFile extension methods
2016-01-13 15:01:46 +00:00
Kristian Hellang 4b64d187c2 Promote IFormFile extension methods to IFormFile 2016-01-13 14:30:14 +01:00
John Luo d422201e01 Elaborating error message when no startup is specified 2016-01-12 22:14:09 -08:00
John Luo c5cab7a786 Reacting to hosting API changes 2016-01-12 18:07:17 -08:00
Victor Hurdugaci 11d048faa7 Build with dotnet 2016-01-12 16:22:33 -08:00
Victor Hurdugaci 1a3f9eda84 Build with dotnet 2016-01-12 16:10:08 -08:00
John Luo adfb3e5aff Reacting to Hosting API changes 2016-01-12 16:07:18 -08:00
John Luo 807cd77307 Reacting to Hosting API changes 2016-01-12 16:03:24 -08:00
javiercn 6ba05add3f [Fixes #3230] Remove use of reflection in MutableObjectModelBinder 2016-01-12 15:52:27 -08:00
jacalvar 1ca25c48af Fix warning in documentation due to mising using 2016-01-12 15:45:34 -08:00
Chris R 197a2aa3fa React to Hosting API change. 2016-01-12 15:41:35 -08:00
Chris R 02d5eaee62 React to hosting API changes. 2016-01-12 15:34:44 -08:00
Chris R bab41f2fbd React to Hosting API changes. 2016-01-12 15:27:00 -08:00
Pranav K 7463dee1d5 Removing precompilation module 2016-01-12 15:24:29 -08:00
Chris R 529a81dc6b React to Hosting API changes. 2016-01-12 15:22:02 -08:00
javiercn 2063356f24 [Fixes #3683] Replace implementations in MediaTypeComparisons and
MediaTypeEncodings with memory efficient implementations using a MediaType
struct.
2016-01-12 15:09:48 -08:00
javiercn 739f83a978 Support caching of the Content-Type string used by OutputFormatter
when the encoding is Utf-8.
2016-01-12 15:09:46 -08:00
jacalvar 830fd410f5 Remove runtime dependency usage of MediaTypeHeaderValue.
Removes usage of MediaTypeHeaderValue in ApiExplorer, InputFormatters and
OutputFormatters

Public interface changes with stub implementation.
2016-01-12 15:09:46 -08:00
Chris R c536b339d0 React to hosting API changes. 2016-01-12 15:08:05 -08:00
Chris R 4d1737708e #241 Fix cookie error page 2016-01-12 15:03:56 -08:00
Pranav K 9c6e5f714a Updating to use Dotnet-Cli build 2016-01-12 14:53:10 -08:00
Pranav K 32d15186a0 Remove Razor precompilation 2016-01-12 14:51:33 -08:00
Chris R 1b9215002c React to hosting API changes. 2016-01-12 14:36:24 -08:00
Chris R c1359a2166 React to hosting API changes. 2016-01-12 14:31:03 -08:00
Stephen Halter ce61282320 Merge branch 'benaadams/copyfrom-perf' into dev 2016-01-12 14:24:35 -08:00
Chris R 30b71fb8c5 React to hosting API changes. 2016-01-12 14:22:45 -08:00
Chris R 77ca6be6cb React to hosting platform handler API changes. 2016-01-12 14:17:31 -08:00
moozzyk b2a3f871c0 Microsoft.AspNet.Tools.PublishIIS -> dotnet-publish-iis
Renaming Microsoft.AspNet.Tools.PublishIIS to dotnet-publish-iis as this is the convention dotnet tools must follow
2016-01-12 14:15:21 -08:00
Ben Adams caaf9d473b Faster CopyFrom 2016-01-12 21:43:37 +00:00
Chris R 0589b883b8 #14, 52 Add IWebApplicationBuilder.UseIISPlatformHandlerUrl, include path base 2016-01-12 13:33:21 -08:00
Stephen Halter 7ef70bc145 Merge branch 'anderman/FindFirstByteFast' into dev 2016-01-12 12:51:50 -08:00
Stephen Halter d9f6ac70a0 Merge branch 'benaadams/using-reorder' into dev 2016-01-12 12:15:54 -08:00
Stephen Halter f32f1c4440 Merge branch 'henkollema/projectjson' into dev 2016-01-12 12:14:35 -08:00
Steve Gordon d0046cafe9 Fixing minor error with comment 2016-01-12 12:11:17 -08:00
ryanbrandenburg a182eca6d4 * Use suggested Antiforgery AJAX patern. 2016-01-12 11:56:59 -08:00
ryanbrandenburg cad7d44686 * Add a sample for SubAreas 2016-01-12 11:48:09 -08:00
Chris R 317c9d0e80 Remove HttpPlatformHandler port detection. 2016-01-12 11:43:01 -08:00
Troy Dai eb617eb9a9 Publish to inetpub 2016-01-12 11:37:40 -08:00
Pranav K 1da673e0e2 Updating NuGetPackageVerifier.json 2016-01-12 11:03:59 -08:00