Khash
Khash

Reputation: 2570

Enterprise Services Alternative

Are there any alternatives to Serviced Components (COM+) in .NET?

I am looking for an on-demand (not always-running like Windows Service) manageable components to be hosted by the OS and be accessible locally (no requirement for remote connections).

Upvotes: 2

Views: 536

Answers (4)

Cheeso
Cheeso

Reputation: 192587

Don't forget about MSMQ triggering!

Upvotes: 1

Brody
Brody

Reputation: 2074

Wouldn't that just be a standard dll?

What do you mean by hosted?

* EDIT * Oh, Out of process. I'd use a WCF service in IIS over enterprise services (Serviced Components).

Upvotes: 0

Pontus Gagge
Pontus Gagge

Reputation: 17268

I take it you want to have some supervision and control over process lifecycle activation and resource usage (CPU, memory, connections &c), but not necessarily things like automatically enforcing resource usage caps.

There's a good summary of options on MSDN. If you happen to have WS2008, Windows Process Activation Service is something I've been wishing for for quite a while now...

Upvotes: 0

Marc Gravell
Marc Gravell

Reputation: 1063619

If you want it hosted out-of-process by the OS (i.e. with ability to change the runtime identity, etc), then COM+ is the closest fit. Other than that... connect to a service (such as WCF or POX) on a local IIS instance? Massively overkill etc... but in some ways, easier to deploy: once the IIS app exists, you can robocopy updates to the folder (which isn't an option with COM+).

I'd probably go COM+ here unless I needed that ability!

Upvotes: 3

Related Questions