PC Review


Reply
 
 
millzy
Guest
Posts: n/a
 
      6th May 2005
Hi,

I need to create an application/service that will run all the time on a
server and will need to expose one of its methods through COM/DCOM.

It will be accessed by many clients at the same time but they will be
accessing shared data so they will simply be queued.

I want to create it in C# but i'm not sure whether it should be a
windows service or a console application.

If you have any advice on this I would be very grateful

Thanks

Millzy

 
Reply With Quote
 
 
 
 
dan.c.roth@gmail.com
Guest
Posts: n/a
 
      6th May 2005
Hi

Use Com+ (System.EnterpriseServices.ServicedComponent) and run it as a
service (There is a option in Component Services).

Regards,

Daniel Roth
MCSD.NET

 
Reply With Quote
 
Frank Mills
Guest
Posts: n/a
 
      6th May 2005
Thanks,

So i should create a Windows Services project yes?

I was going to just create an application but i've heard that C#
applications dont expose there methods very well.

So basically I create a Windows service and then have

using System.EnterpriseServices.ServicedComponent;

in the code.

Do i still need to use the GUID like
[GUID("4C461257-82C2-43c4-B52D-66FAB55A851F")] on the methods that i
need to expose?

Thanks

Millzy




*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
dan.c.roth@gmail.com
Guest
Posts: n/a
 
      6th May 2005
Hi

No, not a Windows Services project, you want a COM+ application in
..NET. That is hosted by Component Services.

Do some research about COM+ and .NET

Regards,
Daniel Roth
MCSD.NET

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DCOM error, the server did not register with dcom Gordon J. Rattray Windows XP General 0 3rd Jan 2010 03:11 AM
DCOM Doug Fox Microsoft Windows 2000 Developer 0 20th Oct 2005 03:05 PM
DCOM access denied attempting to launch a DCOM etc Help!! =?Utf-8?B?Sm9obiBOaXZhcmQ=?= Microsoft Windows 2000 3 2nd Jun 2004 01:00 PM
DCOM: DCOM got error "Overlapped I/O Jeffry Microsoft Windows 2000 Advanced Server 0 13th Feb 2004 12:04 AM
Accessing DCOM components from the code behind pages and using sessions to store DCOM object handles Alex Microsoft ASP .NET 3 2nd Dec 2003 01:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:21 AM.