Anyone know if any easy way to find out if a site is written in mvc?
And to take it a step further, assuming it is mvc to determine which pieces are asp.net forms?
I know just because they do or dont exist it doesn't mean 100% but it would be nice to have some things to look for certain headers that exist, or even existence of boilerplate code
i.e.(just a forms example):
onsubmit="javascript:return WebForm_OnSubmit();
No, you can't, at least no way that would be reliable, short of emailing the site's developer.
Unless the site developer has removed it, you get a header on each response that indicates the ASP.NET MVC version. I've tried this on three different sites I have using all three versions of MVC and it always appears.
X-Aspnetmvc-Version:1.0
X-Aspnetmvc-Version:2.0
X-Aspnetmvc-Version:3.0
note: StackOverflow removes all of the ASP.NET injected headers as far as I can tell
Well, the most obvious clue is that you don't have extensions to urls (like .aspx). Right?
The <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" />
tag does not exist :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With