Raven Db
Description
Important Concepts
Configuration in DI (where to add)
// Infrastructure (example)
services.AddFlexRavenDocumentStore<TicketDocument>(configuration);appsettings.json
{
"FlexBase": {
"DataStores": {
"Document": {
"RavenDb": {
"Urls": ["https://raven1.company.local", "https://raven2.company.local"],
"DatabaseName": "{YourApplication}",
"CertificatePath": "<optional path>",
"CertificatePassword": "<optional password>",
"UseOptimisticConcurrency": true
}
}
}
}
}Examples (from the generated templates)
Query example (Get-by-id)
Provider-specific considerations
Last updated