[SPRNET-1497] Add Support for ASP.NET MVC4 and HTTP WebAPI Created: 16/Apr/12  Updated: 03/May/12  Resolved: 03/May/12

Status: Resolved
Project: Spring.NET
Component/s: Spring-NET-WEBMVC
Affects Version/s: 1.3.2
Fix Version/s: 2.0 M1

Type: New Feature Priority: Blocker
Reporter: Steve Bohlen Assignee: Steve Bohlen
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Reference URL: http://forum.springframework.net/showthread.php?10051-Injecting-properties-into-ApiController-

 Description   

SPRNET needs formal support for ASP.NET MVC4 as well handling/processing/injecting the new classes, types, etc. in the new HTTP WebApi (i.e., ApiController, etc.)



 Comments   
Comment by Steve Bohlen [ 03/May/12 ]

Added explicit support for MVC4 and WebAPI-based IDependencyResolver. Note to MS: having the same-named interface (IDependencyResolver) in two different namespaces (System.Web.Mvc and System.Web.Https.Services) is an absolutely awful design choice here, but at least the fact that the two interfaces have the exact same shape/API permits us to do us an 'inheritance trick' to implement the new WebAPI DependencyResolver without having to duplicate code from our existing IDependencyResolver implementation

Generated at Wed Jul 24 08:41:02 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.