title: DataTables json language file on asp.net mvc application
body: <p>I have a web application asp.net mvc. In this application, I use DataTables that I configure like that to have the french language:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function () {
          $('table#list').DataTable({
              'language': {
                  'url': '@Url.Content("~/Content/datatables-i18n.fr.json")'
              }
          })
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>When I test my application locally, it works, I have the datatable in French but when I publish my application (with Visual Studio), it's not working anymore. I have this error :</p>
  
  <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found)
  </code></pre>
  
  <p>But if I pass the cdn url instead of my file, it works locally and also after publishing :</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
      var table;
      $(function () {
          table = $('table#list').DataTable({
              language: {
                  'url': 'http://cdn.datatables.net/plug-ins/1.10.16/i18n/French.json'
              }
        })
  &lt;/script&gt;
  </code></pre>
  
  <p>Do you know why the file is not find after publishing ?</p>