Click here to Skip to main content
15,889,116 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: XML Serialisation - is it possible to generate multiple views from an object? Pin
Tristan Rhodes13-Aug-09 23:49
Tristan Rhodes13-Aug-09 23:49 
GeneralRe: XML Serialisation - is it possible to generate multiple views from an object? Pin
Kalyan_A19-Aug-09 2:53
professionalKalyan_A19-Aug-09 2:53 
QuestionSemaphore issue Pin
Member 330096911-Aug-09 21:14
Member 330096911-Aug-09 21:14 
AnswerRe: Semaphore issue Pin
N a v a n e e t h12-Aug-09 3:22
N a v a n e e t h12-Aug-09 3:22 
GeneralRe: Semaphore issue Pin
Member 330096912-Aug-09 3:41
Member 330096912-Aug-09 3:41 
GeneralRe: Semaphore issue Pin
N a v a n e e t h12-Aug-09 7:23
N a v a n e e t h12-Aug-09 7:23 
AnswerRe: Semaphore issue Pin
Mark Salsbery12-Aug-09 7:26
Mark Salsbery12-Aug-09 7:26 
QuestionPorting Remoting to WCF architecture problem Pin
cignox111-Aug-09 20:45
cignox111-Aug-09 20:45 
Hi all, I have been asked to change the communication layer of our client server application from Remoting to WCF, and it is revealing a nightmare task because we are using everything that WCF doesn't like (interfaces, generics and so on).
Now I have a specific question regarding our architecture.
Currently, when the server starts it creates a remote object (singleton). When the client starts, it connects to the server, gets that remote object and request a new remote object wich will handle the communication with the server and the underlying database. So, one remote object is available for client to connect, and for each clien a new object is created. Client access this object through an interface to it.

This seems to be the wrong approach for WCF, as the server cannot create a server activated object wich will be then marshalled to the client through an interface: AFAIK object in WCF are always serialized, no matter if the derive from MarshallByRefObjec, no proxy will be created and the object will be serialized.
I was able to make that work using the NetDataContractAttribute, but the actual object implementation must be on the clien, and of course we would avoid to have all the server logic on the client (we would also it to be executed on the server, so that serialization/deserialization process does not really suit our needs). I suppose that we need a major refactoring of our architecture, so my question is:

which are our options to make this transition as easy as possible (that is, trying to keep our current architecture)?

Thank you all!
QuestionSynchronisation question Pin
Esmo200011-Aug-09 14:25
Esmo200011-Aug-09 14:25 
AnswerRe: Synchronisation question Pin
Not Active11-Aug-09 15:13
mentorNot Active11-Aug-09 15:13 
GeneralRe: Synchronisation question Pin
Esmo200011-Aug-09 15:24
Esmo200011-Aug-09 15:24 
AnswerRe: Synchronisation question Pin
N a v a n e e t h11-Aug-09 15:29
N a v a n e e t h11-Aug-09 15:29 
AnswerRe: Synchronisation question Pin
harold aptroot11-Aug-09 15:32
harold aptroot11-Aug-09 15:32 
AnswerRe: Synchronisation question Pin
Luc Pattyn11-Aug-09 15:35
sitebuilderLuc Pattyn11-Aug-09 15:35 
GeneralRe: Synchronisation question Pin
harold aptroot11-Aug-09 16:00
harold aptroot11-Aug-09 16:00 
GeneralRe: Synchronisation question Pin
Luc Pattyn11-Aug-09 16:14
sitebuilderLuc Pattyn11-Aug-09 16:14 
GeneralRe: Synchronisation question Pin
supercat912-Aug-09 6:19
supercat912-Aug-09 6:19 
QuestionHigh number of Handles Pin
Leonardo Muzzi11-Aug-09 4:51
Leonardo Muzzi11-Aug-09 4:51 
AnswerRe: High number of Handles Pin
Dave Kreskowiak11-Aug-09 5:16
mveDave Kreskowiak11-Aug-09 5:16 
AnswerRe: High number of Handles Pin
Luc Pattyn11-Aug-09 5:16
sitebuilderLuc Pattyn11-Aug-09 5:16 
AnswerRe: High number of Handles Pin
N a v a n e e t h11-Aug-09 5:27
N a v a n e e t h11-Aug-09 5:27 
GeneralRe: High number of Handles Pin
Leonardo Muzzi11-Aug-09 7:09
Leonardo Muzzi11-Aug-09 7:09 
GeneralRe: High number of Handles Pin
N a v a n e e t h11-Aug-09 15:22
N a v a n e e t h11-Aug-09 15:22 
GeneralRe: High number of Handles Pin
Leonardo Muzzi12-Aug-09 8:02
Leonardo Muzzi12-Aug-09 8:02 
AnswerRe: High number of Handles Pin
Moreno Airoldi11-Aug-09 6:44
Moreno Airoldi11-Aug-09 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.