Connect to ASP.Net WebAPI DependencyResolver#25
Connect to ASP.Net WebAPI DependencyResolver#25watfordgnf wants to merge 1 commit intodaiplusplus:masterfrom
Conversation
Also ensure that optional dependencies do not throw.
|
Same issue here. Thanks for this fix. |
|
Thank you for the PR and I apologize for not reviewing it first as I've already fixed it in my own branches and published the updated packages as version https://www.nuget.org/packages/Jehoel.AspNetDependencyInjection/5.0.0-beta01 Can you give it a try and if it works great then I'll make 5.0.0 public right-away. In my approach, I opted to use reflection to get Once again, my apologies for not getting back to you sooner - I hate to think I made anyone waste their time :/ I'll leave this PR open just in case further work is needed that you'd like to comment on. |
|
When are the non-beta The WebApi .AddWebApiDependencyResolver(HttpConfig)Edit: tagging @Jehoel thanks. |
This connects the WebApi dependency resolver to ASP.Net WebApi, just like is done for WebForms. This also ensures that optional dependencies do not throw. This was the bare minimum change to this project that enabled it to work for our service.