views:

60

answers:

0

We have a VirtualPathProvider set up to allow two sites to share Template files (.ascx) when running on vs2008 Cassini web servers. (This is a hack to get around Casssini's lack on Virtual Paths and XP's IIS limit of one web site.)

But, .net appears to be caching the templates when they are first loaded (TemplateControl.LoadTemplate) and will not reload them if one of our designers edits the .ascx files. (Without a complete machine reboot!)

The lack of a time stamp in the VPP explains that .net doesn't reload edited files. But is there a less time consuming way to force the clearing of the cache?