Commit Graph

40929 Commits

Author SHA1 Message Date
Hao Kung b2318bc471 React to security API changes 2015-05-12 15:12:06 -07:00
mikary e3bccdb3b1 Support single threaded running of specific test projects through environment 2015-05-12 14:37:47 -07:00
Troy Dai a1422fa51b Update project.json in test 2015-05-12 14:15:20 -07:00
Troy Dai 16c5addf79 Remove comments from project.json 2015-05-12 14:11:22 -07:00
Kirthi Krishnamraju caa8ea44fb Fix #448: Support app-wide defaults for HTML helpers 2015-05-12 14:10:59 -07:00
Troy Dai 6676651e54 Remove comments from project.json 2015-05-12 14:04:15 -07:00
Troy Dai 538e1d6a8b Remove comments from project.json 2015-05-12 13:58:52 -07:00
Hao Kung 17deab142d AuthZ: Sugar to make resource parameter optional 2015-05-12 13:57:23 -07:00
Hao Kung bb2e12a8e6 Add sugar for UseClaimsTransformation 2015-05-12 13:52:32 -07:00
ASP.NET Push Bot 8653b9ca5e ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@73a4914c1f
2015-05-12 12:46:53 -07:00
Eilon Lipton e84f35bc2d Update Home master -> Home dev 2015-05-12 11:53:44 -07:00
Eilon Lipton 9b07b0cddc Update Home master -> Home dev 2015-05-12 11:53:38 -07:00
Eilon Lipton 805dc3f25b Update Home master -> Home dev 2015-05-12 11:53:31 -07:00
Eilon Lipton 77d689f0bd Update Home master -> Home dev 2015-05-12 11:50:38 -07:00
Eilon Lipton 08fe616c1c Update Home master -> Home dev 2015-05-12 11:50:16 -07:00
Eilon Lipton a4a37b2f0f Update Home master -> Home dev 2015-05-12 11:49:57 -07:00
Eilon Lipton 844e91d69d Update Home master -> Home dev 2015-05-12 11:49:51 -07:00
Eilon Lipton 2c9856d4da Update Home master -> Home dev 2015-05-12 11:49:45 -07:00
Eilon Lipton 384c6161be Update Home master -> Home dev 2015-05-12 11:48:54 -07:00
Eilon Lipton 75474fe9fa Update Home master -> Home dev 2015-05-12 11:48:43 -07:00
Eilon Lipton 8d2bc0d121 Update Home master -> Home dev 2015-05-12 11:48:23 -07:00
Eilon Lipton 72e88864af Update Home master -> Home dev 2015-05-12 11:48:17 -07:00
Eilon Lipton e1aa94bf39 Update Home master -> Home dev 2015-05-12 11:47:36 -07:00
Eilon Lipton a7b261e596 Update Home master -> Home dev 2015-05-12 11:47:30 -07:00
Eilon Lipton c1e0b2819c Update Home master -> Home dev 2015-05-12 11:47:18 -07:00
Eilon Lipton 241a1040ab Update Home master -> Home dev 2015-05-12 11:47:05 -07:00
Eilon Lipton 54fbf51894 Update Home master -> Home dev 2015-05-12 11:46:51 -07:00
Chris R 57594803fc React to IHttpRequestLifetimeFeature change. 2015-05-12 11:34:21 -07:00
Eilon Lipton ac230a78c1 Update Home master -> Home dev 2015-05-12 11:26:36 -07:00
Henk Mollema 8b1f8b9748 Added new ValidationSummary overloads to sample
Overview now shows every possible overload.

#1743
2015-05-12 20:20:34 +02:00
Ryan Nowak 4939181075 Fix #2528 - Revert formatter behavior for [Required]
This change removes the support in the DCS formatter to issue an error
message when [Required] is used on a value type.
2015-05-12 11:17:31 -07:00
Pranav K 13a3c0b931 Moving System.Security.Cryptography.Hashing.Algorithms to dnxcore50 node
to unbreak failing MusicStore dnu deploy.
2015-05-12 11:15:26 -07:00
Ryan Nowak 39fe063aee Fix #2330 - Reimagine *FormatterContext
This change simplifies InputFormatterContext/OutputFormatterContext by
swapping ActionContext for HttpContext.

