NSExt 2.3.9
dotnet add package NSExt --version 2.3.9
NuGet\Install-Package NSExt -Version 2.3.9
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="NSExt" Version="2.3.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NSExt" Version="2.3.9" />
<PackageReference Include="NSExt" />
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 NSExt --version 2.3.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NSExt, 2.3.9"
#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 NSExt@2.3.9
#: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=NSExt&version=2.3.9
#tool nuget:?package=NSExt&version=2.3.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ns-ext
中 | En The ns-ext is a .NET extension function library, containing the following types of extension modules:
| Features | File name |
|---|---|
| Byte type extension | ByteExtensions.cs |
| Character Type Extensions | CharExtensions.cs |
| Date Type Extensions | DateTimeExtensions.cs |
| Database command type extension | DbCommandExtensions.cs |
| Decimal Number Type extension | DecimalExtensions.cs |
| Enumable type extension | EnumerableExtensions.cs |
| Enumeration type extension | EnumExtensions.cs |
| General type extension | GenericExtensions.cs |
| Integer type extension | IntExtensions.cs |
| Json Serialization option type extension | JsonSerializerOptionsExtensions.cs |
| Log type extension | LoggerExtensions.cs |
| Long integer extension | LongExtensions.cs |
| Object type extension | ObjectExtensions.cs |
| Stream type extension | StreamExtensions.cs |
| String type extension | StringExtensions.cs |
| Prototype type extension | TypeExtensions.cs |
| Resource locator type extension | UriExtensions.cs |
Quick start
Install
dotnet add package NSExt --prerelease
Example
using NSExt.Extensions;
internal static class Program
{
private class Person
{
public string Name { get; set; }
public int Age { get; set; }
}
public static void Main(string[] args)
{
var person =
"""
{
"Name": "Jason",
"Age": "30"
}
""".Object<Person>();
Console.WriteLine(person.Json());
}
}
Output
{"name":"Jason","age":30}
| 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 10.0.0)
- System.IO.Hashing (>= 10.0.0)
-
net8.0
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 10.0.0)
- System.IO.Hashing (>= 10.0.0)
-
net9.0
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 5.0.0)
- Microsoft.Extensions.Logging (>= 10.0.0)
- System.IO.Hashing (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on NSExt:
| Repository | Stars |
|---|---|
|
nsnail/NetAdmin
通用后台权限管理系统、快速开发框架(基于C#13/.NET9、Vue3/Vite、ElementPlus等现代技术构建,具有十分整洁、优雅的编码规范)Universal backend permission management system, rapid development framework (based on modern technologies such as C#13/.NET9, Vue3/Vite, ElementPlus, etc., with very neat and elegant coding standards)
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 2.3.9 | 255 | 11/24/2025 | |
| 2.3.8 | 1,051 | 7/29/2025 | |
| 2.3.7 | 537 | 6/28/2025 | |
| 2.3.6 | 321 | 6/23/2025 | |
| 2.3.5 | 1,925 | 3/26/2025 | |
| 2.3.4 | 398 | 3/6/2025 | |
| 2.3.3 | 620 | 1/2/2025 | |
| 2.3.2 | 725 | 11/25/2024 | |
| 2.2.0 | 1,679 | 7/2/2024 | |
| 2.1.0 | 878 | 3/1/2024 | |
| 2.0.11 | 506 | 12/15/2023 | |
| 2.0.10 | 218 | 12/14/2023 | |
| 2.0.9 | 181 | 12/14/2023 | |
| 2.0.7 | 188 | 12/14/2023 | |
| 2.0.6 | 209 | 12/14/2023 | |
| 2.0.5 | 208 | 12/14/2023 | |
| 2.0.4 | 219 | 12/14/2023 | |
| 2.0.3 | 228 | 12/14/2023 | |
| 2.0.2 | 239 | 12/14/2023 | |
| 2.0.1 | 215 | 12/14/2023 | |
| 2.0.0 | 236 | 12/14/2023 | |
| 1.1.0 | 395 | 9/28/2023 | |
| 1.0.15-alpha.0.5 | 139 | 9/7/2023 | |
| 1.0.15-alpha.0.4 | 146 | 8/8/2023 | |
| 1.0.15-alpha.0.2 | 132 | 8/8/2023 | |
| 1.0.15-alpha.0.1 | 189 | 4/19/2023 | |
| 1.0.14 | 395 | 2/27/2023 | |
| 1.0.13 | 490 | 2/8/2023 | |
| 1.0.13-alpha.0.5 | 186 | 2/27/2023 | |
| 1.0.13-alpha.0.2 | 216 | 1/29/2023 | |
| 1.0.13-alpha.0.1 | 200 | 1/19/2023 | |
| 1.0.12 | 443 | 1/15/2023 | |
| 1.0.11 | 419 | 1/8/2023 | |
| 1.0.11-alpha.0.5 | 210 | 1/14/2023 | |
| 1.0.11-alpha.0.4 | 201 | 1/10/2023 | |
| 1.0.11-alpha.0.2 | 205 | 1/4/2023 | |
| 1.0.11-alpha.0.1 | 313 | 12/16/2022 | |
| 1.0.9 | 425 | 1/4/2023 | |
| 1.0.9-alpha.0.5 | 211 | 12/27/2022 | |
| 1.0.9-alpha.0.2 | 200 | 12/15/2022 | |
| 1.0.9-alpha.0.1 | 193 | 12/13/2022 | |
| 1.0.8 | 446 | 12/9/2022 | |
| 1.0.6 | 472 | 11/30/2022 | |
| 1.0.5 | 465 | 11/30/2022 | |
| 1.0.4 | 456 | 11/30/2022 | |
| 1.0.3 | 432 | 11/29/2022 | |
| 1.0.2 | 474 | 11/25/2022 | |
| 1.0.0 | 227 | 10/31/2022 |