Configure WebApiHttpOperationHandlerFactory in global asax

Topics: Web Api
Feb 8, 2012 at 10:01 AM
Edited Feb 8, 2012 at 10:02 AM

I have created custom httpoperationhandlerfactory .. 


 public class MyOperationHandlerFactory:WebApiHttpOperationHandlerFactory  

 { protected override Collection<HttpOperationHandler> OnCreateRequestHandlers(ServiceEndpoint endpoint, HttpOperationDescription operation) {} }


 Now i want to configure this in global asax.



var config = new WebApiConfiguration



 EnableTestClient = false,}


 please let me know if any one have any idea about this..


 Thanks in Advance