Last post May 24, 2017 11:14 AM by PatriceSc
May 24, 2017 11:05 AM|migandhi|LINK
In my Visual Studio solution I have ASP.Net application which needs to be crawled for
checking paths to resources files , also in .cs files that may be using Server.Mappath and other syntaxes for path. So I want to see a result view that gives wrong path as errors. I dont expect it to work in all situations but some plan can
Is there a tool available ?
May 24, 2017 11:14 AM|PatriceSc|LINK
Which kind of resources files are you talking about? Anything that links to any resource ?
If you do have problems, you could perhaps use the IIS log to track and fix those 404 not found errors. If not you likely could use programming techniques to avoid this kind of errors (for example exposing frequently used path in a single way rather than
using an hardcoded Server.MapPath again and again).
For now it seems to me a tool would be complex (path are computed dynamically) and I'm not sure it's worth if you don't have tried maybe simplest approaches. Maybe if we better know about the issues you ran into. Server.MapPath is heavily used and often
if the image is not found).