![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Making Async Work Hi all, I am brand new to wcf. We have a collection of services that our asp.net webparts interact with. The way we have made the services is to have the service, host, and a setup in a solution. Install on a remote server, and then use svcutil to create the proxy. I hope this is a good way to accomplish this. Now we are trying to makes these services behave asynchronously. Here is what I have so far: <ServiceContract()> _ Public Interface IAnnouncementService <OperationContract(IsOneWay:=False, AsyncPattern:=True)> _ Function BeginGetCurrentAnnouncements(ByVal callback As AsyncCallback, _ ByVal state As Object) As IAsyncResult Function EndGetCurrentAnnouncements(ByVal result As IAsyncResult) As DataSet End Interface Public Class AnnouncementService Implements IAnnouncementService Public Function BeginGetCurrentAnnouncements(ByVal callback As System.AsyncCallback, _ ByVal state As Object) As System.IAsyncResult _ Implements IAnnouncementService.BeginGetCurrentAnnouncements ' . . . not sure how much you need End Sub Public Function EndGetCurrentAnnouncements(ByVal result As System.IAsyncResult) _ As System.Data.DataSet _ Implements IAnnouncementService.EndGetCurrentAnnouncements ' . . . done with processing End Function When I start the service and run the utility, the BeginGetCurrentAnnouncements was not included in the proxy. What am I missing? I'm not even sure if I am going about this the right way, the doc I have found are a little limited. Any information would be helpful. Thanks and have a nice day, Ryan |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Making 108Mbps work | Network & Sharing | |||
| making ALT tab work like MS WIndows key Tab? | Vista General | |||
| trouble setting a UDP and making it work in media player | Vista performance & maintenance | |||
| Making my DVD writer work again! | Vista hardware & devices | |||
| Making Remote Assist Work?? | Vista General | |||