Commit Graph

40898 Commits

Author SHA1 Message Date
Chris Ross d111e24da7 #190 - Swap Http and Http.Core package names. Remove Http.Core namespace. 2015-04-16 12:07:50 -07:00
Ryan Nowak f77493dffe Part 1 of #1712 - Remove reflection in MutableObjectModelBinder
This change introduces a new property to ModelMetadata called
IsBindingRequired, which specifies whether or not a model value must be
present on the wire during model binding.

[DataMember(IsRequired = true)] is currently the only thing that will set
this property.

Updated tests and documentation for clarity on the difference in meaning
between MM.IsRequired and MM.IsBindingRequired. Moved setting for
IsRequired to ValidationMetadata which is a better fit.

Also added functional tests for [BindingBehavior] and [DataMember] in
model binding because they were totally missing.
2015-04-16 12:07:33 -07:00
Kiran Challa c3f10f4a0f Logging for content-negotiation 2015-04-16 12:02:55 -07:00
Praburaj 9c5d86d4c0 Enabling host shutdown events. 2015-04-16 11:55:54 -07:00
Chris Ross 22a1cab976 #149 - Expose connection information as 1st class. 2015-04-16 11:41:41 -07:00
Praburaj c44e65c27f Stabilizing IIS helpers. 2015-04-16 11:34:22 -07:00
Kiran Challa 7576116969 Removed test code related to logging and instead used Testing repo's logging helpers. 2015-04-16 11:19:24 -07:00
Kiran Challa 65bd8c448a Removed Logging related ILogValues types and cleaned up tests. 2015-04-16 11:19:20 -07:00
Kiran Challa 20daab2fb5 Removed direct dependency on Framework.Logging and instead used Framework.Logging.Interfaces.
Fixed breaking code which additionally cleans up start-up logging which we wanted to do.
2015-04-16 11:19:17 -07:00
Chris Ross d034dbb3c7 Infrastructure and Hello World and NTLM tests. 2015-04-16 10:38:05 -07:00
Henk Mollema 9eb87d4676 Removed htmlAttributes null check in GenerateForm
The null check caused the form not to use the default url generation
behavior when html attributes were specified.
2015-04-16 16:29:27 +02:00
Praburaj 9eca47b388 Changing all validators to async 2015-04-15 23:59:04 -07:00
Praburaj 0083778faf Helpers async 2015-04-15 23:35:47 -07:00
Praburaj bea42ef0ca Making tests async 2015-04-15 23:21:44 -07:00
Praburaj 9c8fa0f3f9 Return HttpResponseMessage from RetryHelper 2015-04-15 23:15:12 -07:00
Praburaj 0823c5802c Cleanup. 2015-04-15 21:51:46 -07:00
Praburaj cae0d494a9 Moving some logging into the helpers 2015-04-15 21:37:15 -07:00
Praburaj edec7e9cce Changing the retry interval to 1 second with retry count = 60
Also exposing a host shutdown token to prevent retries after the process died.
2015-04-15 16:59:48 -07:00
Praburaj 64977e14a9 Fixing IIS variations 2015-04-15 16:06:54 -07:00
Praburaj 76d0d56b5d Setting DNX_APPBASE from the deployment helpers 2015-04-15 15:09:15 -07:00
Harsh Gupta 7f68a47fde Fixing doc comments for c67236141b 2015-04-15 14:46:29 -07:00
Praburaj 6dd1fd7dc1 Selfhost does not seem to like CreateNoWindow on CI. 2015-04-15 14:36:22 -07:00
Harsh Gupta c67236141b Fixes 2304:
The fix splits client validation and model validation into two separate hierarchies.
Introduced ClientModelValidatorProvider in MvcOptions, which can be iterated to produce IClientModelValidators.
As a result of this, HtmlGenerator code can be free of ActionBindingContext and directly consumes options.
This also means that we do not modify the client validations during resource filters.
2015-04-15 14:30:46 -07:00
Praburaj 1c648fa905 Revert "Fixing runtime info middleware on coreclr"
This reverts commit 7f83cc4e99.
2015-04-15 13:55:21 -07:00
Praburaj 5a289a2c9b Merge branch 'packagename' into dev 2015-04-15 13:50:12 -07:00
Praburaj eac23bc1d8 Moving some helpers into validator class 2015-04-15 13:49:57 -07:00
Hao Kung f191792b96 React to Http Challenge changes 2015-04-15 13:10:35 -07:00
Hao Kung f71d49744e React to WebHostingBuilder 2015-04-15 12:45:28 -07:00
N. Taylor Mullen eaa58bc913 Change inject directive to format correctly after newline during design time.
- Also modified existing tests to account for aspnet/Razor#332 which fixed models formatting after newline.
- Updated tests for inject to understand new formatting parsing.

