C# 网页没有';不要第一次加载

C# 网页没有';不要第一次加载,c#,button,razor,azure,postback,C#,Button,Razor,Azure,Postback,我有一个站点(页面源代码包含在底部),用户第一次使用Windows 8.1/IE11访问它正确加载的页面时,但是当他们单击按钮时,它会永远旋转,如果他们刷新它工作正常,或者如果他们第一次使用DevTools打开页面,它也会工作。此页面适用于除Windows 8.1/IE11之外的所有浏览器/操作系统组合,Fiddler也适用于 我没有Console.log语句。由于无法打开DevTools并查看页面旋转等待,因此我不确定如何调试/修复此问题 以前有人见过这个,或者能够提出一种调试它的方法吗?虽然

我有一个站点(页面源代码包含在底部),用户第一次使用Windows 8.1/IE11访问它正确加载的页面时,但是当他们单击按钮时,它会永远旋转,如果他们刷新它工作正常,或者如果他们第一次使用DevTools打开页面,它也会工作。此页面适用于除Windows 8.1/IE11之外的所有浏览器/操作系统组合,Fiddler也适用于

我没有Console.log语句。由于无法打开DevTools并查看页面旋转等待,因此我不确定如何调试/修复此问题

以前有人见过这个,或者能够提出一种调试它的方法吗?虽然Post/Get都在一段代码中返回“View()”,但这是我排除分页错误的方法。据我所知,服务器没有被呼叫击中。浏览器只是旋转(我有一次离开它30分钟)

C#:

我也尝试过:

[HttpGet]
public ActionResult Introduction()
{
    return View(task);
}

[HttpPost]
[ActionName("Introduction")]
public ActionResult IntroductionHttpPost()
{
    return View();
}
视图:


介绍
document.createElement('header');
document.createElement(“节”);
document.createElement(“条款”);
document.createElement('aside');
document.createElement('nav');
document.createElement('footer');
介绍
欢迎,

在这项调查中,你将被要求回答一些关于你自己和你喜欢的活动类型的问题。重要的是,你要诚实地考虑每一个问题和答案,我们只能接受对你的喜好完全和个性化的调查。br/>
启动任务
对于出现此问题的任何其他人,您可以在按钮中添加
名称
属性,一切正常。

您是否尝试过使用log4net或elmah在某些点将其记录到日志文件中?它在兼容模式下工作吗?在兼容模式下工作正常。尝试使用Azure跟踪,但似乎没有击中服务器。
[HttpGet]
public ActionResult Introduction()
{
    return View(task);
}

[HttpPost]
[ActionName("Introduction")]
public ActionResult IntroductionHttpPost()
{
    return View();
}
<!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8" />
        <title>Introduction</title>
        <script type="text/javascript">
            document.createElement('header');
            document.createElement('section');
            document.createElement('article');
            document.createElement('aside');
            document.createElement('nav');
            document.createElement('footer');
        </script>


    </head>
    <body>
        <div class="page clearfix">
            <header>
                <div id="progress" class="clearfix">

                </div>
                <div id="title">
                    <h1>Introduction</h1>
                                </div>
            </header>
            <section id="main">


    <form action="/Task/Introduction" method="post">Welcome,    <br />
        <br />
    In this survey you will be asked to answer some questions about yourself and about the kinds of events you enjoy. It is important that you consider each question and answer honestly, we can only accept surveys that are complete and personalized to your preferences.    <br />
        <br />
        <button type="submit" class="button">Start Task</button>
    </form>
            </section>
            <footer>
            </footer>
        </div>
    </body>
    </html>