How to write a CMS like Sharepoint?

How to use virtual path providers to dynamically load and compile content from virtual paths in ASP.NET 2.0