How to get piece by piece data from WCF service -
i have created .net app allows query iis logs of web servers. app calls wcf service data. wcf service location has iis logs in place. wcf service internally calls logparser on iis log files , returns result. there multiple iis log files. if run logparser on of them in 1 go, takes lot of time return there 30 huge iis log files queried. want run logparser on each of these iis logs 1 one , return result 1 one.
i looking framework works on wcf , allows piece piece data retrieval wcf service. want result of iislogfile1, of iislogfile2, , on. otherwise ui have wait long time full result in 1 go.
do know of existing framework allows part part retrieval of data wcf service?
ps: workaround have call service multiple times, once each iis log file, till responses data sent. looking cleaner solution.
this question seems related scenario, see if answer steven cheng helps you. gist of answer can try duplex services server can call client when completes processing each log file.
edit:
also take @ signalr framework establish persistent connection between server , client, can send notifications (in case log file) server finishes processing one. an example here.
Comments
Post a Comment