Virtual path provider for returning embedded Views
the virtual path format is: ~/EV.axd/_EV_MD5HASHOFURLLOCATION or ~/EV.axd/FQN.OF.VIEW,SPECIFIEDASSEMBLY
Inheritance: System.Web.Hosting.VirtualPathProvider
        private void Init()
        {
            //these are the originals:

            //base.AreaViewLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/{1}/{0}.vbhtml", "~/Areas/{2}/Views/Shared/{0}.cshtml", "~/Areas/{2}/Views/Shared/{0}.vbhtml" };
            //base.AreaMasterLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/{1}/{0}.vbhtml", "~/Areas/{2}/Views/Shared/{0}.cshtml", "~/Areas/{2}/Views/Shared/{0}.vbhtml" };
            //base.AreaPartialViewLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/{1}/{0}.vbhtml", "~/Areas/{2}/Views/Shared/{0}.cshtml", "~/Areas/{2}/Views/Shared/{0}.vbhtml" };
            //base.ViewLocationFormats = new string[] { "~/Views/{1}/{0}.cshtml", "~/Views/{1}/{0}.vbhtml", "~/Views/Shared/{0}.cshtml", "~/Views/Shared/{0}.vbhtml" };
            //base.MasterLocationFormats = new string[] { "~/Views/{1}/{0}.cshtml", "~/Views/{1}/{0}.vbhtml", "~/Views/Shared/{0}.cshtml", "~/Views/Shared/{0}.vbhtml" };
            //base.PartialViewLocationFormats = new string[] { "~/Views/{1}/{0}.cshtml", "~/Views/{1}/{0}.vbhtml", "~/Views/Shared/{0}.cshtml", "~/Views/Shared/{0}.vbhtml" };
            //base.FileExtensions = new string[] { "cshtml", "vbhtml" };

            //ViewLocationFormats = new string[]
            //{
            //    "~/Views/Rebel/{0}.cshtml",   //include the Rebel path for 'master pages'
            //    "~/EV.axd/{0}.cshtml"  //include our virtual path for embedded views
            //};

            ViewLocationFormats = new[]
            {
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            AreaViewLocationFormats = new[]
            {
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            PartialViewLocationFormats = new[]
            {
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            AreaPartialViewLocationFormats = new[]
            {
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            //set the VirtualPathProvider
            VirtualPathProvider = new EmbeddedViewVirtualPathProvider();
        }
        private void Init()
        {
            //these are the originals:

            //base.AreaViewLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/{1}/{0}.vbhtml", "~/Areas/{2}/Views/Shared/{0}.cshtml", "~/Areas/{2}/Views/Shared/{0}.vbhtml" };
            //base.AreaMasterLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/{1}/{0}.vbhtml", "~/Areas/{2}/Views/Shared/{0}.cshtml", "~/Areas/{2}/Views/Shared/{0}.vbhtml" };
            //base.AreaPartialViewLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/{1}/{0}.vbhtml", "~/Areas/{2}/Views/Shared/{0}.cshtml", "~/Areas/{2}/Views/Shared/{0}.vbhtml" };
            //base.ViewLocationFormats = new string[] { "~/Views/{1}/{0}.cshtml", "~/Views/{1}/{0}.vbhtml", "~/Views/Shared/{0}.cshtml", "~/Views/Shared/{0}.vbhtml" };
            //base.MasterLocationFormats = new string[] { "~/Views/{1}/{0}.cshtml", "~/Views/{1}/{0}.vbhtml", "~/Views/Shared/{0}.cshtml", "~/Views/Shared/{0}.vbhtml" };
            //base.PartialViewLocationFormats = new string[] { "~/Views/{1}/{0}.cshtml", "~/Views/{1}/{0}.vbhtml", "~/Views/Shared/{0}.cshtml", "~/Views/Shared/{0}.vbhtml" };
            //base.FileExtensions = new string[] { "cshtml", "vbhtml" };

            //ViewLocationFormats = new string[] 
            //{ 
            //    "~/Views/Rebel/{0}.cshtml",   //include the Rebel path for 'master pages'
            //    "~/EV.axd/{0}.cshtml"  //include our virtual path for embedded views
            //};

            ViewLocationFormats = new[] 
            { 
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            AreaViewLocationFormats = new[] 
            { 
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            PartialViewLocationFormats = new[] 
            { 
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            AreaPartialViewLocationFormats = new[] 
            { 
                "~" + EmbeddedViewPath.PathPrefix + "{0}.cshtml"  //include our virtual path for embedded views
            };

            //set the VirtualPathProvider
            VirtualPathProvider = new EmbeddedViewVirtualPathProvider();
        }