Comments (4)
Hi,
currently the MongoDbGenericRepository does not support this, but I am working on it ;)
In a few weeks when I have tested everything, I will release a new version of the MongoDbGenericRepository nuget package that will have this feature.
In the mean time you can always roll your own, by extending the repo and using the HandlePartitioned<TDocument,TKey>(partitionKey)
handler to get the collections in a generic fashion.
PS: The AspNetCore.Identity.MongoDbCore
package will never expose the index creation functionality in its interface. It is not its responsibility, however its dependency MongoDbGenericRepository
will however allow you to do that.
from aspnetcore.identity.mongodbcore.
This is now covered by the following release in MongoDbGenericRepository
:
https://github.com/alexandre-spieser/mongodb-generic-repository/releases/tag/1.3.8
The reference of the MongoDbGenericRepository
version has been updated in the latest release of this package.
Install-Package AspNetCore.Identity.MongoDbCore -Version 1.0.9
from aspnetcore.identity.mongodbcore.
Hi,
currently the MongoDbGenericRepository does not support this, but I am working on it ;)
In a few weeks when I have tested everything, I will release a new version of the MongoDbGenericRepository nuget package that will have this feature.
In the mean time you can always roll your own, by extending the repo and using the
HandlePartitioned<TDocument,TKey>(partitionKey)
handler to get the collections in a generic fashion.PS: The
AspNetCore.Identity.MongoDbCore
package will never expose the index creation functionality in its interface. It is not its responsibility, however its dependencyMongoDbGenericRepository
will however allow you to do that.
Please. Show me how i can extend repo and create index
from aspnetcore.identity.mongodbcore.
It's all in the docs.
https://github.com/alexandre-spieser/mongodb-generic-repository#index-management
from aspnetcore.identity.mongodbcore.
Related Issues (20)
- Unable to post Register using sample project. HOT 7
- Issues with the 3.1.0 version HOT 3
- Perfomance comparison to SQL databases
- Update Readme HOT 2
- Use of IMongoClient instead of MongoClient HOT 1
- Does this work with .net5? HOT 10
- Comparison with another implementation HOT 2
- Injecting SignInManager through DI causing issues when trying to resolve HOT 4
- Update MongoDb driver to 2.13 HOT 2
- Update (your own) MongoDbGenericRepository nuget to latest 1.4.7 HOT 2
- CollectionNames While Using Generics HOT 1
- Stores use a static IMongoRepository
- This work on .net6 HOT 4
- IDictionary<string, string> Properties missing on MongoClaim HOT 1
- explanation services.AddIdentity multi roles HOT 1
- Does this work with .net7 preview? HOT 1
- Is there a recommended approach to use with worker & console apps?
- How to set document in [users] collection save as camelCase
- Publish next NuGet version
- Login does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnetcore.identity.mongodbcore.