Skip to content

EPiServer – ContentRouteHelper/PageRouteHelper

February 28, 2014

Just a reminder. If you want to get the current content or current page anywhere in your solution use EPiServer.Web.Routing.ContentRouteHelper or EPiServer.Web.Routing.PageRouteHelper. The instances are registered with StructureMap so you can get an instance from StructureMap directly or through EPiServer.ServiceLocation.ServiceLocator.


From → EPiServer

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: