Commit Graph

27752 Commits

Author SHA1 Message Date
Stephen Halter 43064ef8b6 React to Kestrel rename
aspnet/KestrelHttpServer#11
2015-08-11 16:30:03 -07:00
Hao Kung 67803d2f41 Challenge now always checks for accept 2015-08-11 16:15:48 -07:00
Kiran Challa 3940873943 Enable pinning build scripts(build.cmd) 2015-08-11 16:08:55 -07:00
Ryan Nowak 12ceb6ae1c React to DI namespace change part 3. 2015-08-11 15:44:47 -07:00
Chris R a7e7121c87 #540 React to CoreCLR Cryptography package changes and remove transitive dependencies. 2015-08-11 15:08:09 -07:00
Stephen Halter d97b02696f Merge Kestrel into Microsoft.AspNet.Server.Kestrel 2015-08-11 14:56:20 -07:00
Chris R 713c16810c #481 React to CoreCLR Cryptography package changes. 2015-08-11 14:52:23 -07:00
Chris R b51cf63637 #49 React to CoreCLR Cryptography package changes. 2015-08-11 14:43:06 -07:00
Chris R 311127e841 #139 React to CoreCLR Crytopgraphy package changes. 2015-08-11 14:38:16 -07:00
Ryan Nowak a1a6be06b6 React to namespace change in DI part 2. 2015-08-11 14:30:07 -07:00
Chris R 87d4033226 #10 React to CoreCLR Cryptography pacakge changes, remove transitive dependencies. 2015-08-11 14:29:37 -07:00
Pranav K 8915d428c4 Reacting to DI changes 2015-08-11 14:10:55 -07:00
Ryan Nowak f7cea9b6d7 React to namespace change in DI. 2015-08-11 14:10:30 -07:00
Pranav K b1013ed976 Reacting to DI changes 2015-08-11 14:07:12 -07:00
Pranav K 567b680801 Reacting to DI changes 2015-08-11 14:04:30 -07:00
Pranav K 7406e27981 Reacting to DI changes 2015-08-11 14:01:36 -07:00
Pranav K 1034e8a343 Reacting to DI changes 2015-08-11 13:58:06 -07:00
Pranav K 4342f25ece Reacting to DI changes 2015-08-11 13:04:40 -07:00
Pranav K 4576481a32 Reacting to DI changes 2015-08-11 12:57:06 -07:00
Pranav K 3bed6fce9c Reacting to DI changes 2015-08-11 12:53:18 -07:00
Stephen Halter a2983f355c Merge branch 'benaadams/sample-return-task' into dev 2015-08-11 12:47:11 -07:00
Stephen Halter 0ac3c3dad6 More ConfigureAwait(false) 2015-08-11 12:46:08 -07:00
Stephen Halter 688ad9bee7 Merge branch 'benaadams/configure-awaits' into dev 2015-08-11 12:34:53 -07:00
Ryan Nowak 3ad3f88d69 Fix MVC build break due to deleted package 2015-08-11 12:21:01 -07:00
Chris R 77865ca314 #2939 React to CoreCLR Cryptography package changes. 2015-08-11 11:00:14 -07:00
Chris R f3e03fbf26 #396 React to CoreCLR Cryptography package changes, remove transitive dependencies. 2015-08-11 10:43:02 -07:00
Chris R 9bebd183d7 #396 React to CoreCLR Cryptography package refactoring. Remove transitive dependencies. 2015-08-11 10:34:11 -07:00
Ryan Nowak 17588a4089 Incorporate breaking changes from MVC TagBuilder 2015-08-11 09:16:21 -07:00
Doug Bunting 9fc3d25bfc Fix build break: Missing a recently-added parameter 2015-08-11 09:03:51 -07:00
Doug Bunting 83a559c28c Add `ModelValidationNode`s consistently
- #2633
- do not leave `ModelBindingResult.ValidationNode` as `null` when we hit the `null` `RawValue` special case
 - move two bits of code together to make the special case more obvious
- add `ModelValidationNode` (that suppresses validation) when `HttpRequestMessageModelBinder` is successful
 - also suppress validation of `HttpRequestMEssage` properties
- suppress validation in `CancellationTokenModelBinder`, `FormCollectionModelBinder`, `FormCollectionModelBinder`
- do not create a `ModelValidationNode` when validation fails in `TypeConverterModelBinder`

nits:
- improve some doc comments
- add a quick `HttpRequestMessageModelBinderTest`
2015-08-11 08:30:29 -07:00
Doug Bunting d45e2ee3f5 Handle broader range of collection types in model binding
- #2793
- add `ICollectionModelBinder`, allowing `GenericModelBinder` to call `CreateEmptyCollection()`
- adjust `CollectionModelBinder` and `DictionaryModelBinder` to activate model if default types are incompatible
 - do not create default (empty) top-level collection in fallback case if Model already non-`null`
