There is no absolutely reliable way. Routing makes things even worse, you canβt even say ASP.NET, except perhaps by looking at the HTTP headers sent by the web server and looking for an indication, but it is not reliable.
But here is one heuristic you, which is a strong sign of ASP.NET MVC:
- ASP.NET HTTP Header Submitted by IIS
- Missing ViewState on Pages
- Continuous URLs
- Pretty HTML
- Having multiple
form tags on the same page
Speaking of HTTP headers, you can find:
X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 X-AspNetMvc-Version: 1.0
source share