title: How to define DefaultScopedLifestyle in Simple Injector version 3.0.0?
body: <p>I am working with dependency injection in a project using simple injector, and it works fine untill I needed to define a <strong>lifestyle</strong> when resolving a dependency in that particular version, <strong>3.0.0</strong>(I am using this version because I am using <strong>visual studio 2010</strong>).</p>
  
  <p>In the official documentation, it says that I can define a lifestyle of a dependency using this line of code:</p>
  
  <pre><code>container.Register&lt;IService, RealService&gt;(Lifestyle.Scoped);
  </code></pre>
  
  <p>But when I verify it, it tells me that I should define the DefaultScopeLifestyle, using this(or variations):</p>
  
  <pre><code>container.Options.DefaultScopedLifestyle = new AsyncScopedLifestyle();
  </code></pre>
  
  <p>But in this version, I could not find the <code>AsyncScopedLifestyle</code> class or its variations.</p>
  
  <p>How can I set the <code>DefaultScopeLifestyle</code>, or set it directly in a dependency?</p>