public void SetNotFoundPage(PageNotFoundRequest pnf) { config.SetNotFoundPage(pnf.ParentId, pnf.NotFoundPageId, true); distributedCache.RefreshPageNotFoundConfig(pnf); }
public static void RefreshPageNotFoundConfig(this DistributedCache dc, PageNotFoundRequest pageNotFound) { dc.RefreshByPayload(new Guid(PageNotFoundManagerCacheRefresher.Id), new[] { pageNotFound }); }