Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added WebApiContrib.IoC.StructureMap #53

Merged
merged 1 commit into from
Apr 19, 2012

Conversation

ChrisMissal
Copy link
Contributor

You'll notice something a little bit different, but having the StructureMapResolver implement IHttpControllerActivator allows the class to inject itself into the container, then everything else that relies on WithDefaultConventions "just works". Without it one would have to register their own class and this makes the usage much simpler. Thoughts?

@ChrisMissal
Copy link
Contributor Author

This hasn't been pulled in yet, can I merge it in or does anybody see any issues?

@darrelmiller
Copy link
Member

Seems reasonable to me.

ChrisMissal added a commit that referenced this pull request Apr 19, 2012
Added WebApiContrib.IoC.StructureMap
@ChrisMissal ChrisMissal merged commit b422401 into WebApiContrib:master Apr 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants