Hi I've just finished tweaking the rest and codegenerator projects to support conneg on file extensions.
CodeGenerator changes ================= - if you are using the RestRoutes attribute to generate routes for your RestController, instead of: /path/to/resource they will now be suffixed with: /path/to/resource.[format] Rest changes ========== - RestfulRoute uses the dot pattern changes proposed here http://using.castleproject.org/display/MR/Routing+tips - added overrideable GetControllerBridgeForAction to RestController for supplying your own IControllerBridge - ControllerBridge is all virtual to allow you to base a customization on it - RoutingAwareControllerBridge added which attempts to look for a format on the matched route e.g. in my RestController : Castle.MonoRail.Rest.RestController I've added: protected override IControllerBridge GetControllerBridgeForAction (string action) { return new RoutingAwareControllerBridge(this, action); } Any objections before I apply it? It should be backwards compatible. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~---
