1.

What is HttpConfiguration in Web API?

Answer»

It is CONSIDERED as the main class that includes different properties with help of which one can override the DEFAULT BEHAVIOR of Web API. 

Some properties are given below:

  • DependencyResolver: It SETS or gets a dependency resolver for dependency injection.
  • Services: It gets web API services.
  • ParameterBindingRules: It gets a collection of rules for how parameters should be bound.
  • MessageHandlers:  It sets or gets message handlers.
  • FORMATTERS: It sets or gets media-type formatters.


Discussion

No Comment Found