Configure Multiple OperationHandler

Topics: Web Api
Feb 9, 2012 at 9:57 AM

Hi,

I want to configure multiple operationHandler in Global asax using  webapiconfiguration.I have two operationhandler:- Operationhandler1 , operationhandler2

 


 var config = new WebApiConfiguration()
            {
                EnableTestClient = true,
               RequestHandlers =(han,end,oper)=> han.Add(new operationhandler1()),
               ????????

            };

Feb 9, 2012 at 11:14 AM

RequestHandlers =(han,end,oper)=> { han.Add(new operationhandler1()); han.Add(new operationhandler2(); }