Exemple #1
0
 public override void Refresh(PageNotFoundRequest[] payloads)
 {
     foreach (var payload in payloads)
     {
         config.SetNotFoundPage(payload.ParentId, payload.NotFoundPageId, false);
     }
     config.RefreshCache();
 }
        public void SetNotFoundPage(PageNotFoundRequest pnf)
        {
            config.SetNotFoundPage(pnf.ParentId, pnf.NotFoundPageId, true);

            distributedCache.RefreshPageNotFoundConfig(pnf);
        }