too slow jQuery with Asp.Net Development Server
<p>I am intending to run jQuery and AJAX with ASP.NET 3.5. On the Visual Studio development server (Cassini), the call to the .aspx is too slow. It takes about 30 sec. It then stops on the break point if I debug and return good the json with date. However, the same code published to an IIS web site runs well and runs fast.</p>

<p>Environment: (Windows Vista 64 + Visual Studio 2008) </p>

<p><strong>ASPX page</strong> </p>

<pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;title&gt;Calling a page method with jQuery&lt;/title&gt;
&lt;script type="text/javascript" src="Scripts/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="Scripts/Default.js"&gt;&lt;/script&gt;
&lt;/head&gt;
</code></pre>

<p>
    Click here for the time.
    
    </p>

<p><strong>file - Scripts/Default.js</strong></p>

<pre><code>$(document).ready(function() {
// Add the page method call as an onclick handler for the div.
$("#Result").click(function() {
    $.ajax({
        type: "POST",
        url: "Default.aspx/GetDate",
        data: "{}",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function(msg) {
            // Replace the div's content with the page method's return.
            $("#Result").text(msg.d);
        }
    });
});
});
</code></pre>

<p><strong>file - Default.aspx.cs</strong></p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.UI;
using System.Web.UI.WebControls;


public partial class _Default : System.Web.UI.Page 

{

    [WebMethod]
    public static string GetDate()
    {
        return DateTime.Now.ToString();
    }
}
</code></pre>

<p>Help me please, excuse me for bad English ;)</p>
