Package Description
$ dotnet add package MsClean.Framework.PersistanceMsClean.Framework is a modular, enterprise-ready foundation built on top of the Clean Architecture principles for .NET applications.
It provides a rich set of ready-to-use building blocks such as logging, exception handling, dependency injection, localization, security, mailing, persistence, and more — all designed for scalability, maintainability, and clean separation of concerns.
✅ Modular & extensible architecture
✅ Centralized logging and exception handling
✅ Generic repository and unit of work patterns
✅ Integrated dependency injection registration
✅ Localization & translation support
✅ Mailing with MailKit provider
✅ JWT-based security & authentication utilities
✅ Preconfigured response and result wrappers
✅ Utility extensions for strings, numbers, dates, and HTTP helpers
| Package | Description |
|---|---|
| MsClean.Framework.Core | Core foundation containing cross-cutting concerns — logging, exception handling, DI, response models, and utility extensions. |
| MsClean.Framework.Persistence | Data access layer with EF Core integration, repositories, and unit of work implementations. |
| MsClean.Framework.Security | Security layer providing JWT authentication, claims, and authorization helpers. |
| MsClean.Framework.Mailing | Mailing services powered by MailKit — ready to send templated or plain emails. |
| MsClean.Framework.Localization | Localization and translation support using resource or YAML providers. |
| MsClean.Framework.Application | Application behavior layer including CQRS (via MediatR), pipelines, and validation behaviors. |
| MsClean.Framework.Elasticsearch | Search and indexing module using Elasticsearch client integrations. |
| MsClean.Framework (Umbrella Package) | Aggregates all framework modules for one-line installation. |
When contributing or extending the framework:
MsClean.Framework.Test.| Topic | Link |
|---|---|
| 🔹 Commit Message Convention | CommitMessages.md |
Pull requests are welcome!
If you're adding a new module or improving an existing one, please:
This project is licensed under the MIT License — see the LICENSE file for details.
Mustafa Sözer
Backend Developer & Software Engineer focused on designing scalable, modular, and maintainable .NET solutions.
Author and maintainer of the MsClean Framework, a Clean Architecture–based foundation for enterprise applications.
📧 Contact: mustafa.szr@gmail.com