private static void PerformScan(IAssemblyScanner scanner) { scanner.AssembliesFromApplicationBaseDirectory(); scanner.Include(type => type.HasAttribute<UnitWorkerAttribute>()); scanner.Convention<HttpContextLifecycleConvention>(); }