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 / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

Share Information between Service and Service Manger

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MikeZ - 31 Jul 2007 15:06 GMT
I have a application that run as Windows Service. I also created another
Windows Form Application that manage the Service like MS SQL Server Service
Manager did. Service Manager need to know some variable value in Service,
include some massive data.

I am using the TCP Socket, is there a better way? Thanks.
Nicholas Paldino [.NET/C# MVP] - 31 Jul 2007 15:21 GMT
MikeZ,

   While you can use a TCP socket, you have to code a number of things from
scratch (like authentication, authorization, message encoding, etc, etc).
It's almost always going to be easier to use some pre-existing framework for
this.

   To that end, I recommend Remoting, or Windows Communications Foundation,
with WCF being my first choice.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

>I have a application that run as Windows Service. I also created another
> Windows Form Application that manage the Service like MS SQL Server
[quoted text clipped - 3 lines]
>
> I am using the TCP Socket, is there a better way? Thanks.
MikeZ - 31 Jul 2007 15:56 GMT
Nicholas,

Does com WCF come with framework 3.0? I am using VS.NET 2005. Could you
explain more on Remoting? Thanks.

> MikeZ,
>
[quoted text clipped - 13 lines]
> >
> > I am using the TCP Socket, is there a better way? Thanks.
Nicholas Paldino [.NET/C# MVP] - 31 Jul 2007 16:38 GMT
MikeZ,

   WCF is part of the .NET 3.0 framework.  If you are limited to using .NET
2.0, then you won't have access to it.

   With remoting, you probably want to look at the Remoting Overview in the
documentation:

http://msdn2.microsoft.com/en-us/library/kwdt6w2k.aspx

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Nicholas,
>
[quoted text clipped - 22 lines]
>> >
>> > I am using the TCP Socket, is there a better way? Thanks.

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.