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. writing to appconfig file

writing to appconfig file

Scheduled Pinned Locked Moved C#
workspacesysadminhelpquestion
3 Posts 3 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.
  • J Offline
    J Offline
    justintimberlake
    wrote on last edited by
    #1

    i have a windows service which request a webservice. The windows service gets the url of webservice from application configuration file( i.e appconfig file) now how can i write to app config file from setup and deployment project(i.e the installer). pla help me

    S J 2 Replies Last reply
    0
    • J justintimberlake

      i have a windows service which request a webservice. The windows service gets the url of webservice from application configuration file( i.e appconfig file) now how can i write to app config file from setup and deployment project(i.e the installer). pla help me

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      One Post is enough.

      Regards, Satips.:rose:

      1 Reply Last reply
      0
      • J justintimberlake

        i have a windows service which request a webservice. The windows service gets the url of webservice from application configuration file( i.e appconfig file) now how can i write to app config file from setup and deployment project(i.e the installer). pla help me

        J Offline
        J Offline
        Joseph Guadagno
        wrote on last edited by
        #3

        In order to accomplish this, you will need to create a custom installer class. This can be a separate library or a class in your service. Within you installer class, you can write to the app.config after it is installed. Just a note, there are not a lot of articles on the subject.

        Here are some of my articles. Hope this helps! Joseph Guadagno http://www.josephguadagno.net

        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