WCF server client async callback with object -
i have server , client.
client call method on server, server in response have prepare dictionary , send client.
operation might take time.
should async. read instructions , examples.
beginxxx , endxxx iasyncresult. if need server return dictionary of objects. how implement ?
i thought when sending callback delegate can send signature of 1 of clients' functions delegate , when server finish invoke delegate proper dictionary data.
1) adding service reference in vs (or slsvcutil) generates handy proxy code events silverlight projects. can use implement callback's pattern 'service/server agent' if want. can use code regular .net apps modifications.
2) vs .net project can generate proxy async methods. svcutil - too.
3) real long running operations can use wcf services callbacks (+ binding restrictions).
Comments
Post a Comment