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. Configuration settings of a dll

Configuration settings of a dll

Scheduled Pinned Locked Moved C#
questioncsharpasp-networkspace
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.
  • M Offline
    M Offline
    mukkanti007
    wrote on last edited by
    #1

    Hi all, i have a question on Configuration settings of a dll . If i want to get Configuration settings of a dll in my application how can i get that? I am using Asp.net application . Thanks

    Thanks Mukkanti

    R N 2 Replies Last reply
    0
    • M mukkanti007

      Hi all, i have a question on Configuration settings of a dll . If i want to get Configuration settings of a dll in my application how can i get that? I am using Asp.net application . Thanks

      Thanks Mukkanti

      R Offline
      R Offline
      Rob Philpott
      wrote on last edited by
      #2

      Put the settings in the web.config file.

      Regards, Rob Philpott.

      1 Reply Last reply
      0
      • M mukkanti007

        Hi all, i have a question on Configuration settings of a dll . If i want to get Configuration settings of a dll in my application how can i get that? I am using Asp.net application . Thanks

        Thanks Mukkanti

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        ExeConfigurationFileMap map = new ExeConfigurationFileMap(); map.ExeConfigFilename = Path to dll + "config"; Configuration = ConfigurationManager.OpenMappedExeConfiguration(map, ConfigurationUserLevel.None);


        only two letters away from being an asset

        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