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. Start/Stop Websites from Code (Windows Forms)

Start/Stop Websites from Code (Windows Forms)

Scheduled Pinned Locked Moved C#
winformswindows-admintutorialquestion
2 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.
  • C Offline
    C Offline
    codycaillet
    wrote on last edited by
    #1

    Is there an object I can use to stop/start a website hosted on the local machine programmatically? For example, perform the same actions that occur when you click the STOP button on the Default Website in the IIS Console. Thanks in advance. Cody

    L 1 Reply Last reply
    0
    • C codycaillet

      Is there an object I can use to stop/start a website hosted on the local machine programmatically? For example, perform the same actions that occur when you click the STOP button on the Default Website in the IIS Console. Thanks in advance. Cody

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Just kill/start the process! Look under services for WWW's commandline. Hey leppie! Your "proof" seems brilliant and absurd at the same time. - Vikram Punathambekar 28 Apr '03

      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