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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...