In Internet Explorer 10, when I try view-source:http://localhost
it redirects me to the app store in Windows 8.
How can I get it like in Chrome?
In Internet Explorer, to see the source code of any page, simply go to that page and press F12 to bring up Developer Tools.
View menu / Source
or right-click / View source
. None of this however solves the OP's query.