FileServer
Secure, scalable file storage — declarative resource servers, source-generated upload methods and signed upload URLs, S3-backed, deployed into your own AWS.
Built for files of every shape and size.
Declarative resource servers
Storage location, accepted types, and size/count limits as attributes on a partial class.
Source-generated upload
Typed Upload{Resource}Async methods and pre-signed upload URLs — no boilerplate.
Content validation
Rejects dangerous PDFs (JavaScript / launch actions) and strips JPEG EXIF; plug in your own IFileContentValidator.
Public / private + owner scoping
StorageLocation.Public/Private, with owner-id validation on read and delete.
Accepted-type + size limits
[AcceptedFileTypes] and [FileUploadSettings] gate every upload (size in KB).
Lifecycle expiration
Opt-in object expiry and incomplete-multipart-upload cleanup.
Built in .NET.
Spoken in every language.
Every FileServer module ships as both a NuGet package and an official Docker image — runs on ECS, EKS, Fargate, App Runner, or your laptop. Call its HTTP/gRPC API from Python, Go, Node, Java, Rust, or anything else that speaks the wire.
- ✓Multi-arch images:
amd64+arm64from the same tag - ✓OpenAPI + gRPC reflection enabled out of the box
- ✓Same configuration surface — env vars, Parameter Store, file
Kanject.FileServer ships into your AWS, registers itself with one line in Program.cs, and exposes a typed API the rest of your service can use immediately.
Simplify your cloud
journey today.
Join forward-thinking developers and businesses who trust Kanject to eliminate cloud complexity and accelerate innovation.