We are trying to replace previous DefaultControllerFactory with new ASP.NET Web API to better handle REST/XML calls. Searching the web always pointed to implementating
It is IHttpControllerActivator
implemented by DefaultHttpControllerActivator
.
You may replaces it using:
GlobalConfiguration.Configuration.Services.Replace(typeof(IHttpControllerActivator),
new MyOwnActivatior());
I meant IHttpControllerSelector
!
It is IHttpControllerSelector
implemented by DefaultHttpControllerSelector
.
You may replaces it using:
GlobalConfiguration.Configuration.Services.Replace(typeof(IHttpControllerSelector),
new MyOwnActivatior());