Commit Graph

40929 Commits

Author SHA1 Message Date
Kai Ruhnau 95b1997c14 Simplify Hosting's shutdown handling.
Don't require a TTY on Unix.
2015-05-12 00:10:24 +02:00
Hao Kung 1354d66fb6 Ensure ConfigureServices is only called once 2015-05-11 15:08:40 -07:00
Smit Patel 499f62c596 React to EF Changes: Remove Usage of BasicModelBuilder 2015-05-11 14:59:38 -07:00
Victor Hurdugaci 0593c0def7 Add the exit code to the remote result 2015-05-11 14:34:05 -07:00
Kiran Challa 40794fcc33 Custom stream writer which avoids writing the BOM and does not flush or close the stream. 2015-05-11 13:27:05 -07:00
damianedwards 9834a27728 Culture names are now limited to a known list:
- Added tool to generate a set of known culture names from the OS/Fx
- CultureInfoCache is now limited to only caching/returning cultures from the known list
- #6
2015-05-11 12:58:18 -07:00
Ajay Bhargav Baaskaran d6012d4297 [Fixes #2506] Added overload to Controller.Json to accept JsonSerializerSettings 2015-05-11 12:36:45 -07:00
Pranav K 131096ff61 Adding relevant unit tests for MvcRazorCodeParser property name trimming 2015-05-11 12:20:49 -07:00
David Paquette ab4d2eec31 ImageTagHelper
An ImageTagHelper that supports cache busting by appending a file
version hash to the image src attribute
[Resolves #2249]

Code cleanup
2015-05-11 13:41:10 -05:00
Chris R 9b5a476622 #4 Add logging to debug flaky tests. 2015-05-11 09:41:25 -07:00
Chris R 7dd670e192 #4 Disable parallel test execution. 2015-05-11 09:19:52 -07:00
Chris R eaecffb9d7 Enable IIS connection: close test. 2015-05-11 09:08:56 -07:00
Henk Mollema 89b5f5b1aa Utilize nameof operator 2015-05-11 17:37:54 +02:00
Pranav K a591e53dc9 Removing unused TypeHelper method 2015-05-11 06:15:35 -07:00
Glen 2bb2d1484d Fix variable names in dnvminstall.ps1 2015-05-11 10:32:45 +02:00
Doug Bunting 7dc0508c03 Add `[HtmlAttributeName(..., DictionaryAttributePrefix="prefix")]` part 1
- related to #89 because we need more descriptor comparers in more places
- separate `TagHelperAttributeDescriptorComparer` and `TypeBasedTagHelperDescriptorComparer`
 - encourages reuse and most will soon be used in multiple classes
- add `null` checks to `EquivalenceComparer`
 - also give parameters better names

nits:
- use `<inheritdoc/>` in `TagHelperDescriptorComparer`
 - also give it an explicit constructor
- make product comparers easier to subclass
 - base test `CaseSensitiveTagHelperAttributeDescriptorComparer` on product code
2015-05-10 22:15:29 -07:00
Eilon Lipton e703a8c247 Merge pull request #580 from vkichline/patch-1
Update README.md
2015-05-10 09:03:48 -07:00
David Fowler 12d3f48bfd Merge pull request #261 from Tragetaschen/started-event
Add an ApplicationStarted event
2015-05-10 02:05:48 -07:00
Matthew Bonner 648f00c03d MINOR: Removed additional space from indentation of ReferenceAssemblies HashSet. 2015-05-09 22:00:46 +01:00
Pranav K 320507604a Removing superfluous types and methods from Common. 2015-05-09 08:04:28 -07:00
Kai Ruhnau 4de328069a Add an ApplicationStarted event 2015-05-09 08:52:53 +02:00
Eilon Lipton 96a0b3e459 Merge pull request #241 from hishamco/dev
Using [NotNull] and  'nameof' operator
2015-05-08 22:03:14 -07:00
Doug Bunting 61b76fd99f Use `ClosedGenericMatcher.ExtractGenericInterface()` from Common repo
- added in aspnet/Common@aae8e6e

nits:
- reorder dependencies alphabetically
- avoid `GetGenericArguments()` extension method with `ExtractGenericInterface()` return value
 - use `GenericTypeArguments`
- usual trailing whitespace auto-removals
2015-05-08 20:23:06 -07:00
Harsh Gupta 583277cceb Adding tests for ActionParameters and TryUpdateModel 2015-05-08 19:11:03 -07:00
Ryan Nowak 8a476b56d8 Part 2 of fix for #2248 - Support 'override' of attribute routes on action
methods

This change applies the 'override' semantic to attribute routes on virtual
methods.

A method override can either inherit attribute routes from a base
definition, or can replace them. It's not possible to inherit routes and
also add to them.
2015-05-08 17:05:50 -07:00
Ryan Nowak 46db71cfce Part 1 of fix for #2248 - Ambiguity when inheriting attribute routes
The change here is to make an attribute route defined on a base class
inherited only if no other routes were defined 'closer' to the controller
class.

To put another way, attribute routes can either be inherited or
overridden, you can't inherit + add your own.
2015-05-08 17:05:45 -07:00
Barry Dorrans eaa7ca9e81 Adding validation regex timeout. 2015-05-08 14:33:45 -07:00
Ryan Nowak 2b4702728d Fix #1910 - Review and improve docs for 'Order' properties 2015-05-08 14:31:32 -07:00
Victor Hurdugaci 7839b80f04 Scripts to run tests remotely 2015-05-08 14:08:13 -07:00
Ryan Nowak 0f6b2331ce Fix #2378 - Fully expand models in ApiExplorer
This change dramatically simplifies the parameter discovery logic in
DefaultApiDescriptionProvider. Instead of surfacing POCO objects as
parameters, we now fully expand every model.

The rationale is that we want to show every key/value that can be set by
the user and not force consumers of ApiDescription to do that themselves.

Tests are cleaned up to match the new behavior.
2015-05-08 11:53:38 -07:00
Hao Kung f0098b6e1e No password = auto fail password checks
Rather than null ref boom...
2015-05-08 10:57:18 -07:00
Chris R c4df4a0a15 #303 Enable tests for CoreCLR. 2015-05-08 10:52:43 -07:00
Van Kichline 2d97024dbe Update README.md
There was a single lingering reference to "K command." This will become less intelligible as time goes by, so best to correct it.
2015-05-08 09:24:11 -07:00
Eilon Lipton 75d047795b Merge pull request #131 from hishamco/dev
Using [NotNull]
2015-05-07 21:53:38 -07:00
Eilon Lipton 69ad72371d Update CLA info 2015-05-07 20:38:02 -07:00
damianedwards ca4b85e19f Added missing doc comments 2015-05-07 18:19:54 -07:00
damianedwards 944c84bc5d Implemented CookieRequestCultureStrategy & other changes:
- Updated sample to enable setting/clearing cultures via cookie
- Cache CultureInfo construction as it's not built into .NET Core
- Cache RequestCulture construction as they're immutable anyway and created lots per app if the middleware is running
- Fix issue where by invalid culture names were not handled (it crashed)
- Handle the pesky favicon.ico request from browsers
- Ignore .vs folder
2015-05-07 18:11:10 -07:00
Hisham Abdullah Bin Ateya 91b3ea4547 Using expression-bodies methods 2015-05-08 01:52:03 +03:00
Chris R b7f4058c28 React to Http namespace changes. 2015-05-07 15:31:35 -07:00
Chris R 6814576b5e React to Http namespace changes. 2015-05-07 15:30:33 -07:00
Chris R bd03142dab React to Http namespace changes. 2015-05-07 15:19:10 -07:00
Chris R ff406ecdf1 React to Http namespace changes. 2015-05-07 14:16:46 -07:00
Chris R 7d52b3f76e React to Http namespace changes. 2015-05-07 14:14:03 -07:00
Chris R 071de85e04 React to Http namespace changes. 2015-05-07 14:10:59 -07:00
Chris R 43d50db495 React to Http namespace changes. 2015-05-07 14:03:31 -07:00
Chris R e30ca4d673 React to Http namespace changes. 2015-05-07 13:59:32 -07:00
Chris R bd5700ea54 React to Http namespace changes. 2015-05-07 13:56:05 -07:00
Chris R bff13b2e9b React to Http namespace changes. 2015-05-07 13:43:34 -07:00
Chris R d0276d4d55 React to Http namespace changes. 2015-05-07 13:41:04 -07:00
Chris R ad93dd74b6 React to Http namespace changes. 2015-05-07 13:26:53 -07:00