Hi,

I'm currently looking into using the VirtualPathProvider for URL
rewriting and could do with a bit of guidance.

I have scanned over the articles on Scott Guthrie's site as well as the
recent article on MSDN and a few posts on the ASP.net forums but still
have one or two questions that I hope someone here can help with;

1. A number of posts/articles are saying that in order to use a URL
like http://www.mydomain.com/mydir/mypage.aspx to pull the mypage.aspx
code from your datastore you actually have to have the directory mydir
setup on the server - is this true or is there a way around it?

2. I want to use the VPP to pull info from several sources - for
example requests for any images types from the /images/ folder I want
to pull the files from another folder on disk whereas requests for
anything from the root or the /styles folder I want to either pull
directly from a database or build up dynamically.  Is this possible.

The VirtualPathProvider seems like a fantastic tool, but trying to find
enough info on it is proving difficult so any help with the above or
links to good in depth articles would be appreciated.

--
Cheers,

Julian Voelcker
Cirencester, United Kingdom

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to