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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dico.Project.Basics" Version="1.6.2.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dico.Project.Basics" Version="1.6.2.4" />
                    
Directory.Packages.props
<PackageReference Include="Dico.Project.Basics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dico.Project.Basics --version 1.6.2.4
                    
#r "nuget: Dico.Project.Basics, 1.6.2.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Dico.Project.Basics@1.6.2.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dico.Project.Basics&version=1.6.2.4
                    
Install as a Cake Addin
#tool nuget:?package=Dico.Project.Basics&version=1.6.2.4
                    
Install as a Cake Tool

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);

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
1.6.2.4 129 7/12/2026
1.6.2 128 7/1/2026
1.5.1 216 6/17/2026
1.4.8 115 6/15/2026
1.4.5 135 5/23/2026
1.2.5 106 5/18/2026