Making.Core 1.0.4-preview

This is a prerelease version of Making.Core.
dotnet add package Making.Core --version 1.0.4-preview
                    
NuGet\Install-Package Making.Core -Version 1.0.4-preview
                    
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="Making.Core" Version="1.0.4-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Making.Core" Version="1.0.4-preview" />
                    
Directory.Packages.props
<PackageReference Include="Making.Core" />
                    
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 Making.Core --version 1.0.4-preview
                    
#r "nuget: Making.Core, 1.0.4-preview"
                    
#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 Making.Core@1.0.4-preview
                    
#: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=Making.Core&version=1.0.4-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Making.Core&version=1.0.4-preview&prerelease
                    
Install as a Cake Tool

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

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