I'm trying to create a PublishedContentRequest in 7.2.2 to render a macro outside of the request pipeline, looking at the umbraco unit testing looks a breeze.
But all the constructors of the RoutingContext and UrlProvider class are internal. Does anyone know what the correct way of creating a PublishedContentRequest.
PublishedContentRequest and RoutingContext
I'm trying to create a PublishedContentRequest in 7.2.2 to render a macro outside of the request pipeline, looking at the umbraco unit testing looks a breeze.
But all the constructors of the RoutingContext and UrlProvider class are internal. Does anyone know what the correct way of creating a PublishedContentRequest.
same deal for me. did you have any luck or have a code sample? thanks!
is working on a reply...