MongoDB c# driver - Connect via proxy
There is a Windows Forms application, which uses MongoDB driver. I would like the MongoDB driver to make all its connection via a specified proxy.
Should there be a way to modify app.config to achieve it? Can I define 开发者_Go百科it in the driver itself?
Take a look at the MongoDB docs on connection strings: http://www.mongodb.org/display/DOCS/CSharp+Driver+Tutorial#CSharpDriverTutorial-Connectionstrings
How your particular application stores this connection string isn't defined by MongoDB. It doesn't use app.config unless your code uses it.
精彩评论