cloudscribe/Announcements

breaking change, need cache profile for sitemap

Opened this issue · 0 comments

The most recent cloudscribe Core nuget packages now depend on cloudscribe.Web.SiteMap and cloudscribe.Web.SiteMap.FromNavigation

This was done in order to solve the /api/sitemap not working with folder tenants
cloudscribe/cloudscribe.Web.Navigation#46

previous versions did not have these dependencies, only SimpleContent had them

after upgrading to the newest nuget packages you will get an error and need to add this if you don't already have it. Sites that use SimpleContent should already have this but if you only use cloudscribe.Core.Web then it would not have been added by previous versions of our project template.

services.Configure<MvcOptions>(options =>
{
    options.CacheProfiles.Add("SiteMapCacheProfile",
	 new CacheProfile
	 {
		 Duration = 30
	 });
});