1 / 17

C# Development mit MongoDB-CSharp

Steve Wagner Landau Media AG. C# Development mit MongoDB-CSharp. Agenda. Warum MongoDB in .Net nutzen MongoDB-CSharp Demos Fallstricke und Hinweise Weiterentwicklung Fragen und Antworten. Warum MongoDB in .Net nutzen. Sehr schnell Geringe Kosten Gute Skalierbarkeit

cicily
Télécharger la présentation

C# Development mit MongoDB-CSharp

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Steve Wagner Landau Media AG C# Development mitMongoDB-CSharp

  2. Agenda • Warum MongoDB in .Net nutzen • MongoDB-CSharp • Demos • Fallstricke und Hinweise • Weiterentwicklung • Fragen und Antworten

  3. Warum MongoDB in .Net nutzen • Sehr schnell • Geringe Kosten • Gute Skalierbarkeit • Einfacher Datenbankzugriff • Keine Schema • Kein Objekt Relationales Mapping • Objektbäume einfach zu kopieren

  4. MongoDB-CSharp • Erster .Net Treiber für MongoDB • Gestartet von Sam Corder • Großer Funktionsumfang • Ähnliches Interface wie der Mongo Client

  5. MongoDB-CSharp • Apache License • .Net Framework 3.5 • Stabile Version 0.82.2 • 0.90.0 Beta 1 verfügbar • Aktuell 594 UnitTests

  6. Funktionsumfang • CRUD • BSON Types • Connection Pooling • TypedCollections + Mapping • Linq • GirdFS • MapReduce

  7. Demos

  8. Demo - GettingStarted

  9. Demo - Dokumente abrufen

  10. Demo - Mit Dokumenten Arbeiten { name:"Steve", levels:[1,2,3,4], character: {alias:”lanwin”}, score:5154285 }

  11. Demo - Mit der Datenbank Arbeiten

  12. Demo - TypedCollections

  13. Demo - Linq

  14. Fallstricke und Hinweise • MongoDB unterstützt nur UTC Dates • MongoDB unterstützt kein Decimal/Currency • Lösungen in der Projekt FAQ • Nicht alle APIs in MongoDB-CSharp • Über Documents realisierbar

  15. Weiterentwicklung • ReplicaSetsupport(1.6 branch) • UnitOfWork / DataContextsupport • Change Tracking • Minor Updates • Json.Net • collection.Insert(JObject.Parse(„{a:1}“));

  16. Links • Projekt • http://github.com/mongodb-csharp/mongodb-csharp • http://groups.google.com/group/mongodb-csharp • Kontakt • wagner@landaumedia.de • http://www.lanwin.de/ • http://twitter.com/lanwin

  17. Fragen und Antworten

More Related