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. Include IIS in Windows Service

Include IIS in Windows Service

Scheduled Pinned Locked Moved C#
csharpphpdatabasecomwindows-admin
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.
  • R Offline
    R Offline
    Roland Bar
    wrote on last edited by
    #1

    Is it possible to include the IIS into a Windows service? I would like to provide from my Windows Service also a Web Service Interface (maybe running on another port) that can use the objects in the Windows Service. I know that I could use .net remoting but I don't want to have another Interface, if it can be avoided. Thanks and Greets Roland


    Hi! I'm a signature virus. Copy me into your sig file and help me spread!

    Follow your Euro notes in their tracks

    L 1 Reply Last reply
    0
    • R Roland Bar

      Is it possible to include the IIS into a Windows service? I would like to provide from my Windows Service also a Web Service Interface (maybe running on another port) that can use the objects in the Windows Service. I know that I could use .net remoting but I don't want to have another Interface, if it can be avoided. Thanks and Greets Roland


      Hi! I'm a signature virus. Copy me into your sig file and help me spread!

      Follow your Euro notes in their tracks

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      I don't understand. If you want an IIS hosted WebService why not just create one?

      R 1 Reply Last reply
      0
      • L led mike

        I don't understand. If you want an IIS hosted WebService why not just create one?

        R Offline
        R Offline
        Roland Bar
        wrote on last edited by
        #3

        Maybe I have to explain a little bit better (or at least I try to...) I have a windows service that starts when the server is started. This windows service does its job in the background, receives data, makes function calls etc. and is allways running as it should. The windows service makes some function calls through web services. Now I want to create a web GUI that shows the state of the windows service, using asp.net, ajax etc. One way to get the data would be to communicate with the windows service through .net remoting. But as the other Interfaces are web services and therefor are easy to call for testing I would like to be able to receive the data from the windows service through a web service interface. But to be able to provide the interface as an web service I need a web server inside my windows service (or at least I think it could work like that). Hope my idea is now clearer. Thanks and Greets Roland


        Hi! I'm a signature virus. Copy me into your sig file and help me spread!

        Follow your Euro notes in their tracks

        L 1 Reply Last reply
        0
        • R Roland Bar

          Maybe I have to explain a little bit better (or at least I try to...) I have a windows service that starts when the server is started. This windows service does its job in the background, receives data, makes function calls etc. and is allways running as it should. The windows service makes some function calls through web services. Now I want to create a web GUI that shows the state of the windows service, using asp.net, ajax etc. One way to get the data would be to communicate with the windows service through .net remoting. But as the other Interfaces are web services and therefor are easy to call for testing I would like to be able to receive the data from the windows service through a web service interface. But to be able to provide the interface as an web service I need a web server inside my windows service (or at least I think it could work like that). Hope my idea is now clearer. Thanks and Greets Roland


          Hi! I'm a signature virus. Copy me into your sig file and help me spread!

          Follow your Euro notes in their tracks

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Roland Bär wrote:

          One way to get the data would be to communicate with the windows service through .net remoting. But as the other Interfaces are web services and therefor are easy to call for testing I would like to be able to receive the data from the windows service through a web service interface.

          Doesn't Remoting have an HTTP channel that uses SOAP?

          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