Dico.Project.Basics
1.6.2.4
dotnet add package Dico.Project.Basics --version 1.6.2.4
NuGet\Install-Package Dico.Project.Basics -Version 1.6.2.4
<PackageReference Include="Dico.Project.Basics" Version="1.6.2.4" />
<PackageVersion Include="Dico.Project.Basics" Version="1.6.2.4" />
<PackageReference Include="Dico.Project.Basics" />
paket add Dico.Project.Basics --version 1.6.2.4
#r "nuget: Dico.Project.Basics, 1.6.2.4"
#:package Dico.Project.Basics@1.6.2.4
#addin nuget:?package=Dico.Project.Basics&version=1.6.2.4
#tool nuget:?package=Dico.Project.Basics&version=1.6.2.4
Project.Basics
A shared infrastructure package for common cross-project concerns such as logging, error handling, validation, and mapping.
📦 Installation
dotnet add package Project.Basics
🎯 Purpose
Project.Basics centralizes reusable foundational components used across multiple projects, helping you:
- Reduce duplicate code
- Standardize architecture patterns
- Improve maintainability
- Enforce consistent conventions
⚙️ Target Framework
.NET 10
🚀 Features
- ✔ Centralized Logging utilities
- ✔ Standardized Error Handling components
- ✔ Validation helpers
- ✔ Object Mapping helpers
- ✔ Shared infrastructure utilities
- ✔ Designed for multi-project solutions
- ✔ Built-in Dependency Injection setup
- ✔ Middleware integration support
🧩 Quick Start
1️⃣ Register Services
builder.Services.ConfigureProjectBasicsServices(builder.Host, builder.Configuration);
2️⃣ Use Middleware
app.UseProjectBasicsApplicationBuilder();
💡 Usage Examples
Logging
_logger.LogInfo("Application started");
Validation
Validator.EnsureNotNull(user, nameof(user));
Mapping
var dto = Mapper.Map<UserDto>(user);
🏗 Recommended Use Cases
Best suited for:
- Microservice architectures
- Modular monoliths
- Enterprise systems
- Multi-solution environments
- Clean Architecture projects
📐 Design Principles
Project.Basics is built with:
- Minimal dependencies
- High performance
- Extensibility-first architecture
- Clean Architecture compatibility
- Consistent cross-project standards
🔐 Error Handling Strategy
The package provides unified error handling mechanisms that:
- Normalize exception responses
- Prevent information leakage
- Standardize error formats
- Improve observability
- Centralize logging for failures
📜 License
Licensed under the MIT License.
🤝 Contributing
Contributions, suggestions, and improvements are welcome. Please open an issue or submit a pull request.
⭐ Why Project.Basics?
Instead of rewriting infrastructure utilities for every project, Project.Basics gives you a stable, reusable foundation so you can focus entirely on business logic.
Built for scalable, maintainable, production-grade .NET systems
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.