MyNet.Text
19.3.2
dotnet add package MyNet.Text --version 19.3.2
NuGet\Install-Package MyNet.Text -Version 19.3.2
<PackageReference Include="MyNet.Text" Version="19.3.2" />
<PackageVersion Include="MyNet.Text" Version="19.3.2" />
<PackageReference Include="MyNet.Text" />
paket add MyNet.Text --version 19.3.2
#r "nuget: MyNet.Text, 19.3.2"
#:package MyNet.Text@19.3.2
#addin nuget:?package=MyNet.Text&version=19.3.2
#tool nuget:?package=MyNet.Text&version=19.3.2
<div align="center">
MyNet.Text
<img src="MyNetText.png" alt="MyNet.Text" width="96" height="96" />
String processing: templating, slugification, sanitization, normalization, truncation, redaction, and formatting pipelines.
</div>
<div align="center">
</div>
Features
| Feature | Description |
|---|---|
| Templates | Token-based templates with culture-aware formatting |
| Transforms | Slugify, sanitize, normalize, truncate, and redact |
| Pipelines | Composable text transformation pipelines |
| DI extensions | Random generator registration for tests |
Installation
dotnet add package MyNet.Text
Quick start
using System.Globalization;
using MyNet.Text.Extensions;
var slug = "Hello World!".Slugify();
using System.Globalization;
using MyNet.Text.Templating;
var options = new TextTemplateOptionsBuilder()
.WithArgument("Name", "Ada")
.Build();
var text = new TemplateTransform(options).Apply("Hello, {Name}!", CultureInfo.InvariantCulture);
Related packages
Documentation
<div align="center">
<sub>
Copyright © 2016-2026 - Stéphane ANDRE. All Rights Reserved.
<br/>
Released under the MIT License.
</sub>
</div>
| 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0-preview.4.26230.115)
- MyNet.Generator (>= 19.3.2)
- MyNet.Primitives (>= 19.3.2)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on MyNet.Text:
| Package | Downloads |
|---|---|
|
MyNet.Observable
MVVM-oriented observable models with INotifyPropertyChanged, edition tracking, FluentValidation integration, metadata, and an included Roslyn source generator. |
|
|
MyNet.Humanizer
Localized human-readable text for dates, enums, lists, geography, and common .NET types (display strings beyond raw ToString()). |
|
|
MyNet.Http
HTTP client helpers and Web API consumption utilities: request building, response handling, and typed REST patterns for .NET. |
|
|
MyNet.Globalization
Culture-aware formatting, translatable resources, and localization services with Microsoft.Extensions.DependencyInjection integration. |
|
|
MyNet.Fakers
Locale-aware fake data generators for names, addresses, emails, URLs, and related test fixtures built on MyNet.Generator and MyNet.Geography. |
GitHub repositories
This package is not used by any popular GitHub repositories.