1

I am developing asp.net mvc web app with MongoDB as the data storage.

I want to know others opinion about what drivers to use.

Should I use C# drivers which is supported by community?

Or, should I go to use Javascript driver which is supported by Mongo. How stable is javascript driver?

Thanks in advance..

3 Answers 3

1

The C# driver is very close to being a 1.0 release and is now supported by 10Gen. Known bugs submitted to the JIRA Are usually fixed very quickly. There is also a very active discussion group which is closely monitored and will usually get your questions answered same day

I would say it is pretty safe to start using the C# driver in production if you are on .Net 3.0 or greater. You may still experience a few breaking changes until version 1.0 is reached but it is usually nothing major and there is always fair warning.

Sign up to request clarification or add additional context in comments.

Comments

1

I wouldn't use the JS driver client-side. It will open up your mongo server to potential hacks.

The official C# driver is very stable now. I tried some of the community drivers a while ago and they were too buggy to use.

http://www.mongodb.org/display/DOCS/CSharp+Language+Center

Comments

-1

To my mind I'd never use any JavaScript driver for a database connection. I'd always want to keep all my data access within the c# code and away from the UI.

1 Comment

Javascript can be run server side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.