asp.net Async call using BeginExecuteNonQuery db not firing
<p>my code fires off ExecuteNonQueryAsyc. In debug I see it hit command.BeginExecuteNonQuery(new AsyncCallback(AsyncCommandCompletionCallback), command);
line but the sp is not really being fired off that gets called.  what am I doing wrong?</p>

<pre><code>public static void ExecuteNonQueryAsyc(string procedureName, IList&lt;SqlParameter&gt; parameters)
{
    using (SqlConnection connection = new SqlConnection(Config.GetDbConnection() + ";Async=true;"))
    {
        SqlCommand command = connection.CreateCommand();

        command.CommandText = procedureName;
        command.CommandType = CommandType.StoredProcedure;

        if (parameters != null)
            for (int index = 0; index &lt; parameters.Count; index++)
                command.Parameters.Add(parameters[index]);

            connection.Open();
            command.BeginExecuteNonQuery(new AsyncCallback(AsyncCommandCompletionCallback), command);

    }
}

static void AsyncCommandCompletionCallback(IAsyncResult result)
{
    SqlCommand cmd = null;
    try
    {
        // Get our command object from AsyncState, then call EndExecuteNonQuery.
        cmd = (SqlCommand)result.AsyncState;
        cmd.EndExecuteNonQuery(result);
    }
    catch (Exception ex)
    {
        throw ex;
    }
    finally
    {
        cmd.Connection.Close();
        cmd.Dispose();
    }
}
</code></pre>
