Update web docs for Infrastructure.Email move (#289)

This commit is contained in:
Aaron Po
2026-09-11 23:59:47 -04:00
committed by GitHub
parent de63e9f216
commit ce2c90070e
5 changed files with 8 additions and 10 deletions

View File

@@ -90,7 +90,7 @@ flowchart TB
direction LR
I1["Database.Connection"]
I3["Infrastructure.PasswordHashing"]
I4["Infrastructure.Email /<br/>Email.Templates"]
I4["Email.Templates"]
I5["Infrastructure.FileUpload"]
end
@@ -166,7 +166,7 @@ brewery photo upload command) rather than bound to an HTTP route directly.
- `Domain.Entities`, `Domain.Exceptions`
- `Database.Connection` (generic ADO.NET connection/command plumbing) plus
whichever infrastructure project the slice needs (`Infrastructure.PasswordHashing`
for Users, `Infrastructure.Email`/`Infrastructure.Email.Templates` for
for Users, `Infrastructure.Email.Templates` for
Emails, `Infrastructure.FileUpload` for PhotoUpload)
- `Shared.Contracts`, `Shared.Application`
- No other `Features.*` project, with two exceptions: `Features.Users`
@@ -208,7 +208,6 @@ whichever slices need them
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Database.Connection` | Generic ADO.NET connection/command plumbing (`DefaultSqlConnectionFactory`, the abstract `DapperRepository` base class), not domain-specific; each slice's own `Repository/` folder builds on this. |
| `Infrastructure.PasswordHashing` | Argon2id password hashing. |
| `Infrastructure.Email` | Email sending capabilities (SMTP/MailKit). |
| `Infrastructure.Email.Templates` | Email template rendering (Razor components). |
| `Infrastructure.FileUpload` | `IFileStorageProvider` abstraction over S3-compatible object storage, implemented by `S3FileStorageProvider` (targets the SeaweedFS container in dev; any S3-compatible endpoint in other environments) using the AWS SDK's `AmazonS3Client` with `ForcePathStyle = true`. |