Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Services-like platform?

Services-like platform?

Scheduled Pinned Locked Moved C#
csharpdatabasedesignhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NaNg15241
    wrote on last edited by
    #1

    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.

    J 1 Reply Last reply
    0
    • N NaNg15241

      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.

      J Offline
      J Offline
      Justin Helsley
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • J Justin Helsley

        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

        N Offline
        N Offline
        NaNg15241
        wrote on last edited by
        #3

        I'd like to be able to make it cross-platform using MONO

        J 1 Reply Last reply
        0
        • N NaNg15241

          I'd like to be able to make it cross-platform using MONO

          J Offline
          J Offline
          Justin Helsley
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups