Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Get VPP physicalpath in CMS 9



I've upgraded a site that ran on CMS 7.5 to CMS 9. I've noticed the breaking changes regarding VPP but can't seem to get my head around how to solve the following. I got code that looks like:

EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider provider = VirtualPathHandler.GetProvider("LogDisplay") as VirtualPathNonUnifiedProvider;

What I can't find out is: Where VirtualPathHandler in CMS 9? And if it's "no more". How do I get the physicalpath for a VPP in CMS 9.

Thanks in advance :)


Oct 16, 2015 10:37

I would say you dont. Instead you work with content providers like this on: this is used to map a physical folder to episerver.

Edited, Oct 16, 2015 10:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.