How to implement callbacks from server-side

How to implement callbacks from server-side

Old forum URL: forums.lhotka.net/forums/t/3823.aspx


SimonW posted on Thursday, November 01, 2007

Hi

I'm just trying to get up-to-speed wrt CSLA, and am trying to implement the framework in a couple of my own test examples.

Can someone point me to where I should be looking, perhaps in the project tracker example, so that I can see how to implement callbacks from the server (effectively raising events from the server back to the client).

Thanks

Simon

ajj3085 replied on Thursday, November 01, 2007

There really isn't any support for this in Csla.  You'll have to go your own.  Search for threads discussing asyncronous DataPortal calls.

rsbaker0 replied on Thursday, November 01, 2007

Why do you need to do this?

We at first thought that we needed this in our application, but have since changed to thinking that the server side operations need to be quick atomic operations (e.g. database transactions for the most part). 

We are moving things that used to require callback-like capability in the middle of these operations to validation rules or other processing done client-side before the server-side process is invoked.

DavidDilworth replied on Friday, November 02, 2007

What environment are you trying to do this in?  Windows Forms or Web?

And what client functionality are you trying to achieve?

Copyright (c) Marimer LLC