title: How to use Custom Routes with Auto Query
body: <p>Using the first example in the ServiceStack <a href="https://github.com/ServiceStack/ServiceStack/wiki/Auto-Query" rel="nofollow">Auto Query documentation</a> in a project structured similar to the <a href="https://github.com/ServiceStack/EmailContacts" rel="nofollow">EmailContacts</a> sample project (i.e. separate projects for the ServiceModel and ServiceInterface), how would one register the custom route "/movies" defined by the Route attribute?</p>
  
  <pre><code>[Route("/movies")]
  public class FindMovies : QueryBase&lt;Movie&gt;
  {
      public string[] Ratings { get; set; }
  }
  </code></pre>
  
  <p>Normally, custom routes such as these can be register by passing the ServiceInterface assembly when instantiating <code>AppHostBase</code>:</p>
  
  <pre><code>public AppHost() : base("Email Contact Services", typeof(ContactsServices).Assembly) {}
  </code></pre>
  
  <p>However, the <code>FindMovies</code> request DTO does not have an associated service and therefore won't be included. No routes are registered.</p>
  
  <p>If I pass <code>typeof(FindMovies).Assembly</code> instead of or in addition to <code>typeof(ContactsServices).Assembly</code>, then the pre-defined route will be registered (i.e. shows up in the metadata, postman, etc.) but the custom route is still not registered (i.e. does not show up in the metadata, postman, etc.).</p>
  
  <p>What is the best way to register the custom route using attributes when there is no service and the ServiceModel and ServiceInterface are in separate projects?</p>