asp.net - How do I get VirtualPathProvider to include page presenter and interface files? -


i have implemented virtualpathprovider fetches page database. works ok simple application consisting of 1 markup file (.aspx), code file (.aspx.vb) , master page.

then have moved code code file presenter class interacts page , code behind via interface.

how make virtualpathprovider fetch presenter , interface files database compiled page?

the getfile method of vpp called page, code-behind , master page. don't want use app_code directory (which works). if add reference page directives interface , presenter vpp 's getfile method called these parser error message: "the file 'src' not valid here because doesn't expose type." if include class , interace definitions in code file page works.

is there way keep them separate?

i keep them separate in database table , merge contents code file in virtualpathprovider when getfile called asp.net code file.


Comments