MongoDb Driver for Net

Source: Internet
Author: User
Tags mongodb driver

Since MongoDB Open source GitHub provides a relatively new net drive, from 2.3 and above are Netcore series, netframework at least 4.6, and the provided DLL is not signed,

This creates some problems.

1 NET Framework Issues

Our project is still in the older NET Framework era, and no Netcore,vs in the 2015sp3 level, the individual feel is still relatively new, of course, with 2017 can not compare, there are many historical reasons

2 DLL Strong naming problem

NET has a rule, if I am a strong naming program then the DLL referenced must also be strong-named, and vice versa, that is, I am a non-strong naming program referenced DLL does not involve a strong naming problem

3 based on the above questions

1) Fortunately MongoDB's net drive versions of the source code can be found and downloaded, so here we downgrade to netframework4.5, the corresponding version is 2. 2.4 https://github.com/mongodb/mongo-csharp-driver/releases

Download the source code to version 2.2.4

2) Signature

Open the source solution, then create the signature and compile the output DLL.

MongoDb Driver for Net

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.