aspnet/Razor#332
2015-04-15 12:18:45 -07:00
Praburaj ebf76371de Adding a package description for the ELM middleware package
Fixes: https://github.com/aspnet/Diagnostics/issues/100
2015-04-15 12:10:04 -07:00
Ajay Bhargav Baaskaran 4951235eef [Fixes #2337] Added support for file types in input taghelper and
htmlhelper
2015-04-15 11:58:40 -07:00
Ajay Bhargav Baaskaran a9f2c937df React to Cookie changes 2015-04-15 11:50:11 -07:00
Hao Kung bee20973c7 React to http challenge changes 2015-04-15 11:39:12 -07:00
N. Taylor Mullen fedd53aab8 Update Razor directives to format correctly when entering newline.
- Existing Razor directives layout, inherits, addTagHelper, tagHelperPrefix and removeTagHelper should only ever span a single line and need to cause a re-parse when a newline is entered during design time. To do this modified their AcceptedCharacters to accept anything other than newline rather than anything.
- Updated existing tests to now expect AcceptedCharacters.AnyExceptNewLine when directives are present.
- This change also enables the model directive in Mvc since it also uses the inherit directives core parsing.

#332
2015-04-15 11:32:47 -07:00
N. Taylor Mullen 5bcda94b2c Create error when TagHelper binds to HTML attribute starting w/ data-.
- Added TagHelperDescriptorFactory tests to validate TagHelperAttributeDescriptor creation.

#342
2015-04-15 11:24:08 -07:00
Hao Kung 9ce84d39c2 React to http challenge changes 2015-04-15 11:21:32 -07:00
Hao Kung c69c289abf Simplify Challenge flow 2015-04-15 11:15:40 -07:00
Praburaj 98e70636fe Adding a description for hosting interfaces package.
Fixes: https://github.com/aspnet/Hosting/issues/193
2015-04-15 11:10:18 -07:00
Chris Ross 10f1b9c038 Fix cookie handling in tests. 2015-04-15 11:04:46 -07:00
Praburaj 7f83cc4e99 Fixing runtime info middleware on coreclr
Fixes: https://github.com/aspnet/Diagnostics/issues/108
2015-04-15 11:04:03 -07:00
Chris Ross 7641ca3722 Handle change to cookie parser. 2015-04-15 10:25:47 -07:00
Praburaj 062722f1fb Some diagnostic messages cleanup on deployment helpers 2015-04-15 10:01:44 -07:00
Praburaj 7c5e95818f Adding more diagnostics for iis express process. 2015-04-15 09:48:24 -07:00
Chris Ross e818783ba4 #167: Update cookie APIs to use shared core. 2015-04-15 09:37:47 -07:00
Chris Ross 09d6ab03bc Re-use public constants for header names. 2015-04-15 09:33:35 -07:00
Pranav K 8d506097a0 Update dnu restore to use --parallel flag 2015-04-15 08:15:45 -07:00
Youngjune Hong 9daf6b48a1 Update ModelBinderAttribute not throw exceptions from BinderType property setter 2015-04-14 17:31:50 -07:00
Praburaj 2f0eafa2a3 Scoping a work around previously applied for a Dnx bug 2015-04-14 17:09:51 -07:00
Praburaj 7f5f88081b Honoring the DNX_PACKAGES environment variable. 2015-04-14 17:03:18 -07:00
Praburaj 607ba4aef0 Overriding the environment variables as some of these environment variables are set on CI machines. 2015-04-14 16:32:37 -07:00