Making.Core
1.0.4-preview
dotnet add package Making.Core --version 1.0.4-preview
NuGet\Install-Package Making.Core -Version 1.0.4-preview
<PackageReference Include="Making.Core" Version="1.0.4-preview" />
<PackageVersion Include="Making.Core" Version="1.0.4-preview" />
<PackageReference Include="Making.Core" />
paket add Making.Core --version 1.0.4-preview
#r "nuget: Making.Core, 1.0.4-preview"
#:package Making.Core@1.0.4-preview
#addin nuget:?package=Making.Core&version=1.0.4-preview&prerelease
#tool nuget:?package=Making.Core&version=1.0.4-preview&prerelease
Making.Core
Core functionality and infrastructure for the Making framework.
Overview
Making.Core provides the foundational components and utilities that power the Making framework. It includes essential extension methods, infrastructure classes, and common abstractions used across all Making framework packages.
Features
- Extension Methods: Comprehensive extension methods for common types (String, DateTime, Stream, Assembly, etc.)
- Service Lifetime Attributes: Attributes for dependency injection lifecycle management
- Soft Delete Support: Interface for implementing soft delete patterns
- Async Disposal: Utilities for async resource cleanup
- Parameter Validation: Check utilities for argument validation
- Platform Detection: Cross-platform utilities for OS detection
Installation
dotnet add package Making.Core
Usage
Basic Extensions
using Making;
// String extensions
string value = "hello world".ToPascalCase(); // "HelloWorld"
bool isEmpty = "".IsNullOrEmpty(); // true
// DateTime extensions
DateTime now = DateTime.Now;
bool isWeekend = now.IsWeekend();
// Stream extensions
using var stream = new MemoryStream();
byte[] data = await stream.ReadAllBytesAsync();
Service Lifetime Attributes
[Singleton]
public class MyService : IMyService
{
// Implementation
}
[Scoped]
public class ScopedService : IScopedService
{
// Implementation
}
[Transient]
public class TransientService : ITransientService
{
// Implementation
}
Soft Delete
public class User : ISoftDelete
{
public bool IsDeleted { get; set; }
public DateTime? DeletionTime { get; set; }
}
Requirements
- .NET Standard 2.0+
- Microsoft.Extensions.DependencyInjection
License
This project is part of the Making framework.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
-
net9.0
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Making.Core:
Package | Downloads |
---|---|
Making.Security
Security utilities and extensions for the Making framework |
|
Making.MemoryCache.Redis
Redis-based memory cache implementation for the Making framework |
|
Making.MultiTenancy
Multi-tenancy implementation and services for the Making framework |
|
Making.MemoryCache
In-memory cache implementation for the Making framework |
|
Making.RabbitMQ
RabbitMQ client utilities and extensions for the Making framework |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.4-preview | 11 | 8/10/2025 |
1.0.1-preview | 339 | 7/25/2025 |
1.0.0-preview | 404 | 7/25/2025 |