![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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 |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Making 108Mbps work | krypt0 | Network & Internet | 3 | 05-16-2008 11:11 PM |
| making ALT tab work like MS WIndows key Tab? | boe | Vista General | 2 | 04-25-2008 04:57 AM |
| Making my DVD writer work again! | Josh | Vista hardware & devices | 4 | 08-21-2007 02:12 PM |
| Making Remote Assist Work?? | Mr C | Vista General | 1 | 08-05-2007 08:24 PM |
| Making Vista act like it is XP? (To make older programs work) | NormBo | Vista General | 3 | 03-30-2007 12:56 AM |