Phema.MongoDB 3.0.0-preview3.0.0

MongoDB driver wapper for ASP.NET Core

This is a prerelease version of Phema.MongoDB.
Install-Package Phema.MongoDB -Version 3.0.0-preview3.0.0
dotnet add package Phema.MongoDB --version 3.0.0-preview3.0.0
<PackageReference Include="Phema.MongoDB" Version="3.0.0-preview3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Phema.MongoDB --version 3.0.0-preview3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Phema.MongoDB, 3.0.0-preview3.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Phema.MongoDB as a Cake Addin
#addin nuget:?package=Phema.MongoDB&version=3.0.0-preview3.0.0&prerelease

// Install Phema.MongoDB as a Cake Tool
#tool nuget:?package=Phema.MongoDB&version=3.0.0-preview3.0.0&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Phema.MongoDB

Nuget

C# MongoDB driver wapper for ASP.NET Core

Usage

// Add
services.AddMongoDB()
  .AddDatabase("database",
    options => options.AddCollection<Model>("models"));

// Get
var models = provider.GetRequiredService<IMongoCollection<Model>>();

// Use
await models.InsertOneAsync(...);

Phema.MongoDB

Nuget

C# MongoDB driver wapper for ASP.NET Core

Usage

// Add
services.AddMongoDB()
  .AddDatabase("database",
    options => options.AddCollection<Model>("models"));

// Get
var models = provider.GetRequiredService<IMongoCollection<Model>>();

// Use
await models.InsertOneAsync(...);

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0-preview3.0.0 178 3/30/2019