RsCode 2.0.0
See the version list below for details.
dotnet add package RsCode --version 2.0.0
NuGet\Install-Package RsCode -Version 2.0.0
<PackageReference Include="RsCode" Version="2.0.0" />
<PackageVersion Include="RsCode" Version="2.0.0" />
<PackageReference Include="RsCode" />
paket add RsCode --version 2.0.0
#r "nuget: RsCode, 2.0.0"
#:package RsCode@2.0.0
#addin nuget:?package=RsCode&version=2.0.0
#tool nuget:?package=RsCode&version=2.0.0
home: true lang: zh-CN title: RsCode技术文档 description: RsCode代码库技术文档 features: #配置首页特性列表。
- title: 高效 details: 开箱即用
- title: 开源 details: 遵守MIT协议 100%公开源码
- title: 免费 details: 完全免费使用
actions:
- text: 快速上手
link: /rscode/guide/getting-started.html
type: primary
- text: 项目简介
link: /rscode/guide/README.md
type: secondary
✨ 特性
🌈 MIT开源协议,完全免费使用
📦 开箱即用
💕 集成一些流行的开源框架/库。
🎨 集成第三方平台业务API,例:微信开发,第三方支付,第三方存储,抖音相关开发SDK等
💿 当前版本
快速使用
推荐使用 Visual Studio 2022 开发。
进入应用的项目文件夹,安装 Nuget 包引用
$ dotnet add package RsCode --version 2.0.0asp.net core项目引用:
Install-Package RsCode.AspNetCore -Version 2.0.0引入log4net配置,
Pragram.cs中添加即可
using PetaPoco; using RsCode; using RsCode.AspNetCore; using AspectCore.Extensions.DependencyInjection; var builder = WebApplication.CreateBuilder(args); //1.添加动态代理 builder.Host.UseServiceProviderFactory(new DynamicProxyServiceProviderFactory()); //2.添加RsCode builder.Services.AddRsCode(); //3.自动注册应用接口和实现 string[] assemblies = new string[] { "your.project.Core", "应用程序集名称" }; //todo 替换成实际业务类程序集名称 builder.Services.AutoInject(assemblies); //4.添加数据库,以MySql为例 builder.Services.AddDatabase<MySqlDatabaseProvider>(); builder.Services.AddUnitOfWork();
以上功能包含:API统一消息,工作单元,日志,数据库操作,接口自动注入,异常拦截,模型验证,mediator中间件,内存缓存,id生成器;需要更多的功能,可查阅文档
🤝 如何贡献
如果你希望参与贡献,欢迎 Pull Request,或给我们 报告 Bug 。
❓ 社区互助
如果您在使用的过程中碰到问题,可以通过以下途径寻求帮助,同时我们也鼓励资深用户通过下面的途径给新人提供帮助。
技术人互动群(微信)
<img src="https://www.hnrswl.com/res/static/img/tq.png" width="300" alt="技术赚钱群">
| 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
- AngleSharp.Css (>= 0.14.1)
- AspectCore.Extensions.DependencyInjection (>= 2.4.0)
- BouncyCastle.NetCore (>= 1.8.6)
- log4net (>= 2.0.15)
- Mapster (>= 7.3.0)
- MediatR.Extensions.Microsoft.DependencyInjection (>= 8.0.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Configuration (>= 3.1.5)
- Microsoft.Extensions.Configuration.Binder (>= 3.1.5)
- Microsoft.Extensions.Configuration.Json (>= 3.1.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 3.1.0)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.0)
- Newtonsoft.Json (>= 10.0.2)
- PetaPoco.Compiled (>= 6.0.532)
- System.Collections (>= 4.3.0)
- System.Drawing.Common (>= 4.7.0)
- System.Net.Http.Json (>= 3.2.1)
- System.Runtime.Loader (>= 4.3.0)
- System.Text.Json (>= 4.7.2)
- System.Threading.Channels (>= 5.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on RsCode:
| Package | Downloads |
|---|---|
|
RsCode.AspNetCore
https://rscode.cn |
|
|
RsCode.Storage.QiniuStorage
RsCode 七牛云存储服务 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.5 | 647 | 11/14/2025 |
| 2.3.4 | 575 | 6/30/2025 |
| 2.3.3 | 560 | 5/27/2025 |
| 2.3.2 | 540 | 4/8/2025 |
| 2.3.1 | 598 | 4/3/2025 |
| 2.3.0 | 576 | 3/27/2025 |
| 2.2.4 | 525 | 1/27/2025 |
| 2.2.3 | 510 | 11/11/2024 |
| 2.2.2 | 523 | 10/29/2024 |
| 2.2.1 | 565 | 10/23/2024 |
| 2.2.0 | 574 | 9/4/2024 |
| 2.1.0 | 538 | 8/29/2024 |
| 2.0.6 | 841 | 2/23/2024 |
| 2.0.4 | 1,274 | 11/9/2023 |
| 2.0.3 | 583 | 10/10/2023 |
| 2.0.2 | 639 | 8/5/2023 |
| 2.0.1 | 642 | 7/2/2023 |
| 2.0.0 | 653 | 6/27/2023 |
| 1.6.1 | 747 | 4/30/2023 |