This change is important especially for InputFormatterContext as it
decouples ModelState from ActionContext - allowing us to fix a
related bug where the _wrong_ ModelState can be passed in for a
TryUpdateModel operation.
2015-05-12 11:05:56 -07:00
Chris R dce1d0e88f #272 Make more properties settable (Items, RequestAborted, IsHttps, Query, Cookies). 2015-05-12 11:02:58 -07:00
Chris R f4d18f5a5d Use wildcard dependency version. 2015-05-12 06:39:15 -07:00
Doug Bunting 294fb5c3cd Quick fix: Missed `null` checks in 7dc0508 2015-05-11 22:12:28 -07:00
David Fowler 239906e943 No tabs 2015-05-11 21:03:28 -07:00
David Fowler 27376a7bb8 Add global.json with an sdk version for beta4 samples 2015-05-11 20:56:33 -07:00
Glenn Condron c390d47317 Add IsDevelopment and IsProduction extension methods 2015-05-11 18:29:27 -07:00
damianedwards 21dc2909a1 Made IRequestCultureStrategy async to support things like user profile lookup 2015-05-11 18:29:03 -07:00
damianedwards d22adcbef0 Remove RequestCulture caching as perf testing shows it has no benefit 2015-05-11 18:05:36 -07:00
David Fowler 5f12c3b1e3 Made build.sh executable 2015-05-11 17:55:59 -07:00
David Fowler e19289f7ac Merge pull request #255 from Tragetaschen/hosting-keep-alive
Third way of making configurable how hosting is kept alive
2015-05-11 17:52:46 -07:00
Doug Bunting fcf7b15c64 Remove `FromBodyOnProperty_RequiredOnValueTypeSubProperty_AddsModelStateError`
- this integration test depends on the old `[Required]` special case
- #2388 explicitly removes that bahaviour so the test goes with it
2015-05-11 17:18:52 -07:00
damianedwards bcabbbc9b8 Fix Travis by pinning to earlier Mono 2015-05-11 17:14:57 -07:00
James Newton-King de630754bf SerializerSettings refactor
Add SerializerSettings to MvcOptions and pass those options to the JsonInputFormatter and JsonOutputFormatter.
Remove custom contract resolver.

PR feedback
Pass JsonSerializerSettings to JsonPatchInputFormatter

PR feedback
Make DI JsonOutputFormatter formatter use MvcOptions SerializerSettings

Fix JsonPatchInputFormatter using null ContractResolver

Fix tests
2015-05-11 16:43:17 -07:00
Victor Hurdugaci aa2d38d6c1 Better error handling 2015-05-11 16:31:44 -07:00
Doug Bunting 3fbead0ce8 Get builds working better within VS (temporary fix?); disable pre-compilation
- remove `RazorPreCompilation.cs` files from all but the PrecompilationWebSite
- related to #2498 but not addressing that issue since pre-compilation is what that site is about
2015-05-11 16:14:04 -07:00
James Newton-King ab4cd5c4c4 Add JsonHelper for serializing JSON in views
- remove NotNull from JsonHelper Serialize
2015-05-11 16:01:08 -07:00
damianedwards 306d71ef43 Moved some things around:
- Options are now given to strategies
- Options only contains properties relevant to the middleware itself. Strategies can have their own properties, e.g. AcceptLanguageHeaderRequestCultureStrategy limits the number of values in the header to try
- Strategies now derive from common base class and validate against the options, e.g. app specified supported cultures
- Renamed RequestLocalizationMiddlewareOptions to RequestLocalizationOptions
- Fixed missing doc comments
2015-05-11 15:28:50 -07:00