4

You need to register the Area. So, create a registration area under the path /Areas/MyTools/. You can name it MyToolRegistrationArea.cs. In the MyToolRegistrationArea.cs, add the following namespace YourNamespace { using System.Web.Mvc; public class MyToolRegistrationArea : AreaRegistration { public override string AreaName { ...


2

I had to explicitly allow xml files using the Sitecore FilterUrlExtensions setting: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> <preprocessRequest> <processor type='Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel'> <param desc="...


2

The code below is code I reuse constantly. The only caveat is that is the controller is in a different project/library than the route initialization code, strange thing happen. I always keep the controller and initialize code together. Your url would now be http://mysite/api/FindACenterMap Please see this answer while modification of the global.asax is ...


2

Your route pipeline definition should be changed to this one: public class RegisterTestApiRoute { public virtual void Process(PipelineArgs args) { RouteTable.Routes.MapRoute( "testApi", "api/testing/{controller}/{action}" ); } } as MapRoute is meant for "normal" ASP.NET MVC controllers whereas ...


Only top voted, non community-wiki answers of a minimum length are eligible