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 :)
I would say you dont. Instead you work with content providers like this on: http://world.episerver.com/Blogs/Johan-Bjornfot/Dates1/2014/8/LocalMediaProvider/ this is used to map a physical folder to episerver.