Commit Graph

40898 Commits

Author SHA1 Message Date
Hao Kung 58b2cf6c7d Update samples 2016-01-14 12:54:03 -08:00
Hao Kung 2dade94404 Move claims extensions to UserManager
Also update samples to Templates
2016-01-14 12:49:21 -08:00
Ajay Bhargav Baaskaran 30ddf9b969 Updated missed TimestampToTicks changes 2016-01-14 12:42:31 -08:00
Ben Adams 63a7d50dd1 Invert TimestampToTicks division 2016-01-14 12:20:59 -08:00
Pranav K 13c7e68fa7 Fix incorrect xml docs for RoslynCompilationService
Fixes #3384
2016-01-14 12:15:48 -08:00
Pranav K 200fb23ba5 Reduce allocations in GlobbingUrlBuilder 2016-01-14 12:15:41 -08:00
Ajay Bhargav Baaskaran 99474a2709 Removed use of dnu commands 2016-01-14 11:57:29 -08:00
Stephen Halter e5ad019575 Revert "Merge branch 'benaadams/copyfrom-perf' into dev"
This reverts commit ce61282320, reversing
changes made to 7ef70bc145.
2016-01-14 11:47:23 -08:00
Brennan e05469a989 Use UTC 2016-01-14 11:38:16 -08:00
Pranav K e078259547 Modify UrlHelper to use a single StringBuilder 2016-01-14 10:39:35 -08:00
Chris R 3458f80ec4 Rename windows auth forwarder header to MS-PLATFORM-HANDLER-WINAUTHTOKEN. 2016-01-14 10:29:39 -08:00
Pranav K 1dba1cc661 Bumping Json.Net version to 8.0.1 2016-01-13 18:25:44 -08:00
Pranav K aa5a4d4af2 Revert "Revert DependencyContext changes untill dotnet-cli packages get sorted out"
This reverts commit 57bf12311b.
2016-01-13 16:24:33 -08:00
Chris R cc1cb1d480 #27 Forward client certificates. 2016-01-13 15:07:14 -08:00
Pavel Krymets 3c79b425f1 Use dynamic ports for all deployers 2016-01-13 14:31:24 -08:00
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