Hi ! Show your server side handler [I have not read the zip] ...
This is usually a problem of session handling of the server side. If session handling is enabled, the ASP.NET thread uses a lock on the session object, which cause the seconds request to hung/wait. You must use a webhandler with session mode read-only, if you need sessionstate. See here: http://stackoverflow.com/questions/1269198/how-to-force-an-iis-hosted-wcf-or -asmx-webservice-to-use-session-object-readonl br++mabra [Sorry, this is a re-send, because I accidentally forgot the list ... ;-) ] -----Original Message----- From: mono-aspnet-list-boun...@lists.ximian.com [mailto:mono-aspnet-list-boun...@lists.ximian.com] On Behalf Of some_x Sent: Monday, September 19, 2011 10:37 AM To: mono-aspnet-list@lists.ximian.com Subject: [Mono-aspnet-list] Problem with a parallel call two or more action methods (MVC.NET) under mono - handle of next requests begins only after the previous will be completed. Hello. First of all - sorry for english, i am not native speaker. Hello. Has faced such problem - under mono (tested with xsp4 or nginx, ASP.NET MVC2 and mono 2.10.2) in case web page make two ajax requests, handling of the second will begin only after end of the first action method. Here solution with problem demonstration - http://www.siqube.ru/pub/MultiRequestsProblem.zip The project has implementation of two action methods Test/Test1 (the method simply delays execution for 5 seconds) and Test/Test2 (the asynchronous method, launches a thread which do nothing 5 seconds, on termination of a thread action method return response). There are two buttons on page(Test/index view) which do on two simultaneous requests to Test1 and Test2 (accordingly). Upon termination of request, time of execution one is display. Result in vs 2010 http://imageshack.us/photo/my-images/62/93514479.png/, result in case of xsp4 or ngnix http://imageshack.us/photo/my-images/717/xspp.png/. -- View this message in context: http://mono.1490590.n4.nabble.com/Problem-with-a-parallel-call-two-or-more-a ction-methods-MVC-NET-under-mono-handle-of-next-requests-b-tp3823306p3823306 .html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list