Comments (5)
Hi ttu,
only confusion i picked up was the following : - and it probably is me,...
If JSON Flat File Data Store is used with e.g. ASP.NET, add the DataStore to the DI container as a singleton. This way DataStore's internal state is correct and application does not have to rely on the state on the file as read operation is pretty slow. Reload can be triggered if needed.
Can you provide an example - or a definition for the DI container ?
regards
RobZ
from json-flatfile-datastore.
Hi,
Thanks for reading the documentation!
DI container is a short for Dependency Injection container.
You can read more from Microsoft’s docs:
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-2.1
So it seemed that besides that the text was mostly understandable and didn’t have noticeable typos?
from json-flatfile-datastore.
There is a small typo on line 77:
var counter = awaite store.GetItem<int>("counter");
from json-flatfile-datastore.
@richardversluis thanks!
from json-flatfile-datastore.
There has been already many people participating in the proofreading, so it is time to close this issue.
Thanks for all for help!
from json-flatfile-datastore.
Related Issues (20)
- Dynamic update of child items HOT 1
- Using DI with a console app should I inject as singelton or transient? HOT 2
- Index on property HOT 1
- Update function not working HOT 5
- Simple encryption support
- 看到这个我醉了
- No Timeout/Error on file inaccessibility HOT 1
- System.OperationCanceledException When Disposing DataStore HOT 7
- Synchronizing Async Methods HOT 2
- Providing My Own Primary Keys HOT 1
- No Iterator over Collections? HOT 2
- Minified or compact version of JSON possible? HOT 4
- How to get ToList() ? HOT 1
- Add Support for using a directory as the store, with each document within as a child
- Single Item last field gets duplicated on Replace (When upsert: true and field names in Datastore are in camel case) HOT 5
- Support filesystem abstraction HOT 1
- System.Text.Json HOT 2
- Update is not updating the json File HOT 6
- Error handling Guid in ObjectExtensions.AddDataToField HOT 1
- Weird NotFoundException on Debian 12
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 json-flatfile-datastore.