I use an action filter that checks which version of the browser is used on my site if in an older browser I place a div at the top asking for an update. I don't want web crawlers to receive a div message, so I implemented HttpBrowserCapabilitiesBase.Crawler and it looks like it works for Google, but Bing and others don't seem to register as crawlers. Itβs strange for a Microsoft product not to notice Bing as a crawler!
Is there a way to add user agents to the crawler property or something like that?
Thanks!
Edited: I am using asp.net mvc 3, it looks like I need to use .Browser (?) Files. Does anyone know a comprehensive set of .Browser files for Bing and other scanners?
gt124 source share