Registers a new System.Web.Hosting.VirtualPathProvider instance with the ASP.NET compilation system.
- virtualPathProvider
The new System.Web.Hosting.VirtualPathProvider instance to add to the compilation system.
The HostingEnvironment.RegisterVirtualPathProvider(VirtualPathProvider) method adds the specified System.Web.Hosting.VirtualPathProvider instance to the application's list of virtual-path providers.
For more information, see the System.Web.Hosting.VirtualPathProvider class overview.