# GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseFileStore

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseFileStore_" data-uid="GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseFileStore*">UseFileStore Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseFileStore_" data-uid="GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseFileStore*"></a>
<h4 id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseFileStore_System_IO_DirectoryInfo_System_Collections_Generic_IDictionary_GrapeCity_ActiveReports_ResourceType_System_IO_DirectoryInfo__GrapeCity_ActiveReports_Web_Designer_FileStoreOptions_" data-uid="GrapeCity.ActiveReports.Web.Designer.ReportDesignerConfiguration.UseFileStore(System.IO.DirectoryInfo,System.Collections.Generic.IDictionary{GrapeCity.ActiveReports.ResourceType,System.IO.DirectoryInfo},GrapeCity.ActiveReports.Web.Designer.FileStoreOptions)">UseFileStore(DirectoryInfo, IDictionary&lt;ResourceType, DirectoryInfo&gt;, FileStoreOptions)</h4>
<div class="markdown level1 summary"><p>Uses the built-in file store for report files and resources.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void UseFileStore(DirectoryInfo baseDir, IDictionary&lt;ResourceType, DirectoryInfo&gt; folderPerResource = null, FileStoreOptions options = FileStoreOptions.None)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.directoryinfo">DirectoryInfo</a></td>
      <td><span class="parametername">baseDir</span></td>
      <td><p>The base directory for the file store.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.ResourceType.html">ResourceType</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.directoryinfo">DirectoryInfo</a>&gt;</td>
      <td><span class="parametername">folderPerResource</span></td>
      <td><p>A dictionary mapping resource types to directories.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Web.Designer.FileStoreOptions.html">FileStoreOptions</a></td>
      <td><span class="parametername">options</span></td>
      <td><p>The file store options.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Web_Designer_ReportDesignerConfiguration_UseFileStore_System_IO_DirectoryInfo_System_Collections_Generic_IDictionary_GrapeCity_ActiveReports_ResourceType_System_IO_DirectoryInfo__GrapeCity_ActiveReports_Web_Designer_FileStoreOptions__examples">Examples</h5>
<pre><code class="lang-csharp">app.UseReportDesigner(config =&gt;
{
   config.UseFileStore(new DirectoryInfo("/path/to/dir"));
});</code></pre>

</div>
