judahgabriel / ravendb.dependencyinjection Goto Github PK
View Code? Open in Web Editor NEWDependency Injection extensions for using RavenDB with ASP.NET Core.
License: MIT License
Dependency Injection extensions for using RavenDB with ASP.NET Core.
License: MIT License
Using asp.net core 6. I added the RavenSettings section in the config file.
However, options.Settings is null in AddRavenDbDocStore's delegate.
Hi,
Thanks for the library.
I have a question about the certificate file.
On the server if the certificate is stored on Trusted windows store certificates doesn't the library pick it from there or if we could just give it a fingreprint of the certificate so we don't need to put the pfx password inside the appsettings.
Or you suggest then we do the certificate generation manually?
from this section.
https://github.com/JudahGabriel/RavenDB.DependencyInjection#manual-configuration
Currently, this library only supports scenarios where the certificate is located on the local file system.
The addition must include the ability to configure the certificate separately from RaveSettings
class. It should be flexible enough to create an instance of the IDocumentStore
.
Hi,
I've got a similar repo RavenDB.DependencyInjection that supports RavenDB 4. Would you accept a PR for this?
Alternately, if you're no longer maintaining this repo, could you transfer ownership of the RavenDB.DependencyInjection NuGet package to me?
I was just trying to use this with an Az function backend (.NET 5 isolated) and since this depends on web host abstractions, I get:
FailureException: System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Hosting.IHostingEnvironment' while attempting to activate 'Raven.DependencyInjection.RavenOptionsSetup'
For now I will workaround this by doing manual creation but this would be nice to support in the future!
How would I ensure all the indexes are loaded/created when the docstore initializes?
eg
IndexCreation.CreateIndexes(typeof(TYPEXX).Assembly, ?store?);
BTW
Nice piece of code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.