ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

Grace and WebAPI 2 #142

Closed davidkeaveny closed 5 years ago

davidkeaveny commented 6 years ago

Is there any plan to out-of-the-box support WebAPI 2 and its IDependencyResolver interface? If not, are there any suggestions for how to imeplement the BeginScope method?

ipjohnson commented 6 years ago

hi @davidkeaveny

Sorry for the slow reply. I don't have any plans to support anything out of the box for web api 2 at this time. That said it shouldn't be to hard to do. I'll try and put together a sample and post it.

davidkeaveny commented 6 years ago

I've got this working; if I were to contribute the code back to the project, what's the best way of doing it? Create a similar solution and assembly to the Grace MVC support?

ipjohnson commented 6 years ago

Sorry meant to reply to this earlier. If you want you can create a project like the MVC one or you can send me a sample of what you have working and I can create a project. Which ever is easier for you.

Thanks for helping out.

ipjohnson commented 5 years ago

I'm going to mark this as closed