Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Remoting Dilemma

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ckkwan@my-deja.com - 20 Mar 2008 11:44 GMT
I am kind of stucked.

App A   ->   Remoting DLL  <-  App B
(Server)                                  (Client)

Application A will invoke the Remoting DLL and start it as a server.

There will have multiple Application B (clients) trying to connect.

Well, they all can connect without any problem, but!

The Remoting DLL cannot have access to Application A (which stores
some critical information).

I can’t reference Application A into Remoting Dll, because App A is
not a DLL, and even if I am able to do so it will cause a circular
reference.

In C++ there is something like forward declaration and extern the
instance. So, what is the solution for C# here?

Thanks in advance 
sloan - 20 Mar 2008 13:52 GMT
Are you talking about keeping your secret code safe?

Or the cyclic reference issue?

Take a look here:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!122.entry
and there is a URL at this blog pointing to another site (secretgeek)

..

However, I suggest WCF over .Net Remoting for any "new" code projects.

..

I am kind of stucked.

App A   ->   Remoting DLL  <-  App B
(Server)                                  (Client)

Application A will invoke the Remoting DLL and start it as a server.

There will have multiple Application B (clients) trying to connect.

Well, they all can connect without any problem, but!

The Remoting DLL cannot have access to Application A (which stores
some critical information).

I can¡¦t reference Application A into Remoting Dll, because App A is
not a DLL, and even if I am able to do so it will cause a circular
reference.

In C++ there is something like forward declaration and extern the
instance. So, what is the solution for C# here?

Thanks in advance ļ

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.