Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - WCF proxy problems

 
 
Old 03-04-2006   #1 (permalink)
Ernesto Bascón Pantoja


 
 

WCF proxy problems

Hi everybody:

I develop an application that uses .NET Remoting in order to communicate the
client with our server applications.

Now, we are moving to Windows Communication Framework and we have several
problem on our migration.

This is my current data model:

IDataManager:
- Data GetDataByID(int id);
- Data GetDataByParentID(int id);
- string GetDataName();
- MyCustomEnum GetDataInformation();

Data:
- int ID;
- string Name;
- int ParentID;
- MyCustomEnum DataInfo.

I defined my data structure on a DLL called: MyApplication.Common.dll

MyServer and MyClient implement the IDataManager (ServerDataManager and
ClientDataManager respectively). The ServerDataManager implements the server
functionality and the ClientDataManager uses a remote object that access to
the ServerDataManager implementation:

ClientDataManager:

string GetDataName();
{
return remoteObject.GetDataName();
}

I wanted to implement a similar model using Windows Communication Foundation
but I have a lot of problems about it:

1. My data providers will include more and more methods anytime, because my
communication model upgrade will be done module by module, so, generating
the proxies anytime is a very bothering task

2. I have several proxies in order to provide different information, but all
my proxies implement the same enumerations and classes that I already
implement in my Common.dll; so, when I compile my project, a lot of "Already
defined" errors are thrown.

There is a way to remove the need of generating the proxies anytime my
IDataManager interfaces are modified?

There is a way to avoid the need of define my enumerations and classes on
the proxies?

Best regards,



Ernesto




My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
SOCKS Proxy Live Messenger
Proxy? Network & Sharing
proxy Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46