Skip to content

Microservice Template — Architecture (agents)

Agent intent

Every file must land in a named ConnectSoft.{Product}.* project matching its layer. If you cannot name the layer, stop and read Solution structure on the public site.

Canonical: Architecture — public

Layer quick reference

Layer Contains Forbidden deps
DomainModel Entities, VO, domain events ORM, HTTP, ILogger
ApplicationModel Commands/queries, ports concrete DB
Application Host wiring piece
PersistenceModel.* NHibernate/Mongo maps leaking into Domain
ServiceModel.* REST/gRPC adapters domain leakage

Three-tier web DI (when ASP.NET)

Same as Base: Template ArchitectureApplicationModelRegistrationBaseMicroserviceRegistrationBaseproduct registration type.

Also read (agents)