Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • charlie black 33 posts 106 karma points
    Apr 12, 2014 @ 00:39
    charlie black
    0

    umbraco 4.7.2 umbraco.presentation.UmbracoContext' obsolete

     

    In umbraco 4.7.2, Compiling the call UmbracoContext.Current.Server.ContentXml generates a warning and says to 

    Use Umbraco.Web.UmbracoContext instead.

    The purpose of the call is to get return the umbraco cache xml document as XDocument. (umbraco.config).

    In umbraco 6.1.6, does anyone know to get 'hold' of this - that is what api call gives me the umbraco.config as XDocument (or perhaps XmlDocument) ??????

     

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft