Why my HttpConfiguration type has no ServiceResolver type using .Net MVC 4 with WebApi?

Viewed 5105

I'm using .Net MVC 4 with WebApi and in all articles that explain how to use DI Container with that has the following line of configuration in Global.asax: (http://blog.ploeh.dk/2012/03/20/RobustDIWithTheASPNETWebAPI.aspx)

GlobalConfiguration.Configuration.ServiceResolver.SetResolver(...)

But in my application has not ServiceResolver type:

enter image description here

with intellisense:

enter image description here

What I'm doing wrong?

1 Answers
Related