Services-like platform?
-
Hello, I wonder if there is a services-like platform in C# where I can build addons onto. And when I say services, I mean the kind of services Windows has, which I can inject dependencies, trigger a start\stop and add\remove addons as I wish. I will also need a way of controling it, like a console, MMC or some other kind of UI. Does anyone know of something similar to what I'm looking for? it'll really help me out :) Thanks in advance.
-
Hello, I wonder if there is a services-like platform in C# where I can build addons onto. And when I say services, I mean the kind of services Windows has, which I can inject dependencies, trigger a start\stop and add\remove addons as I wish. I will also need a way of controling it, like a console, MMC or some other kind of UI. Does anyone know of something similar to what I'm looking for? it'll really help me out :) Thanks in advance.
Just for clarification: Why not just create windows services that you can control using all the tools you mentioned? What is the requirement that is driving you away from that much simpler solution?
~Justin_H
-
Just for clarification: Why not just create windows services that you can control using all the tools you mentioned? What is the requirement that is driving you away from that much simpler solution?
~Justin_H
-
I would search codeproject for examples of using Managed Extensibility Framework (MEF). I did a quick search and the latest versions should work under Mono. Try: http://www.codeproject.com/Articles/56635/Managed-Extensibility-Framework.aspx for a MEF intro. Going the MEF / roll your own solution route you can't avoid writing some OS specific code to start your "services" with the system but that shouldn't be too hard. Option 2: Check out http://linux.die.net/man/1/mono-service[^] which basically allows you to run .net windows services under mono/linux with little if any code change required.
~Justin_H