# C1.Web.Mvc.Configuration

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Configuration" data-uid="C1.Web.Mvc.Configuration" class="text-break">Configuration Class
</h1>
  <div class="markdown level0 summary"><p>Defines configuration for C1 MVC components.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Configuration</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Configuration_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Configuration</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class Configuration</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Configuration_Configure_Microsoft_Extensions_Configuration_IConfiguration_" data-uid="C1.Web.Mvc.Configuration.Configure(Microsoft.Extensions.Configuration.IConfiguration)">
          <a class="xref" href="C1.Web.Mvc.Configuration.Configure.html#C1_Web_Mvc_Configuration_Configure_Microsoft_Extensions_Configuration_IConfiguration_">Configure(IConfiguration)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the configuration of C1 MVC components according to <a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Configuration_EnableDeferredScripts" data-uid="C1.Web.Mvc.Configuration.EnableDeferredScripts">
          <a class="xref" href="C1.Web.Mvc.Configuration.EnableDeferredScripts.html#C1_Web_Mvc_Configuration_EnableDeferredScripts">EnableDeferredScripts()</a>
        </td>
        <td class="markdown level1 summary"><p>Enable deferred scripts feature.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Configuration_Theme_System_String_" data-uid="C1.Web.Mvc.Configuration.Theme(System.String)">
          <a class="xref" href="C1.Web.Mvc.Configuration.Theme.html#C1_Web_Mvc_Configuration_Theme_System_String_">Theme(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the global theme.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
