python ruby-programming-language Smalltalk Vue.js Knockoutjs TypeScript JavaScript, OOPs JavaScript Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 4 Angular 2 AngularJs 1.x NodeJs Perl Programming R Programming RequireJs Rust Programming Backbonejs closure programming language go-programming-language kotlin-programming-language
3rd highest salary in sql server

mongodb with entity framework

Firstly I would like to introduce about mongodb, "MongoDB is the fastest growing database because it’s provided more security protection mechanisms than others and also more reliable in cloud computing environments. It is secure architecture for your deployment." 

And secondly, I would like to introduce about entity framework, “Entity Framework is an object relational mapping framework that is used to work with data as objects”. 

This is the code-first-approach to accessing database like SQL Server, Mongodb etc.
Finally, come to your question “mongodb with entity framework” steps to implement in your projects.

1.      Open Visual Studio and create a new Windows Form Application.
2.      Run the command prompt and install latest “Entity Framework” in the “Visual Studio” package manger console.
3.      And modify to connection string in the “App.config” file in the project and add the mongodb entity framework reference “providerName” in the connection string.

The example,

<connectionStrings>
  <add name="mongodbContext" connectionString="Offline=False;Server=serverName;Port=portno;Database=MyDBName;User=AnilPC;" providerName="System.Data.CData.MongoDB" />
</connectionStrings>









ANIL SINGH

Hi there! Welcome to my blog. My name is Anil Singh. I'm a author of this blog. For more detail about me, kindly refer to this link..
My Blogs - http://code-sample.com and http://code-sample.xyz
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
www.code-sample.com/. Powered by Blogger.
ASK Questions