Visual C#, Best way to access database over intranet with Windows Application
Posted on 2009-05-05
I am developing a Windows Application in VS 2008 with C#, this application will be installed on multiple computers in same office/Network and will access same database which will be saved on one computer at a pre-defined location. Now please suggest me.
1. How I can make my application to automatically discover the database, if not possible how i can serve the same database to my application installed on other computers in same network effiently.
2. Can I make a small Server sort of application which announces its presence on server and my application listen to that and connect for database access.
3. Right now we just map a network drive to shared database location and use it in our connection string. but for this we have manually change the connection string. Is it a recommended practice.
thanks in advance.