Cratis Arc.Core lightweight hosting
Cratis.Arc.Core lets a console application or worker expose commands and queries over HTTP without ASP.NET Core or an event store. Use ArcApplication, backed by .NET’s HttpListener, when you want Arc’s pipelines in a lightweight service.
Start with a working service
Section titled “Start with a working service”Follow getting started to create a console service and call its command and query with curl. If you need Kestrel, MVC, or ASP.NET middleware, read the host comparison before choosing a package. Core does not by itself guarantee performance or Native AOT compatibility; test those with your actual dependencies and publish configuration.
Topics
Section titled “Topics”- Overview — capabilities, boundaries, and host choice.
- Getting started — register, activate, and run.
- Endpoint mapping — manual GET/POST endpoints.
- Static files — public assets and SPA fallback.
- Authentication — trusted principals and forwarded-header prerequisites.
- Authorization — protect commands and queries with roles and policies.
- OpenAPI — built-in lightweight route documentation.
- Invariant culture — default culture configuration.
Shared features and optional integrations
Section titled “Shared features and optional integrations”The same service can use command validation, queries, identity details, and tenant context. Before deploying it, configure authentication and review configuration and discovery access defaults.
Add MongoDB or EF Core for persistence without requiring event sourcing. Add Chronicle only when you want its event log, projections, and integration behavior. These integrations have their own packages and setup requirements.