- change type checks in `GenericModelBinder` to align with `CollectionModelBinder` capabilities
 - add special case for `IEnumerable<T>`
- correct `ModelMetadata` of a few tests that previously did not need that information
2015-08-11 08:26:49 -07:00
sornaks b6a109e2a3 Making DefaultDisplayTemplates and DefaultEditorTemplates use IHtmlContent.
- Making TagBuilder's InnerHtml an IHtmlContent.
- Delay encoding until the content is written.
- Moving BufferedHtmlContent to Common cos it is used in aspnet/Razor also.
- Changing GenerateOption to take in a string and create StringHtmlContent.
- This reduces the space used by around 13%.
2015-08-10 14:55:34 -07:00
sornaks 168fcbb9c1 Replacing BufferedEntryCollection with BufferedHtmlContent so any IHtmlContent can be added to a TagHelperContent.
- Introducing a new logic to calculate IsEmpty/IsWhitespace.
- Making Buffer private in DefaultTagHelperContent.
- Making SetContent non-abstract.
2015-08-10 14:54:10 -07:00
Kiran Challa 5ffac92a1d Added wwwroot folder to WelcomePageSample 2015-08-10 13:12:15 -07:00
N. Taylor Mullen a0da6ec19f Add `AddHtmlAttributeValues` for `TagHelper`s.
- Refactored `WriteAttributeTo` to allow re-use of some of the core attribute writing logic. The refactoring was based on removing the `Begin`/`EndContext` for instrumentation bits which isn't valid in a `TagHelper` attribute scenario.
- Added unit tests to validate attributes are properly added to `TagHelperExecutionContext`.
- Added functional test to validate everything is output as expected with dynamic attributes (encoded and non-encoded).

aspnet/Razor#247
2015-08-10 12:06:02 -07:00
Victor Hurdugaci 7b0f6e7c2a Build tests and samples during regular build 2015-08-10 12:04:25 -07:00
N. Taylor Mullen 4604c807c4 Add ability for unbound complex `TagHelper` attributes to flow through MVC attribute resolution system.
- Today MVC has specific rules about resolving Razor attribute values. Ex: `true` => attribute name being used as attribute value. This change ensures that unbound complex `TagHelper` attribute use that same logic.
- Added configuration to `GeneratedTagHelperContext` for `AddHtmlAttributeValues`.
- Had to be careful with code generating `AddHtmlAttributeValues`. In the case of `data-`; they can appear as complex attributes but may not contain any pieces that are `DynamicAttributeBlockChunk`s. Had to protect against this scenario.
- Updated existing test files.
- Added a new code gen test case to showcase the various use-cases of unbound dynamic `TagHelper` attributes.

#247
2015-08-10 11:29:22 -07:00
Ryan Nowak ff6cbfd7cf Make saving TempData operate via a filter
This change moves the responsibility for saving TempData into a filter,
which is registered with other View features. This moves TempData into the
ViewFeatures package.

ActionResults which require TempData to be kept use a new marker interface
which is handled by the filter.
2015-08-07 16:53:11 -07:00
Ajay Bhargav Baaskaran b5237b29b5 [Fixes #2896] Made UrlHelper.Content behavior consistent with MVC 5 2015-08-07 16:40:23 -07:00
KevinDockx 94fad918a3 Replace of Add operation (jsonpatch dynamic support) 2015-08-07 16:10:07 -07:00
Chris R 28d3b18686 #43 Honor CancellationTokens in GetClientCertificateAsync. 2015-08-07 16:01:36 -07:00
Pranav K 9d467810b5 Switching to Autofac from NuGet.org 2015-08-07 15:53:53 -07:00
Kiran Challa 12e78455d4 Added Content-Type header to RuntimeInfoPage view and reacting to namespace change 2015-08-07 12:47:36 -07:00
Stephen Halter b2226772e3 Expand timeout in SocketOutputTests due to flakiness on the CI server
#154
2015-08-07 12:27:04 -07:00
Pranav K 91bbfe949c * Cleaning up unused types in Razor precompilation. 2015-08-07 11:09:11 -07:00
Pranav K dfacd2543b * Remove support for updateable precompiled views.
* Allow precompiled views to be served when source file does not exist in
  file system.
* Cache results for views that do not exist on disk.

Fixes #2462 and fixes #2796.
Partially addresses #2551
2015-08-07 11:08:48 -07:00
Ajay Bhargav Baaskaran 73474132d1 Added a target to verify nupkgs with NugetPackageVerifier 2015-08-07 10:58:46 -07:00
Pranav K 982213e9e0 Reacting to DI changes 2015-08-07 10:50:25 -07:00
Kiran Challa 540bcc7950 Clear session on logoff 2015-08-07 10:45:13 -07:00
Ryan Nowak 152e4ef915 Fix #2874 part 2 - Add AddLocalization() overload for MVC localization. 2015-08-07 09:49:08 -07:00