Commit Graph

37666 Commits

Author SHA1 Message Date
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
Chris R eb0fe6a92a #281 Reorganise files, namespaces for internal and features. 2015-05-07 13:15:14 -07:00
Chris R 550b2252ea #265 Remove Use extensions that take services. 2015-05-07 13:15:11 -07:00
Hisham Abdullah Bin Ateya 582f562bbb Using [NotNull] and 'nameof' operator 2015-05-07 22:04:48 +03:00
Suhas Joshi afca1242bc Fixing database changes from EF 2015-05-07 11:02:14 -07:00
damianedwards ec8ede5d8a Fixed missing resource caching issue in ResourceManagerStringLocalizer 2015-05-07 10:32:59 -07:00
Hisham Abdullah Bin Ateya 4852bf0c52 Using [NotNull] 2015-05-07 10:17:35 -07:00
Hisham Abdullah Bin Ateya 018b4c2426 Using 'nameof' operator instead of magic strings 2015-05-07 10:17:34 -07:00
Troy Dai 2f09b07adc Package rename: Microsoft.AspNet.DataProtection.Shared -> Microsoft.AspNet.DataProtection.Sources 2015-05-07 10:16:20 -07:00
Victor Hurdugaci 63038b7278 Use the in memory store on the Nano server 2015-05-07 09:51:18 -07:00
Troy Dai 78ed1ce250 React to common package name change 2015-05-07 09:41:52 -07:00
Troy Dai e57440f92c React to common package name change 2015-05-07 09:41:05 -07:00
Troy Dai d3b0aba9b8 React to common package name change 2015-05-07 09:40:03 -07:00
Troy Dai 959616cb9c React to common package name change 2015-05-07 09:39:41 -07:00