简体   繁体   中英

WCF server side async invocation

I'm trying to implement the async operation on the server side using Begin and End operations on the server side. And for the operation [OperationContract(AsyncPattern=true)] is configured.

I have not generated the proxy on the client application but using the channel factory to create the service. Though it looks like service instance is created. The actual operations on the server side are not being invoked.

Can somebody suggest what are the steps required to perform asynchronous operation on the server side.

If required I will share my entire sample project. Please let me know in case of any queries.

Thanks in advance.

Everything you need is explained in the MSDN-Docs

I think the sample(code) there is rather good and just don't know what more to say here ;) BTW: make sure to use the example from here as mentioned in the comments on the MSDN docs - but AFAIK the descriptions are fine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM