4
Answers

Dynamic app.config

Nivedita

Nivedita

13y
3.7k
1
Hi All,

I am working on a windows application, and the datasource name in app.config keeps on changing with different machines. How can I create an app.config which takes a dynamic datasource name.

Thanks in advance

Answers (4)
0
Nivedita

Nivedita

NA 72 48k 13y
Hi Mayur

The application is for standalone machines which are not in a network so the database is local and they are not connected in any way, So its not possible to keep the database in one server.

0
Mayur  Gujrathi

Mayur Gujrathi

NA 4.3k 724.9k 13y
Nivedita article is good but i think it is not solution for your problem
0
Nivedita

Nivedita

NA 72 48k 13y
Hi Mayur

Thanks for your response.

I reffered the following article

http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/1079/
0
Mayur  Gujrathi

Mayur Gujrathi

NA 4.3k 724.9k 13y
make one machine as server and keep your database there