开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