c# - Update web.config file in asp.net -


i working on web application sits on server , connects various client machines based on ipaddress.i have change ipaddress every time in web.config file in order connect particular client machine.

i want put text box can enter ipaddress , updates web.config file based on button click should connect respective client machine.

is possible way or thinking wrong way ?

can 1 guide me in right path ?

it sounds me thinking backwards.

if application dependent on inputting ip address every time, why store in web.config? why not build application part of process connect machine?

run application page, request ip input, utilize input connect targeted machine.

the config file meant changing settings , other application configuration data. value needed on per use basis, request on per use basis.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -