CODEDIGEST InstallShield
Home Articles CodeDigest Tutorials InstallShield FAQs
Skip Navigation LinksHome » FAQs » What are virtual path providers?   You are not logged in.
Search
 

Sponsors
InstallShield
 

Technologies
 

CodeDigest Navigation
 

Technology News
No News Feeds available at this time.
 

Community News
No News Feeds available at this time.
 
What are virtual path providers?
What are virtual path providers?
Submitted By Gaurav Arora
On 4/30/2009 8:59:36 AM
Tags: Interview Questions,ASP.NET  

What are virtual path providers?

Its the path providing facility to provide the virtual content to compiler. For example, a virtual path provider provides a means to supply content from locations other than the file system. To attain the same following step(s) are required :

1. Create a VirtualPathProvider class, and implement all the required methods to handle files and folder requests.

2. Register the virtual path provider to let the ASP.NET hosting environment know where the content will be served from.

3. Create VirtualFile and VirtualDirectory objects to stream the content. For more details, visit http://support.microsoft.com/kb/910441