Sunday, 3 July 2011

virtual path provider Sharepoint

A virtual path provider provides a mechanism with which we can extend ASP.NET to serve virtual content to the compilation system. For example, a virtual path provider provides a means to supply content from locations other than the file system.



In other words, it’s an abstract mechanism by which we can render pages from SQL Server content database and also from the virtual directories and from our custom location also we can provide.

So when as a request comes for a page virtual provider provided by SharePoint reads from the content database based on if page is customized and if the page is not customized read from the file system parses it and the passes the page to the ASP.NET run-time.

For more information or to write custom virtual provider
http://support.microsoft.com/kb/910441