Commit Graph

34143 Commits

Author SHA1 Message Date
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
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
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
Chris R b7f4058c28 React to Http namespace changes. 2015-05-07 15:31:35 -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
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
Troy Dai ea717729c1 React to common package name change 2015-05-07 09:39:08 -07:00
Troy Dai f7f4d490aa React to common package name change 2015-05-07 09:37:58 -07:00
Troy Dai ef9dde7d7c React to common package name change 2015-05-07 09:37:39 -07:00
Troy Dai 0440ca751e React to common package name change 2015-05-07 09:36:55 -07:00
Troy Dai fe80a65ffc React to common package name change 2015-05-07 09:36:15 -07:00
Troy Dai e00f842a45 React to common package name change 2015-05-07 09:35:31 -07:00
Hao Kung 5804856fe2 React to security changes 2015-05-06 22:24:08 -07:00
Hisham Abdullah Bin Ateya 54fc775b24 Using 'nameof' operator instead of magic strings 2015-05-07 06:37:00 +03:00
Chris R 3cc6739c3d React to QueryString API change. 2015-05-06 16:17:34 -07:00
Chris R 7f737246b1 React to QueryString API changes. 2015-05-06 15:20:40 -07:00
Doug Bunting efe39e43f5 Remove test the `[NotNull]` move makes irrelevant 2015-05-06 14:47:05 -07:00
Hisham Abdullah Bin Ateya 1f36174da5 Using [NotNull] 2015-05-07 00:32:34 +03:00
Hao Kung dbdabeb9d2 Delete old handlers 2015-05-06 14:24:58 -07:00
Hao Kung 434d158c76 Support custom name and role claims 2015-05-06 14:24:20 -07:00
Doug Bunting cef0971d3e `throw new ArgumentNullException(...)` -> `[NotNull]`
- add `[NotNull]` in some `public` or `protected` callers as well
- add `[NotNull]` in `SeekableTextReader` constructors
- add `where TSymbolType : struct` to replace incorrect `null` checks
- remove `T` type parameters in changed files e.g. change to `TWriter`
- remove tests of removed code

nits:
- change `TextReaderExtensions` to consistently call other extensions as statics
- wrap some long doc comments
2015-05-06 14:21:05 -07:00
Chris R c9c09fb4e5 #269 Clean up QueryString APIs, add tests. 2015-05-06 10:55:20 -07:00