Use merkleized collections that maintain a Merkle root as they change: MerkleListAdapter in memory, and StreamMappedMerkleDictionary and StreamMappedMerkleHashSet with the tree stored beside the data.
Read article
Use merkleized collections that maintain a Merkle root as they change: MerkleListAdapter in memory, and StreamMappedMerkleDictionary and StreamMappedMerkleHashSet with the tree stored beside the data.
Read articleGenerate and verify Merkle proofs that a tree changed only by a stated append, update or delete, and consistency proofs between two sizes, using the IMerkleTree proof generators and MerkleMath verifiers.
Read article
Mark C# methods with RpcAPIService and RpcAPIMethod, register the instance with ApiServiceManager, and dispatch JSON-RPC requests by name with converted JSON arguments and coded errors.
Read articleWrap any Stream with Framework decorators: BoundedStream for a confined region, HashingStream for a digest while writing, EncryptedStream for length-preserving AES-CTR, read-only and non-closing views, and FragmentedStream over separate fragments.
Read article
Serve paged, searchable, editable data through IDataSource: read pages with ReadRange, validate and mutate with change notification, fetch on first read with ListDataSource, and replace whole data sets with the refreshable and polling decorators.
Read articleImplement a byte transport by deriving from ProtocolChannel, which owns the open and close lifecycle, the receive loop and the events, and run the same exchange over an in-memory channel and the UDP channel.
Read article
Build orderings and equality rules from member projections with ComparerBuilder and EqualityComparerBuilder, wrap any comparer with the inversion, projection and negation decorators, and use the content-based comparers for byte arrays and sequences.
Read articleDescribe filters and sorts as data with the Sphere10 Framework filter model: FilterBuilder creates a tree of conditions and groups, FilterCompiler turns it into a LINQ expression with operand conversion, and ApplyQuery filters, sorts and pages a sequence in one call.
Read article
Release resources with Sphere10 Framework scope values from Tools.Scope, covering custom finalizers, pooled buffers, stream positions, locks and temporary files, the synchronous and asynchronous disposal rules, and context scopes that let nested calls share one root.
Read articleShare one transaction across nested calls with Sphere10 Framework transactional scopes: the outermost scope owns the transaction, nested scopes join it, a nested rollback is a vote, and ActionTransactionalScope binds the pattern to your own transaction type.
Read article
Compose ILogger sinks and decorators in Sphere10 Framework: per-sink level filtering, prefix, timestamp and thread decorators, MulticastLogger fan-out, a size-limited RollingFileLogger and the application-wide SystemLog.
Read articleGive any file commit and rollback with TransactionalStream, which stages changed pages beside the file, and build a durable collection on it with TransactionalList.
Read article
Cache whole snapshots with BulkFetchActionCache and PreloadedCache, expire idle sessions with SessionCache, and place several caches under one capacity budget with PooledCacheReaper.
Read articleRun one-shot and recurring background jobs inside a .NET process with JobBuilder and Scheduler, including schedules, job status, error policies and type-based jobs.
Read article
Use ActionCache to fetch values on a miss and keep them under expiration, staleness and capacity policies, with batch reaping, pinned entries and removal events.
Read articleUse FileObjectSpace transactions in C#, covering how Save stages pages, what Commit and Rollback do to the file, why tracked objects must be reacquired after a rollback, and the transaction events.
Read article
Add Merkle trees to an ObjectSpace with Merkleized, covering how dimension roots feed the store root, how to read and compare a root, and what a matching root does and does not prove.
Read articleStore an ObjectSpace definition inside the file with StoreMetaData and reopen it from raw bytes with ObjectSpace.TryOpenFromStream, including what the metadata records and what the caller still supplies.
Read article
Build a file-backed ObjectSpace with ObjectSpaceBuilder: declare typed dimensions and indexes, save, fetch and delete objects, commit, and reopen the store with a compatible definition.
Read articleLook up stored objects through ObjectSpace member indexes, covering the identifier, unique and nonunique index kinds, group lookups that keep tracked identity, and how saves and deletes maintain the indexes.
Read article
Showing 161–180 of 205 articles