Parallel processing of concurrent AJAX requests in ASP.NET MVC(www.stefanprodan.eu)

submitted by dpetersondpeterson(4397) 3 months, 10 days ago

If you develop web applications that relies on JavaScript to update the interface and you use several Ajax calls inside a single page, then you should know that all those calls are not executed in parallel on the server. On a default controller, each call to an action locks the user’s Session object for synchronization purposes, so even if you trigger three calls at once from the browser, these calls will get queued and executed one by one...

1 comment |category: |Views: 236

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by vijaystvijayst(1311) 3 months, 9 days ago 0

Interesting tip. When using controllers that have AJAX actions, I will remember to use read-only sessions, wherever possible.

Reply

information Login or create an account to comment on this story