title: XSRF token expired after website publish to IIS
body: <p>I am using ASP.NET Boilerplate framework, I put the below code in everypage.</p>
  
  <pre><code>@inject IAbpAntiForgeryManager AbpAntiForgeryManager
  
  @{
      AbpAntiForgeryManager.SetCookie(Context);
  }
  </code></pre>
  
  <p>I call the app service as below:</p>
  
  <pre><code>var xhr = abp.services.app.order.add(data);
  
          xhr.done(function (data) {
              alert(data);
          });
  </code></pre>
  
  <p>Everything works fine when I run in localhost, XSRF token will not expired even if I rebuild the project. Every time when I click [Publish website to IIS], all the ajax request will return 400 Bad Request, I guess it is because the XSRF token has expired, everything back to normal after I click F5 in browser. It was so annoying for the user, any thing I can do to prevent this error? Or auto refresh token?</p>
  
  <p>Thank you!</p>
  
  <h2>update</h2>
  
  <p>error message in LOG file:</p>
  
  <pre><code>ERROR 2019-02-12 13:40:09,773 [71   ] .Antiforgery.Internal.DefaultAntiforgery - An exception was thrown while deserializing the token.
  Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted. ---&gt; System.Security.Cryptography.CryptographicException: The key {996d31d2-0fa3-4ffe-8e82-e155c1486d33} was not found in the key ring.
  </code></pre>