MarsonShine/MS.Microservice
49.2
Weak · 8 November 2026
46.7k
lines of production code
C#
primary language
5
measurements over time
What this system is
Features
Add core DTOs and functional Result pattern
This change introduces new data transfer objects and a functional programming core type to the microservice core library. It adds \PagedRequestDto\ and \PagedAndSortedRequestDto\ to standardize pagination parameters, along with a generic \PagedResultDto\<TResult\>\ for paginated responses. Additionally, it implements a \Result\<T\>\ type that replaces exception-based control flow with a railway-oriented programming model, allowing operations to return success or failure states that can be chained using \Map\ and \Bind\ methods. A simple \ResultDto\ is also added for standard API response wrapping.
src/MS.Microservice.Core/Dto · high confidence
Add feature toggle management via configuration
Introduces a new feature toggle system in the core library, allowing applications to enable or disable specific features based on configuration settings. The implementation includes a \FeatureToggleManager\ to query toggle states, an \IFeatureToggleProvider\ interface, and a \ConfigurationFeatureToggleProvider\ that reads boolean values from the application configuration under the \FeatureToggles\ section. Services are registered via a new \AddFeatureToggle\ extension method on \IServiceCollection\, making the toggle manager available for dependency injection.
src/MS.Microservice.Core/FeatureManager · high confidence
Added SingleflightManager to prevent duplicate concurrent operations
A new SingleflightManager class has been introduced in the core concurrent utilities to handle scenarios where multiple concurrent requests attempt to execute the same operation. This component ensures that only one request performs the actual work while others wait and share the result, thereby avoiding redundant computations and improving system resource efficiency.
src/MS.Microservice.Core/Concurrent · high confidence
Added shared document navigation layout
The default layout now includes a dedicated navigation section for pages within the docs directory. This adds a 'Document Navigation' bar showing links to the document center, the current topic's directory (if available), and the project home, along with a 'Continue Reading' list of sibling pages. Additionally, a pager at the bottom of the page provides 'Previous' and 'Next' links to navigate sequentially through the documentation.
_\layouts · high confidence
Initial repository structure and .NET 10 baseline
This change introduces the foundational structure for the MS.Microservice project, establishing a .NET 10.0 target framework with C\# 14.0 language features, nullable reference types, and implicit usings enabled. It includes a Dockerfile for containerized builds, a root solution file (MS.Microservice.slnx) organizing the modular architecture (AI, Logging, Messaging, Persistence, etc.), and comprehensive documentation covering architecture, getting started, and lab exercises. The repository is licensed under Apache 2.0 and sets up the build environment with global.json, nuget.config, and Directory.Build.props.
(repo-wide) · high confidence
Introduce Specification pattern for composable data queries
Added the Specification pattern implementation in the core library, providing a structured way to define complex queries with filtering, sorting, paging, and eager loading. The new files include the \ISpecification\ and \ISpecification\<T, TResult\>\ interfaces, a base \Specification\<T\>\ class with protected methods for \Where\, \OrWhere\, \Include\, \OrderBy\, and paging, and supporting types like \OrderExpression\ and \ExpressionCombiner\ for combining criteria. This allows developers to build reusable, composable query definitions that can be applied across different data access layers.
src/MS.Microservice.Core/Specification · high confidence
Introduce core EventBus infrastructure for event publishing and subscription
This change adds the foundational components for the event bus system within the core library. It introduces the IEventBus interface and EventBusManager implementation, enabling services to subscribe to specific event types via IEventHandler and publish events asynchronously. The IEvent interface is also added as a legacy alias that extends Messaging.IIntegrationEvent, ensuring compatibility with existing integration contracts while providing a local abstraction for event handling.
src/MS.Microservice.Core/EventBus · high confidence
Introduce modular AI microservice with provider support and question generation harness
The MS.Microservice.AI module is now available as a standalone, independently browsable family of projects, providing provider-neutral contracts for chat, TTS, ASR, image generation, and image editing. It includes concrete provider implementations for OpenAI, DeepSeek, and Qwen (including reference-image editing), a structured question-generation harness with validation and repair capabilities, and an educational image prompt pipeline. Users can register these capabilities via DI and configure providers with specific API keys, timeouts, and concurrency limits.
MS.Microservice.AI · high confidence
Introduce reusable MS.Microservice.Swagger package for ASP.NET Core
This change adds the MS.Microservice.Swagger package, which extracts Swagger and OpenAPI integration into a standalone, reusable component. It provides \AddPlatformSwagger\ for service collection configuration and \UsePlatformSwagger\ for middleware wiring, allowing developers to enable Swagger UI, configure document metadata (title, version, name), set route prefixes, and enable bearer security definitions. The package also supports XML comment inclusion via a configurable file path and custom JavaScript injection, replacing previous in-app implementations with a more testable and flexible design.
src/MS.Microservice.Swagger · high confidence
Introduces core domain abstractions and repository interfaces
The domain layer now includes foundational infrastructure for data persistence and entity management. This adds an abstract DomainService with UnitOfWork access, an EntityHelper for robust equality and key comparison (including EF Core workarounds), and a set of repository interfaces (IRepository, IBasicRepository, IQueryRepository) alongside their base implementation (BasicRepositoryBase). It also defines the IUnitOfWork interface and extension methods that wrap persistence operations in functional Result/Either types for structured error handling.
src/MS.Microservice.Core/Domain · high confidence
Introduces laboratory domain models and event-sourcing infrastructure
This change adds the core domain layer for the laboratory sample, including identity aggregates (User, Role, Action) with password hashing and JWT claim generation, an event-sourced Order aggregate with state management, and logging aggregates. It also introduces durable inbox and outbox message models for reliable messaging, domain event abstractions (IHasDomainEvents, IDomainEventDispatcher), and a specific permission constant for messaging operations.
samples/Lab/MS.Microservice.Lab.Domain · high confidence
Introduction of Event Sourcing Abstractions
The EventSourcingAbstractions file introduces core interfaces and types for the event sourcing infrastructure, including IEventStore for stream operations, ISnapshotStore for state management, and IProjectionCheckpointStore for tracking read model positions. It also defines the EventEnvelope and AggregateSnapshot records along with the EventStoreConcurrencyException to handle optimistic concurrency conflicts.
MS.Microservice.EventSourcing · high confidence
New HttpClient extension methods for simplified JSON API calls
Added HttpClientExtensions in the MS.WebHttpClient namespace, providing GetAsync methods that accept an object body to automatically build query strings and deserialize JSON responses. This simplifies making HTTP GET requests with parameters by handling query string construction and JSON deserialization internally.
src/MS.Microservice.Core/Http · high confidence
New JSON serialization converters and default settings
The serialization module now includes custom JSON converters for handling DateTimeOffset values (with fixed UTC+8 offset and local time formatting), phone number desensitization (masking middle digits), and string-to-long conversion (supporting both string and number JSON tokens). Additionally, a new default serialization configuration is provided, enabling case-insensitive property matching, camel-case naming, and comprehensive Unicode (including Chinese character) encoding support.
src/MS.Microservice.Core/Serialization · high confidence
New LINQ predicate composition and conditional filtering utilities
The Linq module now includes new types and extension methods to simplify building complex query predicates. ExpressionStarter\<T\> provides a fluent API for chaining And/Or conditions with support for default expressions and implicit conversion to standard LINQ expressions. PredicateBuilder offers static factory methods and extension methods (Or, And, Not, Extend) to combine expression trees safely, handling parameter rebinding. Additionally, QueryableExtensions adds a WhereIf method that conditionally applies a filter to an IQueryable based on a boolean condition, allowing cleaner query construction without explicit if-else blocks.
src/MS.Microservice.Core/Linq · high confidence
New build tooling for local development, module packaging, and consumption validation
The build system now includes a comprehensive set of PowerShell scripts to streamline local development and module distribution. Developers can use \start-local.ps1\ to spin up an isolated local environment with PostgreSQL, RabbitMQ, and Keycloak, supporting both 'SelfManaged' and 'Wolverine' messaging providers, as well as a dedicated 'Lab' mode for independent messaging experiments. The \pack-modules.ps1\ and \export-modules.ps1\ scripts allow for the creation of NuGet packages and source exports for specific module families, while \validate-module-consumption.ps1\ ensures these packages can be successfully consumed by verifying standalone source exports and local package consumers. Additionally, \container-smoke-test.ps1\ provides a way to validate the application's health within a Docker container, and \MessagingConsumer.cs\ offers a programmatic verification of commit, rollback, and duplicate-consumption checks for independent business contexts.
build · high confidence
New extension methods for collections, strings, dates, and functional results
The core library now includes a suite of new extension methods across several types. For collections, you can use \Shuffle\, \IntersectBy\, \ToDistinctDictionary\, and \OrderByReference\ on \IEnumerable\ and \ICollection\ types, along with \Flatten\ for hierarchical data traversal. String handling is enhanced with \IsNullOrEmpty\, \IsNullOrWhiteSpace\, and \ReadAsByte\. Date and time conversions are simplified with \ToLocalTimeMilliseconds\, \ToLocalTimeSeconds\, \FromUnixTimeMilliseconds\, and \FromUnixTimeSeconds\. Additionally, functional programming is supported with \Result\ extensions like \Try\, \TryAsync\, \Ensure\, \MapTry\, and \BindAsync\, as well as reactive extensions for \IObservable\ such as \Trace\, \Partition\, and \Safety\.
src/MS.Microservice.Core/Extension · high confidence
New extension methods for reference-equality immutable dictionaries
Added IEnumerableExtensions to provide new methods for creating ImmutableDictionary instances that use reference equality for keys. The new file includes ToImmutableReferenceDictionary overloads for both IEnumerable and IDictionary sources, allowing users to group items by object identity rather than value equality, as well as a ToImmutableOrdinalDictionary for string-keyed collections using ordinal string comparison.
src/MS.Microservice.Core/Extension/Immutable · high confidence
New functional programming core library with data structures and error handling
The \src/MS.Microservice.Core/Functional\ area now provides a comprehensive functional programming toolkit. This includes core types like \Option\ (with \Some\/\None\), \Either\ (for success/error branching), and \Exceptional\ (wrapping exceptions), along with their respective extension methods for \Map\, \Bind\, and \Match\. The library also introduces immutable data structures such as \BinaryTree\, \Bst\, \LabelTree\, and a custom \List\ (linked list) with functional operations like \Map\, \Bind\, and \Aggregate\. Additionally, it offers utility extensions for \Action\, \Func\, and \IEnumerable\ to support currying, partial application, and functional traversal patterns.
src/MS.Microservice.Core/Functional · high confidence
New provider-neutral AI abstractions for chat, speech, and image capabilities
The MS.Microservice.AI.Abstractions module now exposes a comprehensive, provider-neutral contract for five AI capabilities: Chat, Text-to-Speech (TTS), Automatic Speech Recognition (ASR), Image Generation, and Image Editing. This introduces strongly typed request and response records (e.g., AIChatRequest, AIAsrRequest, AIImageGenerationRequest) alongside dedicated client interfaces (IAIChatClient, IAIAsrClient, etc.) and provider interfaces (IAIChatProvider, etc.) that enable scenario-based model resolution. To support production readiness, the module also defines core infrastructure abstractions including a structured exception hierarchy (AIException, AIRateLimitException, AIContentSafetyException) with canonical error codes, production policies for rate limiting (IAIRateLimiter), circuit breaking (IAICircuitBreaker), log sanitization (IAILogSanitizer), and secret management (IAISecretProvider), as well as usage tracking via IAICostReporter.
MS.Microservice.AI/src/MS.Microservice.AI.Core · high confidence
New utility classes for resource management, numeric operations, and reference handling
This update introduces three new utility components to the core library. DisposableStack provides a stack-based mechanism for managing IDisposable objects, automatically releasing them in last-in-first-out order when disposed. MathExtensions adds generic extension methods for numeric types (supporting IFloatingPoint, INumber, and related interfaces), enabling operations like Round, Ceiling, Floor, Abs, Min, Max, Clamp, Pow, Sqrt, Log, and trigonometric functions. StrongToWeakReference offers a wrapper around WeakReference that allows toggling between strong and weak references, useful for caching scenarios where objects should be kept alive temporarily but can be collected if memory pressure increases.
src/MS.Microservice.Core/Microsoft · high confidence
Behavioural changes
1 commit (0 fixes) modifying MS.Microservice.AspNetCore
A change to existing behaviour in MS.Microservice.AspNetCore — 1 commit, 1 file: “refactor(aspnetcore): share existing upload validation”.
MS.Microservice.AspNetCore · low confidence · unverified
1 commit (0 fixes) modifying MS.Microservice.Search, benchmarks/MS.Microservice.Search.Benchmarks, src/MS.Microservice.Search
A change to existing behaviour in MS.Microservice.Search, benchmarks/MS.Microservice.Search.Benchmarks, src/MS.Microservice.Search — 1 commit, 7 files: “feat(search): add persistent scoped filename path and full text search”.
MS.Microservice.Search, benchmarks/MS.Microservice.Search.Benchmarks, src/MS.Microservice.Search · medium confidence · unverified
1 commit (0 fixes) modifying benchmarks/MS.Microservice.AI.Benchmarks
A change to existing behaviour in benchmarks/MS.Microservice.AI.Benchmarks — 1 commit, 1 file: “perf(ai): replace DeepSeek provider reflection”.
benchmarks/MS.Microservice.AI.Benchmarks · medium confidence · unverified
1 commit (0 fixes) modifying benchmarks/MS.Microservice.AspNetCore.Benchmarks
A change to existing behaviour in benchmarks/MS.Microservice.AspNetCore.Benchmarks — 1 commit, 1 file: “perf(aspnetcore): reduce permission check allocations”.
benchmarks/MS.Microservice.AspNetCore.Benchmarks · medium confidence · unverified
1 commit (0 fixes) modifying benchmarks/MS.Microservice.Audio.Benchmarks
A change to existing behaviour in benchmarks/MS.Microservice.Audio.Benchmarks — 1 commit, 1 file: “perf(audio): avoid allocations in format detection”.
benchmarks/MS.Microservice.Audio.Benchmarks · medium confidence · unverified
1 commit (0 fixes) modifying benchmarks/MS.Microservice.Core.HttpLogging.Benchmarks
A change to existing behaviour in benchmarks/MS.Microservice.Core.HttpLogging.Benchmarks — 1 commit, 2 files: “refactor(core)!: use built-in HTTP content buffering”.
benchmarks/MS.Microservice.Core.HttpLogging.Benchmarks · medium confidence · unverified
1 commit (0 fixes) modifying benchmarks/MS.Microservice.Observability.Benchmarks
A change to existing behaviour in benchmarks/MS.Microservice.Observability.Benchmarks — 1 commit, 1 file: “perf(observability): reuse outcome metric tags”.
benchmarks/MS.Microservice.Observability.Benchmarks · medium confidence · unverified
1 commit (0 fixes) modifying samples/Reference/MS.Microservice.Reference.DatabaseMigrator
A change to existing behaviour in samples/Reference/MS.Microservice.Reference.DatabaseMigrator — 1 commit, 2 files: “feat(reference): export and explicitly apply provider-specific migration artifacts”.
samples/Reference/MS.Microservice.Reference.DatabaseMigrator · medium confidence · unverified
1 commit (0 fixes) modifying src/MS.Microservice.HealthChecks.Redis
A change to existing behaviour in src/MS.Microservice.HealthChecks.Redis — 1 commit, 2 files: “feat(health): add opt-in Redis PING probe”.
src/MS.Microservice.HealthChecks.Redis · medium confidence · unverified
1 commit (0 fixes) modifying src/MS.Microservice.Storage.S3
A change to existing behaviour in src/MS.Microservice.Storage.S3 — 1 commit, 4 files: “feat(storage): add conditional S3 file storage and signed downloads”.
src/MS.Microservice.Storage.S3 · medium confidence · unverified
10 commits (2 fixes) modifying MS.Microservice.Logging
A change to existing behaviour in MS.Microservice.Logging — 10 commits (2 fixs), 28 files: “fix(logging): expire request context across child flows”; “perf(logging): remove request scope wrapper allocation”; “refactor(layout): restore independently browsable module families”; and 7 more.
MS.Microservice.Logging · medium confidence · unverified
10 commits (3 fixes) modifying samples/Lab/MS.Microservice.Lab/Infrastructure
A change to existing behaviour in samples/Lab/MS.Microservice.Lab/Infrastructure — 10 commits (3 fixs), 30 files: “refactor(core): extract atomic local stream storage”; “refactor(samples): physically separate laboratory host from production reference”; “fix(lab): define explicit token issuance and compatible validation trust”; and 7 more.
samples/Lab/MS.Microservice.Lab/Infrastructure · medium confidence · unverified
11 commits (0 fixes) modifying MS.Microservice.Media/src/MS.Microservice.Media.Inference
A change to existing behaviour in MS.Microservice.Media/src/MS.Microservice.Media.Inference — 11 commits, 35 files: “docs(tools): separate usage guides from implementation details”; “feat(media): recognize ruled table grids with unique OCR cell assignments”; “docs(media): explain Swin2SR inference concepts and data flow”; and 8 more.
MS.Microservice.Media/src/MS.Microservice.Media.Inference · medium confidence · unverified
13 commits (4 fixes) modifying samples/Lab/MS.Microservice.Lab/Hosting
A change to existing behaviour in samples/Lab/MS.Microservice.Lab/Hosting — 13 commits (4 fixs), 2 files: “fix(crypto)!: replace legacy symmetric encryption with AES-GCM”; “refactor(samples): physically separate laboratory host from production reference”; “fix(logging): record final HTTP outcomes”; and 10 more.
samples/Lab/MS.Microservice.Lab/Hosting · medium confidence · unverified
14 commits (3 fixes) modifying samples/Lab/MS.Microservice.Lab/Application
A change to existing behaviour in samples/Lab/MS.Microservice.Lab/Application — 14 commits (3 fixs), 61 files: “refactor(samples): physically separate laboratory host from production reference”; “fix(lab): define explicit token issuance and compatible validation trust”; “feat(lab): mount the reusable task dashboard with existing identity and scheduler”; and 11 more.
samples/Lab/MS.Microservice.Lab/Application · medium confidence · unverified
16 commits (3 fixes) modifying samples/Reference/MS.Microservice.Reference.Web
A change to existing behaviour in samples/Reference/MS.Microservice.Reference.Web — 16 commits (3 fixs), 18 files: “refactor(auth): move reference policies to composition root”; “feat(reference): share HTTP idempotency execution across endpoints”; “refactor(reference): resolve idempotency actor once per host”; and 13 more.
samples/Reference/MS.Microservice.Reference.Web · medium confidence · unverified
16 commits (4 fixes) modifying src/MS.Microservice.AspNetCore
A change to existing behaviour in src/MS.Microservice.AspNetCore — 16 commits (4 fixs), 8 files: “refactor(auth): move reference policies to composition root”; “perf(aspnetcore): reduce permission check allocations”; “docs(tools): separate usage guides from implementation details”; and 13 more.
src/MS.Microservice.AspNetCore · medium confidence · unverified
17 commits (0 fixes) modifying MS.Microservice.Media
A change to existing behaviour in MS.Microservice.Media — 17 commits, 4 files: “docs(tools): separate usage guides from implementation details”; “feat(media): recognize ruled table grids with unique OCR cell assignments”; “feat(media): remove image backgrounds with verified memory-aware local inference”; and 14 more.
MS.Microservice.Media · medium confidence · unverified
2 commits (0 fixes) modifying benchmarks/MS.Microservice.Framework.Benchmarks
A change to existing behaviour in benchmarks/MS.Microservice.Framework.Benchmarks — 2 commits, 4 files: “perf(framework): record caching and sensitive output overhead”; “perf(caching): measure Redis L1 overhead and real L2 reads”.
benchmarks/MS.Microservice.Framework.Benchmarks · medium confidence · unverified
2 commits (0 fixes) modifying samples/Reference/MS.Microservice.Reference.Application
A change to existing behaviour in samples/Reference/MS.Microservice.Reference.Application — 2 commits, 6 files: “feat(reference): persist owned orders in both providers”; “feat(reference): express profile workflows through portable messaging contracts”.
samples/Reference/MS.Microservice.Reference.Application · medium confidence · unverified
2 commits (0 fixes) modifying samples/Reference/MS.Microservice.Reference.Domain
A change to existing behaviour in samples/Reference/MS.Microservice.Reference.Domain — 2 commits, 4 files: “feat(reference): persist owned orders in both providers”; “feat(reference): model external identity profiles and auditable changes”.
samples/Reference/MS.Microservice.Reference.Domain · medium confidence · unverified
2 commits (0 fixes) modifying src
A change to existing behaviour in src — 2 commits, 1 file: “feat: add eventbus basic feature”; “feat: 重构微服务框架结构”.
src · medium confidence · unverified
2 commits (0 fixes) modifying src/MS.Microservice.Caching.Redis
A change to existing behaviour in src/MS.Microservice.Caching.Redis — 2 commits, 3 files: “feat(caching): add optional native Redis L2 adapter”; “perf(caching): measure Redis L1 overhead and real L2 reads”.
src/MS.Microservice.Caching.Redis · medium confidence · unverified
2 commits (0 fixes) modifying src/MS.Microservice.Core/Auditing
A change to existing behaviour in src/MS.Microservice.Core/Auditing — 2 commits, 1 file: “perf(auditing): use ordered identifiers and record PostgreSQL overhead”; “feat(auditing): capture declared entity changes in the business transaction”.
src/MS.Microservice.Core/Auditing · medium confidence · unverified
2 commits (0 fixes) modifying src/MS.Microservice.Core/Security/SensitiveData
A change to existing behaviour in src/MS.Microservice.Core/Security/SensitiveData — 2 commits, 3 files: “feat(auditing): protect sensitive changes and demonstrate safe Lab outputs”; “feat(security): protect classified values before JSON logs and exports”.
src/MS.Microservice.Core/Security/SensitiveData · medium confidence · unverified
2 commits (0 fixes) modifying src/MS.Microservice.Http.Resilience
A change to existing behaviour in src/MS.Microservice.Http.Resilience — 2 commits, 2 files: “feat(http): add opt-in outbound resilience”; “docs: record concrete module follow-ups and boundaries”.
src/MS.Microservice.Http.Resilience · medium confidence · unverified
2 commits (1 fix) modifying src/MS.Microservice.AspNetCore.Encryption
A change to existing behaviour in src/MS.Microservice.AspNetCore.Encryption — 2 commits (1 fix), 9 files: “docs: explain ZeroMemory tradeoffs for managed buffers”; “fix(aot): isolate encrypted MVC binder from base host”.
src/MS.Microservice.AspNetCore.Encryption · medium confidence · unverified
2 commits (1 fix) modifying src/MS.Microservice.Processes
A change to existing behaviour in src/MS.Microservice.Processes — 2 commits (1 fix), 2 files: “fix(processes): preserve infinite timeout and validate cleanup deadlines”; “feat(processes): extract reusable process runner”.
src/MS.Microservice.Processes · medium confidence · unverified
24 commits (6 fixes) modifying samples/Lab/MS.Microservice.Lab
A change to existing behaviour in samples/Lab/MS.Microservice.Lab — 24 commits (6 fixs), 6 files: “fix(crypto)!: replace legacy symmetric encryption with AES-GCM”; “refactor(samples): physically separate laboratory host from production reference”; “refactor(tasks): align module layout with Logging”; and 21 more.
samples/Lab/MS.Microservice.Lab · medium confidence · unverified
27 commits (4 fixes) modifying samples/Lab/MS.Microservice.Lab/Controller
A change to existing behaviour in samples/Lab/MS.Microservice.Lab/Controller — 27 commits (4 fixs), 29 files: “fix(crypto)!: replace legacy symmetric encryption with AES-GCM”; “feat(lab): demonstrate spreadsheet and CSV workflows”; “feat(lab): demonstrate audio editing mixing and transcoding”; and 24 more.
samples/Lab/MS.Microservice.Lab/Controller · medium confidence · unverified
27 commits (8 fixes) modifying src/MS.Microservice.Core
A change to existing behaviour in src/MS.Microservice.Core — 27 commits (8 fixs), 5 files: “refactor: 开启 null 检查,升级 .netcore3.1 移除Microsoft.AspNetCore.\* 3.0 以下的库 详情见:https://www.cnblogs.com/stulzq/p/11497624.html”; “fix: refactor rename file add embbedresource helper;”; “docs(tools): separate usage guides from implementation details”; and 24 more.
src/MS.Microservice.Core · medium confidence · unverified
3 commits (0 fixes) modifying MS.Microservice.AI/src/MS.Microservice.AI.QuestionGeneration
A change to existing behaviour in MS.Microservice.AI/src/MS.Microservice.AI.QuestionGeneration — 3 commits, 15 files: “docs: 移除模块来源及架构解析相关说明”; “refactor(layout): restore independently browsable module families”; “feat: 新增题目生成Harness及结构化输出能力”.
MS.Microservice.AI/src/MS.Microservice.AI.QuestionGeneration · medium confidence · unverified
3 commits (0 fixes) modifying samples/Reference/MS.Microservice.Reference.Persistence
A change to existing behaviour in samples/Reference/MS.Microservice.Reference.Persistence — 3 commits, 19 files: “feat(reference): persist owned orders in both providers”; “feat(reference): add idempotency migrations for both providers”; “feat(reference): persist profiles with separate provider migration baselines”.
samples/Reference/MS.Microservice.Reference.Persistence · medium confidence · unverified
3 commits (0 fixes) modifying src/MS.Microservice.Core/Security/Summary
A change to existing behaviour in src/MS.Microservice.Core/Security/Summary — 3 commits, 2 files: “feat: .net5 升级到 .net7 background 并发队列最佳实践 demo”; “feat: 重构微服务框架结构”; “opt: md5 perf opts”.
src/MS.Microservice.Core/Security/Summary · medium confidence · unverified
3 commits (0 fixes) modifying src/MS.Microservice.Core/Text
A change to existing behaviour in src/MS.Microservice.Core/Text — 3 commits, 2 files: “feat(core): add text diff encoding conversion and JSON formatting”; “docs: add user explanations for audio and core utilities”; “docs(tools): shorten XML summaries and align media usage contracts”.
src/MS.Microservice.Core/Text · medium confidence · unverified
3 commits (1 fix) modifying MS.Microservice.Tasks
A change to existing behaviour in MS.Microservice.Tasks — 3 commits (1 fix), 37 files: “fix(tasks): reconcile failed terminal state writes online”; “refactor(tasks): align module layout with Logging”; “feat(tasks): add bounded terminal job retention cleanup”.
MS.Microservice.Tasks · medium confidence · unverified
3 commits (1 fix) modifying src/MS.Microservice.Documents.Rendering
A change to existing behaviour in src/MS.Microservice.Documents.Rendering — 3 commits (1 fix), 16 files: “feat(documents): convert supported DOCX to PDF in an owned Windows process job”; “fix(rendering): launch workers with the consumer dependency and framework metadata”; “feat(documents): render bounded static HTML in an owned Windows browser job”.
src/MS.Microservice.Documents.Rendering · medium confidence · unverified
3 commits (1 fix) modifying src/MS.Microservice.Threading
A change to existing behaviour in src/MS.Microservice.Threading — 3 commits (1 fix), 4 files: “fix(threading): migrate Singleflight with safe shared completion”; “feat(threading): add semaphore leases and integrate AI concurrency”; “feat(threading): add bounded batch processing”.
src/MS.Microservice.Threading · medium confidence · unverified
4 commits (0 fixes) modifying src/MS.Microservice.Notifications
A change to existing behaviour in src/MS.Microservice.Notifications — 4 commits, 13 files: “docs(tools): separate usage guides from implementation details”; “feat(notifications): persist owner-scoped local inbox and read receipts”; “feat(notifications): submit template SMS with verified request deadlines”; and 1 more.
src/MS.Microservice.Notifications · medium confidence · unverified
4 commits (0 fixes) modifying src/MS.Microservice.Observability
A change to existing behaviour in src/MS.Microservice.Observability — 4 commits, 5 files: “refactor(infrastructure): extract observability package”; “docs(caching): explain monitoring tradeoffs and wire metric collection”; “feat(observability): collect messaging outcomes backlog and scoped diagnostics”; and 1 more.
src/MS.Microservice.Observability · medium confidence · unverified
4 commits (1 fix) modifying MS.Microservice.Media/src/MS.Microservice.Media/Images
A change to existing behaviour in MS.Microservice.Media/src/MS.Microservice.Media/Images — 4 commits (1 fix), 5 files: “feat(media): add bounded image transforms and format conversion”; “feat(media): compose opaque backgrounds across image output formats”; “fix(media): size text watermarks from positioned glyph bounds”; and 1 more.
MS.Microservice.Media/src/MS.Microservice.Media/Images · medium confidence · unverified
4 commits (2 fixes) modifying MS.Microservice.Core
A change to existing behaviour in MS.Microservice.Core — 4 commits (2 fixs), 2 files: “feat: use either for structured user create errors”; “fix(api): standardize problem details responses”; “函数式验证与柯里化重构,支持错误聚合”; and 1 more.
MS.Microservice.Core · medium confidence · unverified
5 commits (0 fixes) modifying src/MS.Microservice.Caching
A change to existing behaviour in src/MS.Microservice.Caching — 5 commits, 5 files: “feat(caching): add optional native Redis L2 adapter”; “docs(caching): explain monitoring tradeoffs and wire metric collection”; “feat(caching): govern typed cache keys policies and source load budgets”; and 2 more.
src/MS.Microservice.Caching · medium confidence · unverified
5 commits (1 fix) modifying MS.Microservice.AI/src/MS.Microservice.AI.DeepSeek
A change to existing behaviour in MS.Microservice.AI/src/MS.Microservice.AI.DeepSeek — 5 commits (1 fix), 4 files: “perf(ai): replace DeepSeek provider reflection”; “refactor(layout): restore independently browsable module families”; “fix(ai): share provider concurrency across capabilities”; and 2 more.
MS.Microservice.AI/src/MS.Microservice.AI.DeepSeek · medium confidence · unverified
6 commits (0 fixes) modifying MS.Microservice.Media/src/MS.Microservice.Media/Video
A change to existing behaviour in MS.Microservice.Media/src/MS.Microservice.Media/Video — 6 commits, 11 files: “feat(media): add timed text and logo video watermarks”; “feat(media): inspect video metadata with cancellable FFmpeg processes”; “feat(media): trim transform and transcode local videos”; and 3 more.
MS.Microservice.Media/src/MS.Microservice.Media/Video · medium confidence · unverified
6 commits (0 fixes) modifying src/MS.Microservice.Documents
A change to existing behaviour in src/MS.Microservice.Documents — 6 commits, 14 files: “docs(tools): separate usage guides from implementation details”; “feat(documents): add bounded PDF tools with verified output protection”; “feat(documents): convert supported DOCX to PDF in an owned Windows process job”; and 3 more.
src/MS.Microservice.Documents · medium confidence · unverified
7 commits (0 fixes) modifying MS.Microservice.Persistence
A change to existing behaviour in MS.Microservice.Persistence — 7 commits, 43 files: “refactor(layout): restore independently browsable module families”; “docs(architecture): explain module boundaries reference service and design rationale”; “feat(auditing): protect sensitive changes and demonstrate safe Lab outputs”; and 4 more.
MS.Microservice.Persistence · medium confidence · unverified
7 commits (0 fixes) modifying src/MS.Microservice.Excel
A change to existing behaviour in src/MS.Microservice.Excel — 7 commits, 15 files: “docs(tools): separate usage guides from implementation details”; “refactor(infrastructure): extract excel package”; “refactor(excel): resolve read-model accessors through shared property accessors”; and 4 more.
src/MS.Microservice.Excel · medium confidence · unverified
7 commits (1 fix) modifying src/MS.Microservice.Core/IO
A change to existing behaviour in src/MS.Microservice.Core/IO — 7 commits (1 fix), 6 files: “refactor(core): extract atomic local stream storage”; “feat(core): add streaming file hashes and duplicate discovery”; “docs: add user explanations for audio and core utilities”; and 4 more.
src/MS.Microservice.Core/IO · medium confidence · unverified
7 commits (2 fixes) modifying MS.Microservice.Idempotency
A change to existing behaviour in MS.Microservice.Idempotency — 7 commits (2 fixs), 10 files: “feat(idempotency): add MVC action opt-in adapter”; “feat(reference): share HTTP idempotency execution across endpoints”; “feat(reference): apply current HTTP idempotency to orders”; and 4 more.
MS.Microservice.Idempotency · medium confidence · unverified
7 commits (3 fixes) modifying src/MS.Microservice.Core/Common/Advance
A change to existing behaviour in src/MS.Microservice.Core/Common/Advance — 7 commits (3 fixs), 12 files: “Add logging and improve robustness in RetryExecutor”; “fix(core): preserve retry contracts and honor caller cancellation”; “refactor(core): share retry execution with functional entry point”; and 4 more.
src/MS.Microservice.Core/Common/Advance · medium confidence · unverified
8 commits (0 fixes) modifying MS.Microservice.AI/src/MS.Microservice.AI.Abstractions
A change to existing behaviour in MS.Microservice.AI/src/MS.Microservice.AI.Abstractions — 8 commits, 39 files: “refactor(layout): restore independently browsable module families”; “feat: Implement AI production services including log sanitization, rate limiting, circuit breaking, and secret management”; “feat: Implement QwenImageEditProvider for multimodal image editing”; and 5 more.
MS.Microservice.AI/src/MS.Microservice.AI.Abstractions · medium confidence · unverified
8 commits (3 fixes) modifying src/MS.Microservice.Core/Net
A change to existing behaviour in src/MS.Microservice.Core/Net — 8 commits (3 fixs), 5 files: “fix(http): isolate request headers and preserve encoding and cancellation contracts”; “docs(architecture): explain module boundaries reference service and design rationale”; “refactor(core)!: use built-in HTTP content buffering”; and 5 more.
src/MS.Microservice.Core/Net · medium confidence · unverified
8 commits (4 fixes) modifying MS.Microservice.Messaging
A change to existing behaviour in MS.Microservice.Messaging — 8 commits (4 fixs), 84 files: “fix(messaging): claim outbox work when ready to publish”; “refactor(layout): restore independently browsable module families”; “fix(messaging): validate complete contract routing keys”; and 5 more.
MS.Microservice.Messaging · medium confidence · unverified
9 commits (1 fix) modifying src/MS.Microservice.Audio
A change to existing behaviour in src/MS.Microservice.Audio — 9 commits (1 fix), 11 files: “docs(tools): separate usage guides from implementation details”; “refactor(infrastructure): extract audio package”; “docs: add user explanations for audio and core utilities”; and 6 more.
src/MS.Microservice.Audio · medium confidence · unverified
Centralized JWT claim type constants
The Identity module now includes a dedicated JwtClaimTypes class that defines standard JWT claim keys (such as amr, id, platformId, nickname, phone, email, role, audience, issuer, userSource, and tenantId) as public constants, providing a single source of truth for claim names used across the service.
src/MS.Microservice.Core/Identity · high confidence
Compiled property accessors replace reflection for query string population
The reflection subsystem in the core microservice library now uses compiled delegates (via IL emission and expression trees) to read and write object properties, replacing the previous per-call reflection approach. This change introduces a strategy pattern with two implementations—IL-based (default) and expression-tree-based—managed by a central cache in PropertyAccessors. For users, this means that serializing object properties into query string parameters or similar collections is significantly faster and allocates less memory, as metadata discovery happens only once per type. The behavior remains consistent with the previous reflection-based logic, preserving property filtering (public, instance, non-indexed) and ordering.
src/MS.Microservice.Core/Reflection · high confidence
Educational image scenarios and Qwen adapter moved to samples
The educational image generation scenario code, including the Qwen reference-image edit adapter, has been extracted from the core AI library into the \samples/AI\ directory. This relocation moves the educational image pipeline components—such as the prompt builders, scene grouping agents, and visual plan validators—into a dedicated sample project, decoupling them from the main \MS.Microservice.AI.Core\ package while preserving the functionality for users who wish to implement educational image generation.
samples/AI · high confidence
Extracted domain primitives to a dedicated assembly with naming compatibility shims
Common domain contracts (IAggregateRoot, IEntity, ISoftDeleted, and auditor interfaces like ICreatedAt, IUpdatedAt, ICreator, IUpdater) have been moved from MS.Microservice.Core to the new MS.Microservice.Domain.Primitives assembly, allowing consumers to reference only these lightweight interfaces without pulling in the full Core or infrastructure dependencies. To preserve backward compatibility, the original types remain in the MS.Microservice.Core.Domain.Entity namespace, and spelling variants (IUpdator, ICreatorAndUpdator) are kept as obsolete compatibility shims that inherit from the corrected names (IUpdater, ICreatorAndUpdater), warning users to migrate to the new naming in a future major version.
src/MS.Microservice.Domain.Primitives · high confidence
Introduces canonical messaging contracts and stable message identity
The messaging layer now defines a standardized set of transport-independent header names (MessageId, TraceParent, CorrelationId, etc.) and a hierarchy of event interfaces (IEventContract, IDomainEvent, IIntegrationEvent). Integration events now inherit from a base IntegrationEvent class that enforces a stable, persistent Guid-based identity and creation timestamp, ensuring that message identity is preserved across retries and transport redeliveries.
src/MS.Microservice.Core/Messaging · high confidence
Lab persistence layer now uses EF Core with PostgreSQL and supports identity seeding
The lab persistence module has been refactored to use Entity Framework Core with a PostgreSQL (Npgsql) backend, replacing the previous SqlSugar implementation. This introduces a new \ActivationDbContext\ that manages identity entities (Users, Roles, Actions) and logging, along with dedicated entity configurations for inbox/outbox messaging. A new database migrator tool and seed script allow operators to initialize the \fz\_platform\_activation\ schema and create lab-specific operator and reader accounts via explicit commands, ensuring isolated exercise identities are provisioned only when requested.
samples/Lab/MS.Microservice.Lab.Persistence · high confidence
Laboratory infrastructure components moved and event-sourcing schema configured
The laboratory infrastructure assembly now hosts a suite of adapters and experiments, including a new CacheManager for thread-safe caching with operation logging, a PostgreSQL health check, and a baseline event-sourcing schema (event\_store, order\_read\_model, projection\_checkpoint, snapshots) with EF Core migrations. The event-sourcing DbContext is registered to use the 'event\_sourcing' schema for its migrations history table, and a design-time factory is provided for tooling. Several reusable components (caching, event-sourcing, health checks, middleware) have been relocated from the main infrastructure project to this laboratory location, with internal visibility updated to the lab test assembly.
samples/Lab/MS.Microservice.Lab.Infrastructure · high confidence
Fixes
1 commit (1 fix) fixing src/MS.Microservice.EventSourcing
A fix in src/MS.Microservice.EventSourcing — 1 commit (1 fix), 2 files: “fix(eventsourcing): bound projection batches and reuse tracked models”.
src/MS.Microservice.EventSourcing · medium confidence · unverified
11 commits (7 fixes) fixing src/MS.Microservice.Core/Security/Cryptology
A fix in src/MS.Microservice.Core/Security/Cryptology — 11 commits (7 fixs), 5 files: “fix(crypto)!: replace legacy symmetric encryption with AES-GCM”; “feat: .net5 升级到 .net7 background 并发队列最佳实践 demo”; “feat: 重构微服务框架结构”; and 8 more.
src/MS.Microservice.Core/Security/Cryptology · medium confidence · unverified
4 commits (3 fixes) fixing src/MS.Microservice.Core/Common
A fix in src/MS.Microservice.Core/Common — 4 commits (3 fixs), 4 files: “fix: number operation,\>\>,\>\>\>”; “fix: refactor rename file add embbedresource helper;”; “fix: mock implement git commit id”; and 1 more.
src/MS.Microservice.Core/Common · medium confidence · unverified
Test coverage
1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests; 1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests/BackgroundRemoval; 1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests/Ocr; 1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests/SuperResolution; 1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests/Tables; 1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests/WatermarkRemoval; 1 commit adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Tests/Codes; 1 commit adding/updating tests in test/MS.Microservice.AspNetCore.Tests/Uploads; 1 commit adding/updating tests in test/MS.Microservice.Caching.Redis.Tests; 1 commit adding/updating tests in test/MS.Microservice.Core.Tests/Dto, test/MS.Microservice.Core.Tests/Linq, test/MS.Microservice.Core.Tests/Microsoft; 1 commit adding/updating tests in test/MS.Microservice.Core.Tests/FeatureManager, test/MS.Microservice.Core.Tests/Specification; 1 commit adding/updating tests in test/MS.Microservice.HealthChecks.Redis.Tests; 1 commit adding/updating tests in test/MS.Microservice.Http.Resilience.Tests; 1 commit adding/updating tests in test/MS.Microservice.Search.Tests; 1 commit adding/updating tests in test/MS.Microservice.Storage.S3.Tests; 16 commits adding/updating tests in test/MS.Microservice.Reference.Web.Tests; 2 commits adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Inference.Tests/VideoWatermarkRemoval; 2 commits adding/updating tests in test/MS.Microservice.Caching.Tests; 2 commits adding/updating tests in test/MS.Microservice.Core.Tests/Coverage; 2 commits adding/updating tests in test/MS.Microservice.Core.Tests/Domain; 2 commits adding/updating tests in test/MS.Microservice.Core.Tests/Reflection; 2 commits adding/updating tests in test/MS.Microservice.Lab.Tests/Infrastructure; 2 commits adding/updating tests in test/MS.Microservice.Lab.Tests/Persistence; 2 commits adding/updating tests in test/MS.Microservice.Processes.Tests; 2 commits adding/updating tests in test/MS.Microservice.Reference.Domain.Tests; 23 commits adding/updating tests in test/MS.Microservice.Lab.Tests/Tools; 3 commits adding/updating tests in test/MS.Microservice.Core.Tests; 3 commits adding/updating tests in test/MS.Microservice.Documents.Rendering.Tests; 3 commits adding/updating tests in test/MS.Microservice.Documents.Tests; 3 commits adding/updating tests in test/MS.Microservice.Notifications.Tests; 3 commits adding/updating tests in test/MS.Microservice.Reference.Persistence.Tests; 3 commits adding/updating tests in test/MS.Microservice.Threading.Tests; 4 commits adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Tests/Images; 4 commits adding/updating tests in test/MS.Microservice.Core.Tests/Concurrent; 4 commits adding/updating tests in test/MS.Microservice.Core.Tests/Security; 4 commits adding/updating tests in test/MS.Microservice.Core.Tests/Serialization; 5 commits adding/updating tests in test/MS.Microservice.Audio.Tests; 5 commits adding/updating tests in test/MS.Microservice.Core.Tests/IO; 5 commits adding/updating tests in test/MS.Microservice.Excel.Tests; 6 commits adding/updating tests in MS.Microservice.AI/test/MS.Microservice.AI.DeepSeek.Tests; 6 commits adding/updating tests in MS.Microservice.Media/test/MS.Microservice.Media.Tests/Video; 6 commits adding/updating tests in test/MS.Microservice.Architecture.Tests; 6 commits adding/updating tests in test/MS.Microservice.Core.Tests/Common/Advance; 7 commits adding/updating tests in MS.Microservice.AI/test/MS.Microservice.AI.OpenAI.Tests; 7 commits adding/updating tests in test/MS.Microservice.Core.Tests/Extensions; 7 commits adding/updating tests in test/MS.Microservice.Core.Tests/Net; 8 commits adding/updating tests in test/MS.Microservice.Core.Tests/Functional; 9 commits adding/updating tests in test/MS.Microservice.AspNetCore.Tests; 9 commits adding/updating tests in test/MS.Microservice.Core.Tests/Cryptology; 9 commits adding/updating tests in test/MS.Microservice.Lab.Tests/Core; Added tests for messaging telemetry, distributed tracing, and OpenTelemetry configuration; Added tests for migration command parsing and artifact export; Added unit tests for AI core infrastructure and provider integrations; Added unit tests for EducationalImages sample microservice; Added unit tests for EventBus and Swagger configuration; Added unit tests for ProfileService and audit handling.
Dependencies
132 commits updating dependencies (121 manifests)
A dependency / build maintenance change in (dependencies) — 132 commits (10 fixs), 121 files: “perf(ai): replace DeepSeek provider reflection”; “refactor: 开启 null 检查,升级 .netcore3.1 移除Microsoft.AspNetCore.\* 3.0 以下的库 详情见:https://www.cnblogs.com/stulzq/p/11497624.html”; “perf(aspnetcore): reduce permission check allocations”; and 129 more.
(dependencies) · high confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 49.
Lenses
- Code Health 72
- Architecture 85
- Maturity 84
- Readiness 45
- Security 80
- Domain Modelling 83
- Event-Driven 87
- Accessibility 42
- Performance 47
Changes since last survey
- 300 commits — 232 feature/other, 68 fixes
By area
- samples/Lab — 34 commits
- (root) — 22 commits
- samples/Reference — 19 commits
- src/MS.Microservice.Core — 19 commits
- src/MS.Microservice.Web — 17 commits
- docs/validation — 16 commits
- MS.Microservice.Media/src — 15 commits
- MS.Microservice.AI/src — 9 commits
- MS.Microservice.Persistence/MS.Microservice.Persistence.EFCore — 9 commits
- src/MS.Microservice.Messaging.SelfManaged.EFCore — 9 commits
- src/MS.Microservice.AspNetCore — 8 commits
- src/MS.Microservice.Audio — 7 commits
- src/MS.Microservice.Infrastructure — 7 commits
- (repo) — 5 commits
- src/MS.Microservice.Excel — 5 commits
- src/MS.Microservice.Messaging.Wolverine — 4 commits
- MS.Microservice.Idempotency/src — 3 commits
- MS.Microservice.Media/docs — 3 commits
- MS.Microservice.Messaging/src — 3 commits
- MS.Microservice.Tasks/src — 3 commits
Notable commits
- fix: fix(ai): enforce streaming deadlines and reject truncated completions
- fix: fix(ai): separate provider outcomes from reporting and stream abandonment
- fix: fix(ai): share provider concurrency across capabilities
- fix: fix(aot): isolate encrypted MVC binder from base host
- fix: fix(api): standardize problem details responses
- fix: fix(aspnetcore): exempt health probes from global traffic policies
- fix: fix(aspnetcore): hide internal application error details
- fix: fix(aspnetcore): restore encrypted MVC model binding
- fix: fix(audio): release readers on success and partial failure
- fix: fix(auth): correct authorization handler lifetime
- fix: fix(auth): deny unauthorized actions by default
- fix: fix(build): align SDK and restore the complete host graph
- fix: fix(build): include existing idempotency projects in Docker restore
- fix: fix(build): include threading project in Docker restore
- fix: fix(build): report only messaging checks actually run
- fix: fix(cache): complete cache manager operations
- fix: fix(cache): register compatible distributed cache
- fix: fix(container): restore and publish all project references
- fix: fix(core): bound exponential retry arithmetic and support long delays
- fix: fix(core): bound validated shuffle work
- …and 280 more
API surface
- 135 HTTP endpoints (baseline)
Architecture
- 4 containers · 8 bounded contexts · 7 dependency edges (baseline)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
MarsonShine/MS.Microservice was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit fca8208d104664765c246119e19c5a2c3047e0ce — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.