ZeraSystems.CodeNanite.Expansion 2.0.0

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

ZeraSystems.CodeNanite.Expansion

Core expansion code nanites library for the CodeStencil template engine.

Overview

This package provides the foundational expansion functionality for CodeStencil code nanites, including entity processing, HTML generation, and general utility functions for code generation templates.

Features

  • Entity Expansion: Core functionality for expanding and processing database entities
  • HTML Generation: Helper methods for generating HTML markup from data models
  • Settings Management: Configuration and settings management for code generation
  • String Extensions: Powerful string manipulation utilities for code generation
  • Pluralization: Built-in support for pluralizing entity names using Pluralize.NET
  • HTML Parsing: Integration with AngleSharp for advanced HTML processing
  • Object Mapping: AutoMapper integration for object transformations

Target Frameworks

  • .NET Framework 4.8
  • .NET 10.0 (Windows)

Installation

Package Manager Console

Install-Package ZeraSystems.CodeNanite.Expansion -Version 2.0.0

.NET CLI

dotnet add package ZeraSystems.CodeNanite.Expansion --version 2.0.0

PackageReference

<PackageReference Include="ZeraSystems.CodeNanite.Expansion" Version="2.0.0" />

Usage

This package is typically used as a base dependency for other CodeStencil code nanite packages. It provides core functionality that can be extended in your custom code nanites.

Basic Example

using ZeraSystems.CodeNanite.Expansion;

// Use extension methods for string manipulation
string singular = "Users".Singularize();
string plural = "User".Pluralize();

// Access entity expansion functionality
// This is typically used within CodeStencil templates

Dependencies

  • ZeraSystems.CodeStencil.Contracts (v2.0.0+)
  • AngleSharp (v1.0.0+)
  • AutoMapper (v10.0.0+)
  • Pluralize.NET (v1.0.2+)
  • System.Text.Json (v8.0.5+ for .NET Framework 4.8)

Documentation

For complete documentation and examples, visit:

Version History

2.0.0

  • Upgraded to .NET 10.0 support
  • Maintained .NET Framework 4.8 compatibility
  • Updated to CodeStencil.Contracts 2.0.0
  • Modernized dependencies

1.5.x

  • Previous stable release for .NET Framework 4.8

License

This package is licensed under the MIT License.

Support

For support and questions:

Copyright � 2018-2025 ZERA Systems Inc.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ZeraSystems.CodeNanite.Expansion:

Package Downloads
ZeraSystems.CodeNanite.Schema

Code Nanites for Schema/DB Related functions

ZeraSystems.CodeNanite.Cshtml

Code Nanites for CSHTML/Razor view generation

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 115 11/12/2025
1.5.9 262 8/4/2025
1.5.8 229 8/4/2025
1.5.7 137 7/31/2025
1.5.6 357 7/25/2025
1.5.5 192 7/8/2025
1.5.4 253 4/21/2025
1.5.3 203 2/16/2025
1.5.2 177 2/15/2025
1.5.1 180 1/3/2025
1.5.0 179 10/15/2024
1.4.9 198 6/4/2024
1.4.8 1,729 1/17/2024
1.4.7 715 12/27/2023
1.4.6 235 12/26/2023
1.4.4 309 12/21/2023
1.4.3 192 9/26/2023
1.4.2 246 8/26/2023
1.4.1 219 8/26/2023
1.4.0 270 7/25/2023
1.3.4 251 5/2/2023
1.3.3.9 560 6/4/2022
1.3.3.1 1,379 8/6/2021
1.3.2.3 1,780 1/31/2021
1.3.2 624 7/14/2020
1.3.0 613 6/30/2020
1.1.0 642 1/7/2020
1.0.0 645 11/13/2019