Netor.Extensions.TICollectionExtensions
by: sunyonghuan@virtuesoft.cn
- 53 total downloads
- Latest version: 1.0.5
集合 扩展
Netor.Gateaway
by: sunyonghuan@virtuesoft.cn
- 10 total downloads
- Latest version: 1.0.7
接口框架 重构版 .NET6
修复认证授权失败后翻译失效的问题
修正gateawaybase.error 不设置状态的错误
2022年2月25
新增缓存选项
Netor.Gateaway.Abstractions
by: sunyonghuan@virtuesoft.cn
- 10 total downloads
- Latest version: 1.0.5
适用于netcore 6.x,8.x的框架
2022年2月25日
新增缓存选项
Netor.MicroService.Abstractions
by: netor.me
- 187 total downloads
- Latest version: 1.2.5
微服务基类,帮助快速开发微服务,提供基础的扩展
Netor.MicroService.SourceGenerators
by: netor.me
- 218 total downloads
- Latest version: 1.2.5
微服务代码辅助生成器,帮助快速开发微服务,将构架高效的miniapi 模式的服务结构,程序员只需要编写class
Netor.Stores.Extensions
by: Netor.Stores.Extensions
- 43 total downloads
- Latest version: 1.0.6
using Netor.Stores;
存储服务中间件
Services.AddStores(option =>
{
option.Appid = "Appid";
option.AccessKey = "AccessKey";
option.SecretKey = "SecretKey";
option.Url = "https://youdomain/api";
});
//上传文件
var store = sp.GetRequiredService StoresService ();
var result = await store.PostAsync(new StoresArgs()
{
contentype = file.ContentType
},IFormFile file);
Netor.Translate
by: Netor.Translate
- 9 total downloads
- Latest version: 1.0.5
翻译服务中间件
using Netor.Translate;
//添加服务
builder.Services
.AddTranslate(options => { })
.UseAliyun(option => {
option.AccessKey = "";
option.Secret = "";
option.RegionId = "cn-hangzhou";
option.Scene = "general";
})
.UseSqlServerCache(options => {
options.ConnectionString = builder.Configuration.GetConnectionString("DefaultConnection")!;
});
#访问网站或者接口
通过url 或者header 或者cookies 进行语言切换
默认网站语音为简体中文,世界最特殊的语言,分析简单
如果默认语言需要更换,那么需要配置options.Regex 中的正则表达式
Netor.Translate.Aliyun
by: Netor.Translate.Aliyun
- 11 total downloads
- Latest version: 1.0.1
翻译服务中间件 aliyun 实现
builder.Services
.AddTranslate(options => { })
.UseAliyun(option => {
option.AccessKey = "";
option.Secret = "";
option.RegionId = "cn-hangzhou";
option.Scene = "general";
})
Netor.Translate.SqlServerCache
by: Netor.Translate.SqlServerCache
- 7 total downloads
- Latest version: 1.0.2
翻译服务缓存中间件 SqlServerCache 实现
builder.Services
.AddTranslate(options => { })
.UseAliyun(option => {
option.AccessKey = "";
option.Secret = "";
option.RegionId = "cn-hangzhou";
option.Scene = "general";
})
.UseSqlServerCache(options => {
options.ConnectionString = builder.Configuration.GetConnectionString("DefaultConnection")!;
})
Noter.Microbridge.Extensions
by: sanming
- 77 total downloads
- Latest version: 1.1.0
Noter.Microbridge.Extensions 是一个用于微服务通信的扩展库,提供了微服务网关的客户端和服务实现。该库旨在简化微服务之间的通信,提供统一的服务发现、路由和调用机制。
WinFormedge
by: Xuanchen Lin & Sanming
- 32 total downloads
- Latest version: 1.6.0.105
一个基于微软WebView2的开源库,能够轻松使用HTML、CSS和JavaScript构建功能强大的WinForm应用程序。