Hi guys,
Have anybody tried to create strongly typed API for ASP.NET MVC 2 async actions?
Best regards, Alexey Zakharov
Hi guys,
Have anybody tried to create strongly typed API for ASP.NET MVC 2 async actions?
Best regards, Alexey Zakharov
Use a WCF web service.
It's the cleanest solution and controllable, also if you decide to use client side frameworks like silverlight you still have access to everything you need.
But my recommendation, use ajax for async server calls, in my case it was about 20 lines of javascript defined in a common scripts file that include on every page then in my page inside a div i would simply dump out a script tag and call that method that asks the server to push out my async request.
MVC is overcomplicted if you ask me ... but then noone ever does other ms would stop building it !!!
Or do you need to do some async stuff whilst doing other things on the page during the loading process on the server?