title: Getting "No type was found that matches the controller named 'SampleSlashBaseService'" when trying to use WebAPI
body: <p>I have a webapi project with a base ApiController named SlashBaseService:</p>
  
  <pre><code>[RouteArea("uBase")]
  public abstract class SlashBaseService : ApiController
  {
  }
  </code></pre>
  
  <p>The resulting dll is used in a WebForms project so I also have a WebActivator class with the following code to generate routes:</p>
  
  <pre><code>RouteTable.Routes.MapHttpAttributeRoutes(config =&gt;
  {
      // Get all services inheriting from SlashBaseService
      foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
      {
          foreach (var type in assembly.GetTypes())
          {
              if (type.IsSubclassOf(typeof(SlashBaseService)))
              {
                  // Scan assembly
                  config.ScanAssembly(assembly);
  
                  // Skip the remaining types in this assembly
                  break;
              }
          }
      }
  });
  
  RouteTable.Routes.MapHttpRoute(
      name: "DefaultBase",
      routeTemplate: "base/{controller}/{id}",
      defaults: new { id = RouteParameter.Optional });
  </code></pre>
  
  <p>I also have a testservice in a separate assembly:</p>
  
  <pre><code>public class SampleSlashBaseService : SlashBaseService
  {
      [GET("TestOpenMethod")]
      public string GetTestOpenMethod()
      {
          return "Hello anonymous!";
      }
  
      [GET("Echo/{message}")]
      public string GetEcho(string message)
      {
          return message;
      }
  }
  </code></pre>
  
  <p>All pretty simple stuff. The problem is when I try to go to one of the urls this generates i get the following message:</p>
  
  <blockquote>
    <p>No type was found that matches the controller named 'SampleSlashBaseService'.</p>
  </blockquote>
  
  <p>The route list from /routes.axd also looks correct.</p>