ASP NET MVC Realización de solicitudes comportamiento extraño

First of all, sorry for my bad english.

I have faced a strange problem using asp net mvc. I have simple controller, which can execute 2 operations. The first operation is continuous and can take a several minutes. And the other is short, and executed some seconds. Something like this:

public class TestController : Controler {
    public string Func1(long id) {
        // continuous operation
        return new ValueGetter().Get(id)

    public string Func2(long id) {
        return "Abc";

And from the client side i call thouse methods via jqueries post:


The problem consists in the next: while the first operation is executed, the second operation will wait, until first is finished. I tried to use AsyncController as described there, but the result is the same...

I have logged some application events in global.asax:

    protected void Application_PostMapRequestHandler(object sender, EventArgs e) {
        LoggerManager.Info("PostMapRequestHandler fired in global.asax");

    protected void Application_AcquireRequestState(object sender, EventArgs e) {
        LoggerManager.Info("AcquireRequestState fired in global.asax");

And if I for example, call the first method once, and then Immediately call the second method three times, I have the following result in the log file:

... after first method is executed sucessfuly

I use IIS 7(not express) and mvc 3

Why it happen and how I can solve it?

preguntado el 08 de noviembre de 11 a las 14:11

1 Respuestas

Encontré la respuesta a mi pregunta aquí:

Session less MVC Controller for MVC 2 / RC (Blogs de MSDN)

I hope it will help, if someone faces a similar problem.

respondido 12 nov., 11:20

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.