CodeLab.Share
1.4.1
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.
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.
// Install CodeLab.Share as a Cake Addin #addin nuget:?package=CodeLab.Share&version=1.4.1 // Install CodeLab.Share as a Cake Tool #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. |
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
☀☀功能完整的博客系统。后端基于.Net6+AspNetCore框架,遵循RESTFul接口规范,前端基于Vue+ElementUI开发,搭配全套开发笔记文章,可作为 .Net Core 入门项目学习~
|
Version | Downloads | Last updated |
---|---|---|
1.4.1 | 222 | 2/5/2024 |
1.4.0 | 116 | 2/5/2024 |
1.3.7 | 158 | 1/16/2024 |
1.3.6 | 110 | 1/16/2024 |
1.3.3 | 120 | 1/16/2024 |
1.3.2 | 799 | 6/18/2023 |
1.3.1 | 146 | 6/17/2023 |
1.3.0 | 156 | 6/17/2023 |
1.2.0 | 152 | 6/16/2023 |
1.1.1 | 158 | 6/7/2023 |
1.1.0 | 139 | 6/7/2023 |
1.0.2 | 200 | 4/7/2023 |
1.0.1 | 496 | 12/20/2022 |
1.0.0 | 207 | 12/20/2022 |