title: ASP.NET Core 2 - global filters registration multiple ways?
body: <p>What is the difference in Startup.cs ConfigureServices method between:</p>
  
  <pre><code>services.Configure&lt;MvcOptions&gt;(options =&gt;
  {
      options.Filters.Add(new RequireHttpsAttribute());
  });    
  </code></pre>
  
  <p>and</p>
  
  <pre><code> services.AddMvc(config=&gt; 
   { 
       config.Filters.Add(new RequireHttpsAttribute()); 
   });
  </code></pre>
  
  <p>Aren't these two equivalent?</p>