title: How to use Autofac registration in an ASP.NET Core app?
body: <p>I'm migrating my ASP.NET Web API project to ASP.NET Core. I use Autofac for DI and I have the following registrations:</p>
  
  <pre><code>builder.RegisterApiControllers(Assembly.GetExecutingAssembly());
  builder.RegisterHubs(Assembly.GetExecutingAssembly());
  builder.RegisterWebApiFilterProvider(config);
  </code></pre>
  
  <p>Now, in ASP.NET Core, do I need to continue registering controllers and filters or are they automatically registered?</p>
  
  <p>And secondly, what is the new way to register SignalR hubs?</p>