How allegorysoft/axiom works
Axiom is a modular .NET application framework: applications configure and initialize a host, then use framework services for cross-cutting concerns and domain infrastructure. The graph emphasizes the documented host-to-service setup and transaction workflow, with separate branches for event delivery, file/localization services, caching, and ASP.NET integrations. Edges are limited to relationships stated in the README or visible in excerpts; dashed edges indicate README-level or unverified wiring rather than inspected implementation calls.
Main entry points: EfCoreRepository.cs EF repository · HostExtensions.cs Host configuration · AssemblyDependencyRegistrar.cs Service discovery · ServiceInterceptorBinder.cs AOP interception
Components 19
Application platform
- Host configuration
framework/src/aspnetcore/Allegory.Axiom.AspNetCore.Abstractions/Allegory/Axiom/AspNetCore/HostExtensions.cs - Service discovery
framework/src/modularity/Allegory.Axiom.DependencyInjection.Abstractions/Allegory/Axiom/DependencyInjection/AssemblyDependencyRegistrar.cs - AOP interception
framework/src/interception/Allegory.Axiom.Interception/Allegory/Axiom/Interception/ServiceInterceptorBinder.cs
Transactions and data
- Unit of work manager
framework/src/unit-of-work/Allegory.Axiom.UnitOfWork/Allegory/Axiom/UnitOfWork/UnitOfWorkManager.cs - Transaction scope
framework/src/unit-of-work/Allegory.Axiom.UnitOfWork/Allegory/Axiom/UnitOfWork/UnitOfWork.cs - EF repository
framework/src/ef-core/Allegory.Axiom.EntityFrameworkCore/Allegory/Axiom/EntityFrameworkCore/Repositories/EfCoreRepository.cs - EF context provider
framework/src/ef-core/Allegory.Axiom.EntityFrameworkCore/Allegory/Axiom/EntityFrameworkCore/DbContext/DbContextProvider.cs - MongoDB provider
framework/src/ef-core/Allegory.Axiom.EntityFrameworkCore.MongoDB/Allegory/Axiom/EntityFrameworkCore/MongoDbContextProvider.cs - Filter primitives
framework/src/core/Allegory.Axiom.Filter/Allegory/Axiom/Filter/Concrete/Condition.cs
Event delivery
- Entity event mapping
framework/src/ddd/Allegory.Axiom.Domain/Allegory/Axiom/Domain/Entities/Events/EntityEventManager.cs - Local event handlers
framework/src/event-bus/Allegory.Axiom.EventBus/Allegory/Axiom/EventBus/Local/LocalEventHandlerManager.cs - Distributed event handlers
framework/src/event-bus/Allegory.Axiom.EventBus/Allegory/Axiom/EventBus/Distributed/DistributedEventHandlerManager.cs - RabbitMQ transport
framework/src/event-bus/Allegory.Axiom.EventBus.RabbitMQ/Allegory/Axiom/EventBus/RabbitMqDistributedEventBus.cs
Application services
- Virtual file system
framework/src/file-provider/Allegory.Axiom.FileProvider/Allegory/Axiom/FileProvider/FileProviderManager.cs - Localization
framework/src/localization/Allegory.Axiom.Localization/Allegory/Axiom/Localization/AxiomStringLocalizer.cs - Caching
framework/src/caching/Allegory.Axiom.Caching/Allegory/Axiom/Caching/Cache.cs - Redis cache adapter
framework/src/caching/Allegory.Axiom.Caching.Redis/Allegory/Axiom/Caching/CachingRedisPackage.cs - Exception handling
framework/src/aspnetcore/Allegory.Axiom.AspNetCore.ExceptionHandling/Allegory/Axiom/AspNetCore/ExceptionHandling/AxiomExceptionHandler.cs
Other components
- Application developer
Connections 14
- Application developer → Host configuration: configures host
- Host configuration → Service discovery: discovers services
- Service discovery → AOP interception: registers services
- AOP interception → Unit of work manager: wraps calls
- Unit of work manager → Transaction scope: creates scope
framework/src/unit-of-work/Allegory.Axiom.UnitOfWork/Allegory/Axiom/UnitOfWork/UnitOfWorkManager.cs - Transaction scope → EF repository: saves changes
framework/src/ef-core/Allegory.Axiom.EntityFrameworkCore/Allegory/Axiom/EntityFrameworkCore/Repositories/EfCoreRepository.cs - EF repository → EF context provider: gets context
framework/src/ef-core/Allegory.Axiom.EntityFrameworkCore/Allegory/Axiom/EntityFrameworkCore/Repositories/EfCoreRepository.cs - EF repository → MongoDB provider: uses provider
- Entity event mapping → Local event handlers: maps event options
framework/src/ddd/Allegory.Axiom.Domain/Allegory/Axiom/Domain/Entities/Events/EntityEventManager.cs - Distributed event handlers → RabbitMQ transport: uses transport
- Localization → Virtual file system: reads resources
- Caching → Redis cache adapter: uses backend
- EF repository → Filter primitives: applies filters
- Host configuration → Exception handling: configures integration