CodeLab.Share
1.4.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CodeLab.Share --version 1.4.1
NuGet\Install-Package CodeLab.Share -Version 1.4.1
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="CodeLab.Share" Version="1.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeLab.Share" Version="1.4.1" />
<PackageReference Include="CodeLab.Share" />
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 CodeLab.Share --version 1.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeLab.Share, 1.4.1"
#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 CodeLab.Share@1.4.1
#: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=CodeLab.Share&version=1.4.1
#tool nuget:?package=CodeLab.Share&version=1.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CodeLab
CodeLab.Share 工具库
封装一些常用的工具类,方便使用,大部分是静态类,包含字符串扩展、加密解密、反射操作、唯一ID、爬虫JSON操作等功能,还在不断完善中。
build
docs: https://learn.microsoft.com/zh-cn/nuget/create-packages/creating-a-package-dotnet-cli
打包 nuget
dotnet pack -c release
已集成 GitHub Action 工作流,现在不需要手动打包发布了。
使用到这个工具箱的项目
what's new
1.4.1
- 完善文档
CodeLab.Share.Contrib.CronExpression新增ValidateExpression方法- New
CodeLab.Share.Utilities.AesHelper- ECB模式的AES算法加解密 - New
CodeLab.Share.Utilities.EmailHelper- 发邮件 - New
CodeLab.Share.Utilities.GuidHelper- 生成各种唯一ID - New
CodeLab.Share.Utilities.HashHelper- 支持使用SHA256/SHA384/SHA512等算法创建字符串摘要 - New
CodeLab.Share.Utilities.UserAgentHelper- 判断 UA 是不是手机访问 - New
CodeLab.Share.Utilities.ViewModelHelper- 使用反射获取System.ComponentModel.DataAnnotations的特性信息 - New
CodeLab.Share.Extensions.HttpClientExt- 封装了GetJsonAsync方法,可以快速获取 JSON 对象 - New
CodeLab.Share.Extensions.StringExt- 各种字符串操作
1.4.0
- 新增
CodeLab.Share.Contrib.CronExpression包,用于处理 CRON 表达式 - 集成 GitHub Action 工作流
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- MailKit (>= 4.3.0)
- MemoryPack (>= 1.9.16)
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.2.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 6.0.18)
- X.PagedList (>= 8.4.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on CodeLab.Share:
| Repository | Stars |
|---|---|
|
Deali-Axy/StarBlog
☀StarBlog 是一个基于 .NET Core 开发的现代博客系统,支持 Markdown 文章导入,遵循 RESTful 接口规范。前端基于 Vue + ElementUI 开发,可作为 .NET Core 入门学习项目,同时配套了一系列开发笔记,记录了从零开始构建这个博客系统的全过程,可以帮助学习理解 .Net Core 项目的开发流程。
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.2 | 412 | 4/30/2025 |
| 1.4.1 | 440 | 2/5/2024 |
| 1.4.0 | 214 | 2/5/2024 |
| 1.3.7 | 252 | 1/16/2024 |
| 1.3.6 | 206 | 1/16/2024 |
| 1.3.3 | 210 | 1/16/2024 |
| 1.3.2 | 1,210 | 6/18/2023 |
| 1.3.1 | 269 | 6/17/2023 |
| 1.3.0 | 260 | 6/17/2023 |
| 1.2.0 | 254 | 6/16/2023 |
| 1.1.1 | 272 | 6/7/2023 |
| 1.1.0 | 271 | 6/7/2023 |
| 1.0.2 | 312 | 4/7/2023 |
| 1.0.1 | 627 | 12/20/2022 |
| 1.0.0 | 321 | 12/20/2022 |