Flynk.Common.Utils
6.2.2
Prefix Reserved
dotnet add package Flynk.Common.Utils --version 6.2.2
NuGet\Install-Package Flynk.Common.Utils -Version 6.2.2
<PackageReference Include="Flynk.Common.Utils" Version="6.2.2" />
<PackageVersion Include="Flynk.Common.Utils" Version="6.2.2" />
<PackageReference Include="Flynk.Common.Utils" />
paket add Flynk.Common.Utils --version 6.2.2
#r "nuget: Flynk.Common.Utils, 6.2.2"
#:package Flynk.Common.Utils@6.2.2
#addin nuget:?package=Flynk.Common.Utils&version=6.2.2
#tool nuget:?package=Flynk.Common.Utils&version=6.2.2
Flynk.Common.Utils
A comprehensive utility library for .NET applications providing essential functionality for pagination, collections, validation, string manipulation, logging, and more.
๐ฆ Quick Installation
Install-Package Flynk.Common.Utils
Or via .NET CLI:
dotnet add package Flynk.Common.Utils
๐ Core Features
- ๐ Pagination -
PagedList<T>with robust metadata tracking - ๐ Thread-Safe Collections - Thread-safe list implementations with reader/writer locks
- โ Validation - Comprehensive validators for common scenarios (GUID, URL, IP, etc.)
- ๐ค String Utilities - Advanced manipulation, encoding, and formatting utilities
- ๐ Logging - Flexible logging framework with multiple severity levels
- ๐ญ Factory Pattern - Generic factory with singleton support
- ๐ Data Structures - Observable collections, trees, and specialized structures
- ๐ Internationalization - Country and phone number utilities with region support
๐ก Quick Examples
Pagination
var pageSize = 20;
var pagedList = new PagedList<Product>(
skip: 0,
take: pageSize,
items: allItems.Take(pageSize).ToList(),
totalItems: allItems.Count
);
Console.WriteLine($"Page {pagedList.CurrentPage} of {pagedList.TotalPages}");
Validation
bool isValidGuid = Validator.Guids.IsGuid("550e8400-e29b-41d4-a716-446655440000");
bool isValidUrl = Validator.Urls.IsUrl("https://www.example.com");
bool isValidIp = Validator.IpAddresses.IsIpAddress("192.168.1.1");
String Utilities
string code = "ABC123DEF".ToSpacedCode("-"); // "ABC-123-DEF"
string encoded = Strings.ToCrockfordBase32(123456789);
Phone Numbers
bool isMobile = Phone.IsMobile("+1-555-0123", "US");
string digits = Phone.GetDigits("+1 (555) 123-4567"); // "15551234567"
๐๏ธ Architecture
Built on proven design patterns:
- Factory Pattern - Generic factory with singleton support
- Observer Pattern - Observable collections with event notifications
- Thread Safety - Safe concurrent access throughout
๐ Documentation
Full API documentation available:
- IntelliSense in Visual Studio / VS Code
- XML documentation comments in source
- NuGet Package Page
๐งช Quality Assurance
- โ 140+ comprehensive unit tests
- โ Full test coverage for core components
- โ Concurrency testing for thread-safe collections
- โ Cross-platform validation
๐ License
Freeware - Distributed under the Flynk Pty Ltd Freeware License Agreement.
Key Terms:
- โ Free to use
- โ Free to distribute
- โ No modifications or derivative works
- โ No commercial redistribution
See the license file for complete terms.
๐ฅ Support
Developed and maintained by Flynk Pty Ltd and the Flynk Developers team.
ยฉ Flynk Pty Ltd. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- libphonenumber-csharp (>= 8.13.42)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Flynk.Common.Utils:
| Package | Downloads |
|---|---|
|
Flynk.Common.Services
Flynk common services library providing REST API connection management, secure configuration, cryptography utilities, and shared DTOs for Flynk applications. |
|
|
Flynk.Net.Services.Finance
Package Description |
|
|
Flynk.Net.Services.Meta.Common
Package Description |
|
|
Flynk.Common.Services.Meta
Package Description |
|
|
Flynk.Net.Services.Transmit.Grpc.Client
Lightweight gRPC client library for the Flynk Transmission Service. Provides RpcClient with typed routing, serialization, and reconnection support. No server dependencies - ideal for mobile, desktop, and microservice clients. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.2.2 | 425 | 11/25/2025 |
| 6.2.1 | 713 | 11/11/2025 |
| 6.2.0 | 323 | 11/11/2025 |
| 6.1.3 | 303 | 11/10/2025 |
| 6.1.2 | 236 | 11/9/2025 |
| 6.1.1 | 215 | 10/24/2025 |
| 6.1.0 | 277 | 10/7/2025 |
| 6.0.19.21 | 1,666 | 8/6/2024 |
| 6.0.18.20 | 1,711 | 4/8/2024 |
| 6.0.17.19 | 8,094 | 8/1/2023 |
| 6.0.16.18 | 4,396 | 3/28/2023 |
| 6.0.15.17 | 2,114 | 3/28/2023 |
| 6.0.14.16 | 515 | 3/27/2023 |
| 6.0.13.15 | 3,826 | 2/1/2023 |
| 6.0.12.14 | 7,191 | 9/6/2022 |
| 6.0.11.13 | 653 | 8/22/2022 |
| 6.0.11.12 | 5,873 | 8/15/2022 |
| 6.0.10.11 | 5,933 | 4/1/2022 |
| 6.0.9.10 | 5,812 | 3/22/2022 |