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 / Distributed Applications / October 2004

Tip: Looking for answers? Try searching our database.

Com+ remote calls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SubstandardSnowman - 15 Oct 2004 00:47 GMT
I have a C# Com+ serviced component running on the server. It is a
cryptography component so it just has a few methods that take a few
paramaters and return a string. I need to know how to have my C# client apps
be able to call this Com+ component on the server. I just don't know where to
start. Should I use Remoting or is there a simplier way to do this? Thanks
for your help.
Daniel Carbajal [MVP] - 16 Oct 2004 06:45 GMT
Yes, there is a simpler way, you can use only DCOM, all you have to do is
register the dll and tlb in your clients, and then your clients can create
one instance on the server and call its methods...
Regards,
Daniel Carbajal
MVP

>I have a C# Com+ serviced component running on the server. It is a
> cryptography component so it just has a few methods that take a few
[quoted text clipped - 4 lines]
> start. Should I use Remoting or is there a simplier way to do this? Thanks
> for your help.
Paul Glavich [MVP - ASP.NET] - 17 Oct 2004 12:30 GMT
What Daniel says is true, however you can go into the Component Services
snap-in, select your component, then select the export option. THis will
create an .MSI install file, that when run on the client, installs the
"stub" or proxy DLL's setup and ready to connect to your server. All you
need to do is reference these DLL's on the client. The DCOM configuration is
taken care of for you (generally speaking that is, port configuration is
another matter).

Signature

- Paul Glavich
Microsoft MVP - ASP.NET

> Yes, there is a simpler way, you can use only DCOM, all you have to do is
> register the dll and tlb in your clients, and then your clients can create
[quoted text clipped - 11 lines]
> > start. Should I use Remoting or is there a simplier way to do this? Thanks
> > for your help.
SubstandardSnowman - 17 Oct 2004 18:31 GMT
Thank you for the help. I found no info on how to do DCOM with .NET and I
already had a windows service running on the server so I just went ahead and
did remoting. It's now fully function but I will save this information for
future needs.

> What Daniel says is true, however you can go into the Component Services
> snap-in, select your component, then select the export option. THis will
[quoted text clipped - 23 lines]
> Thanks
> > > for your help.

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.