Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laget-se/laget.fingerprint.stores.mongo

MongoDB store implementation for laget.Fingerprint...
https://github.com/laget-se/laget.fingerprint.stores.mongo

fingerprint mongo nuget

Last synced: about 1 month ago
JSON representation

MongoDB store implementation for laget.Fingerprint...

Awesome Lists containing this project

README

        

# laget.Fingerprint.Stores.Mongo
MongoDB store implementation for laget.Fingerprint...

![Nuget](https://img.shields.io/nuget/v/laget.Fingerprint.Stores.Mongo)
![Nuget](https://img.shields.io/nuget/dt/laget.Fingerprint.Stores.Mongo)

## Configuration
> This example is shown using Autofac since this is the go-to IoC for us.
```c#
public class FingerprintModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register>(c =>
new FingerprintManager(new MongoStore(new MongoUrl(c.Resolve().GetConnectionString("MongoConnectionString"))))
).SingleInstance();
}
}
```