Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Team,
Is there any way, through which I can create class library project and convert IContent into PublishedContent or custom entity class.
Actually IUmbracoContextAccessor is making my Umbraco api bit slower.
public static IPublishedContent GetUmbracoObject(IUmbracoContextAccessor _context, Guid id) { var cache = _context.GetRequiredUmbracoContext(); return cache.Content.GetById(id); }
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Convert IContent to PublishedContent
Hi Team,
Is there any way, through which I can create class library project and convert IContent into PublishedContent or custom entity class.
Actually IUmbracoContextAccessor is making my Umbraco api bit slower.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.