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 All,
I am learning Umbraco using ASP.Net MVC and find the term UmbracoContext.
As per my understanding it allows us to create Umbraco Helper Instance in the class.
var umbracoHelper = new Umbraco.Web.UmbracoHelper(Umbraco.Web.UmbracoContext.Current);
Can you please share some link or information which could explain other important features of UmbracoContext?
Hi Naman,
UmbracoContext is documented as: Class that encapsulates Umbraco information of a specific HTTP request
https://our.umbraco.org/documentation/Reference/Querying/UmbracoHelper/
You can find a lot of useful info about request in UmbracoContext.Current like: PageId, CurrentMember, Cache and stuff like that.
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
What is UmbracoContext
Hi All,
I am learning Umbraco using ASP.Net MVC and find the term UmbracoContext.
As per my understanding it allows us to create Umbraco Helper Instance in the class.
var umbracoHelper = new Umbraco.Web.UmbracoHelper(Umbraco.Web.UmbracoContext.Current);
Can you please share some link or information which could explain other important features of UmbracoContext?
Hi Naman,
UmbracoContext is documented as: Class that encapsulates Umbraco information of a specific HTTP request
https://our.umbraco.org/documentation/Reference/Querying/UmbracoHelper/
You can find a lot of useful info about request in UmbracoContext.Current like: PageId, CurrentMember, Cache and stuff like that.
Thanks
is working on a reply...