Commit Graph

39740 Commits

Author SHA1 Message Date
danroth27 9459c55f7a Update README.md 2014-08-16 11:46:11 -07:00
danroth27 4a1d6ee3ec Update README.md 2014-08-16 11:45:41 -07:00
danroth27 32cf4dad2a Update README.md 2014-08-16 10:36:30 -07:00
harshgMSFT 30084b061b Removing stale entry in .kproj 2014-08-15 17:34:34 -07:00
harshgMSFT 70402c8f2c Adding RegexInlineRouteConstraint 2014-08-15 17:32:25 -07:00
Louis DeJardin 5de2bc8243 Implementing ILoggerFactory.AddProvider 2014-08-15 16:34:14 -07:00
Louis DeJardin b9baae4693 Implementing ILoggerFactory.AddProvider 2014-08-15 16:15:03 -07:00
Louis DeJardin 70972fb7a1 Rebase cleanup 2014-08-15 16:08:47 -07:00
Louis DeJardin c720364d0e Registering standard LoggerFactory : ILoggerFactory implementation 2014-08-15 16:03:35 -07:00
harshgMSFT bb452f19a7 JsonResult to use ObjectResult for content negotiation to pick default json formatter. 2014-08-15 15:56:24 -07:00
sornaks 2920c55116 Changes to enable XML Output Formatters.
- Unit / Functional tests for the same.
2014-08-15 15:05:00 -07:00
dougbu 1a4bd25e0f Add `[HiddenInput]`, `ModelMetadata.HideSurroundingHtml`, and `.Properties` tests
nits:
- add a few missing default `ModelMetadata` property value checks
- cleanup some redundancies in test data initializers
2014-08-15 12:33:58 -07:00
dougbu c0179f74cc Do not repeatedly evaluate `ModelMetadata.Properties` enumeration
- supports useful property updates of `ModelMetadata` instances in the collection
- provide a controllable ordering using the `Order` value
- part of #964
2014-08-15 12:33:22 -07:00
ajcvickers 6db51e74fb Reacting to ConventionModelBuilder name change 2014-08-15 11:37:10 -07:00
ajcvickers 9ee9104883 Reacting to ConventionModelBuilder name change 2014-08-15 11:35:24 -07:00
dougbu 53432e1483 Address TODO item in default `object` editor template
- add validation elements per property in this template
- update editor template test to expect new `<span>` in result
2014-08-15 10:50:20 -07:00
dougbu 796ff1d3d3 Add `HideSurroundingHtml` property to `ModelMetadata`
- #843
- add property as well as the related `[HiddenInput]` attribute
- use this property to address some TODOs in default display and editor templates
2014-08-15 10:50:17 -07:00
harshgMSFT 3f952c153f Fixing build break due to tests 2014-08-15 10:28:11 -07:00
David Fowler 4d6df1d927 Removed source files from the project 2014-08-15 09:45:21 -07:00
David Fowler 23b13d3143 Removed source files from the project 2014-08-15 09:42:19 -07:00
David Fowler 47a0530cc4 Removed source files from the project 2014-08-15 09:38:17 -07:00
David Fowler c74e583ec9 Removed source files from the project 2014-08-15 09:27:27 -07:00
David Fowler 966d6dd016 Removed source files from the project 2014-08-15 09:26:26 -07:00
David Fowler 430105e713 Removed source files from the project 2014-08-15 09:24:16 -07:00
David Fowler fa6b3acc4a Removed source files from the project 2014-08-15 09:14:49 -07:00
ajcvickers e2736173e8 Change ModelBuilder to ConventionModelBuilder 2014-08-15 08:45:28 -07:00
ajcvickers 23fb9de162 Change ModelBuilder to ConventionModelBuilder 2014-08-15 08:43:52 -07:00
David Fowler 26084c7f13 Removed source files from the project 2014-08-15 08:17:40 -07:00
David Fowler 06ea33ad4f Removed source files from the project 2014-08-15 08:16:09 -07:00
David Fowler 274f20a383 Removed source files from the project 2014-08-15 08:14:48 -07:00
David Fowler 58468e9509 Removed source files from the project 2014-08-15 08:13:03 -07:00
David Fowler f354762f23 Removed sources from project file 2014-08-15 07:57:28 -07:00
David Fowler 23d2830960 Updated solution file 2014-08-15 07:46:11 -07:00
David Fowler abfad7f643 Removed files from project file 2014-08-15 07:44:31 -07:00
danroth27 4e148223ec Update README.md 2014-08-14 22:50:46 -07:00
danroth27 e2909168d2 Update README.md 2014-08-14 22:45:17 -07:00
danroth27 79d8de462b Update README.md 2014-08-14 22:43:30 -07:00
danroth27 7551451cb3 Update README.md 2014-08-14 21:38:11 -07:00
danroth27 bd68cdc529 Update README.md 2014-08-14 19:53:06 -07:00
harshgMSFT 1684d1d322 NoContentFormatter: Writes 204 to the response status code if the value returned is null. 2014-08-14 19:16:26 -07:00
Pranav K 538e589894 Modifying ViewDataDictionary and RouteValueDictionary to copy on write
instead of eagerly copying.

Partial fix for #878
2014-08-14 18:18:54 -07:00
Ryan Nowak b72b44c20c Implement RouteKeyHandling.CatchAll 2014-08-14 15:59:09 -07:00
Ryan Nowak 8bfb6eb8d5 implement a decision-tree-based action selector 2014-08-14 15:45:45 -07:00
harshgMSFT 28092d975b Fixing a warning 2014-08-14 14:23:03 -07:00
Ryan Nowak 3770906c3b Issue #862 Extensibility for action invoker 2014-08-14 13:25:52 -07:00
Ryan Nowak ca7b1bfb1f Rename ReflectedActionInvoke.cs for history tracking 2014-08-14 13:19:12 -07:00
Praburaj 5fe9e68f1a Adding instruction to get KRE from master feed. 2014-08-14 12:37:52 -07:00
Javier Calvarro Nelson 3ab0c3af29 [Issue #733] Attribute Routing: Implement Order
1. Added an Order property to IRouteTemplateProvider, ReflectedAttributeRouteModel,
   AttributeRouteInfo, AttributeRouteLinkGenerationEntry and AttributeRouteMatchingEntry.

2. Changed the implementation of AttributeRoute to take the order into account when routing
   incomming requests and generating links.

3. Ensured a stable ordering of route entries with the same order and precedence for route
   matching and link generation based on the template text.

4. Added tests to validate that the precedence gets respected in route matching and link generation.

5. Added tests to validate that the order gets respected in route matching and link generation.

6. Added tests to validate that the order gets respected over the precedence for route matching
   and link generation.

7. Added tests to validate that routes with the same order and precedence expose a stable ordering
   for route matching and link generation.
2014-08-14 11:21:05 -07:00
Javier Calvarro Nelson 63d9625536 [Issue #730] Attribute Routing: Flesh out attributes - Part 2
1. Unsealed the Http*Attributes so that they can be extended and customized.
2. Added the same constructors as HttpGet to the rest of the Http*Attributes.
3. Added unit tests to validate the implementations for the IActionHttpMethodProvider.
4. Added functional tests to cover extra attribute routing scenarios like a test for an
   action with an HttpDeleteAttribute on it and action with AcceptVerbsAttribute and an
   action with a custom HttpMergeAttribute implemented.
2014-08-14 11:21:03 -07:00
Javier Calvarro Nelson 21b1174d76 [Issue #730] Attribute Routing: Flesh out attributes - Part 1
1. Added a new AttributeRouteInfo class to store all the information for
   actions that are attribute routed.

2. Added a new ReflectedAttributeRouteModel class to store all the information
   related to attribute routes in the ReflectedApplicationModel.

3. Refactored ReflectedControllerModel and ReflectedActionModel to use ReflectedAttributeRouteModel
   instead of just the attribute route template.

4. Refactored ReflectedActionDescriptorProvider to use AttributeRouteInfo and ReflectedAttributeRouteModel
   instead of just the route template.

5. Added a CombineReflectedAttributeRouteModel method in ReflectedAttributeRouteModel that handles
   combining two ReflectedAttributeRouteModel instances.

6. Removed the AttributeRouteTemplate class and moved the methods for combining attribute routes to the
   ReflectedAttributeRouteModel class.

7. Added unit tests for ReflectedActionModel and  ReflectedControllerModel that
   cover the usage of AttributeRouteInfo.

8. Added unit tests for CombineReflectedAttributeRouteModel.
2014-08-14 11:21:01 -07:00