I have the following razor code:
<form id="logon" action="/security/dev" method="get">
@Html.AntiForgeryToken()
@Html.EditorFor(x => x.UserName)
@Html.EditorFor(x => x.Password)
<input type="submit" value="Login" name="Login" />
<input type="submit" value="Cancel" name="Cancel" />
</form>
when getting the precompiled version to output the generated html I get the following:
<form id="logon" action="/security/dev" method="get">
<input name="__RequestVerificationToken" type="hidden" value="vTyswnqonYMzGeewLrLSJ9XySz1A0PR0nvyVu58458J/nftXtxBPIVoQEdfr3MzEYPDLBPcGvXtMkOTujsou/x3eJVfdt2YSJgxUfu6AxMLj23kTwUNQo7X8ec7twsbt8U2BdogpHy0fSGq1nMljlukM9fGZ/770JLijcpJXx4o=" />
/* EditorTemplates/String */
/* EditorTemplates/Password */
<input type="submit" value="Login" name="Login" />
<input type="submit" value="Cancel" name="Cancel" />
</form>
Anyone have any idea why it would do that? Here is a failing example: skydrive file
Cheers
w://
Apparently this is not part of the expected output.