I put in the following code in my global.asax and when I run it on my local PC using a local database, it doesn't seem to pick up my .cs code (for my Virtual Path Provider).
My Gridview serves some URL links. I click on the link but it doesn't seem to be picking up the VPP class I created. I get the following:
after I click the above link for example, I then get:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /recipes/poultry/SearchRes
It may be going the VPP then back out to the
lPath) but I can't tell because I don't see a way to step through my.cs when I do a debug on my website in VS 2005. When I do a debug, it never steps through my .cs, only through my aspx and code-behind.
Here's my entire code, I don't see what the problem is:
At least I think it's not picking it up, I have no idea but all I know is that it's not seeming to go through my class code on startup of my web application.