Virtuesoft.Framework.Gateaway 1.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Virtuesoft.Framework.Gateaway --version 1.5.1
NuGet\Install-Package Virtuesoft.Framework.Gateaway -Version 1.5.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="Virtuesoft.Framework.Gateaway" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Virtuesoft.Framework.Gateaway --version 1.5.1
#r "nuget: Virtuesoft.Framework.Gateaway, 1.5.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 Virtuesoft.Framework.Gateaway as a Cake Addin
#addin nuget:?package=Virtuesoft.Framework.Gateaway&version=1.5.1

// Install Virtuesoft.Framework.Gateaway as a Cake Tool
#tool nuget:?package=Virtuesoft.Framework.Gateaway&version=1.5.1

微型高效率接口框架
简单,干净尽量减少了依赖项.
框架自带接口文档,通过调用默认的api.doc方法可以查看所有的接口.
只需要添加类就可以完成接口的开发,让程序员全心的只专注于业务逻辑.
适用于简单逻辑的接口编写,无状态的接口.
默认验证用户权限是通过签名方式,支持可以自定义签名验证.
支持IP黑白名单和简单的过滤.
新增支持回调函数不验证签名
新增回调函数不格式化返回数据
新增不验证签名和格式化参数的方法
新增日志保存到数据库
新增解析text/json 数据
对contenttype 分析进行颗粒细度优化,方便扩展新的类型
移除默认的日志中间件
添加对.netcore 2.0-2.2预.netcore 3.0的预编译
修复回调函数不验证签名的漏洞
新增获取get参数的方法
调整route执行到验证必要参数之前筛选出对应的接口
分离方法参数IMethodParameterCreator创建接口,并提供默认实现支持json,自动匹配方法参数
适配参数创建方法
修改默认编码为utf-8

Product 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.9 452 8/8/2022
7.0.8 447 2/25/2022
7.0.7 450 2/19/2022
7.0.6 416 2/18/2022
7.0.5 441 2/16/2022
7.0.4 443 2/6/2022
7.0.3 457 1/27/2022
7.0.2 442 1/27/2022
7.0.1 441 1/27/2022
7.0.0 462 1/23/2022
6.0.1 459 1/19/2022
6.0.0 296 12/22/2021
5.0.1.1 384 9/12/2021
5.0.1 334 9/8/2021
5.0.0 341 9/6/2021
3.1.3 334 8/28/2021
3.1.2 329 8/28/2021
3.1.1 342 8/28/2021
3.1.0 381 6/30/2021
1.5.6 344 5/12/2021
1.5.4 410 12/7/2020
1.5.3 409 12/7/2020
1.5.2 420 12/7/2020
1.5.1 469 8/16/2020
1.5.0 460 8/15/2020
1.4.8 490 4/16/2020
1.4.6 497 3/28/2020
1.4.5 492 3/15/2020
1.4.4 525 3/15/2020
1.4.2 513 3/15/2020
1.4.1 493 3/12/2020
1.4.0 487 3/11/2020
1.3.8 484 2/14/2020
1.3.5 515 2/14/2020
1.3.4 479 1/30/2020
1.3.3 468 1/30/2020
1.3.2 488 1/30/2020
1.3.1 537 1/7/2020
1.3.0 521 1/7/2020
1.2.9 503 1/7/2020
1.2.8 507 1/7/2020
1.2.2 504 12/26/2019
1.1.9 477 12/1/2019
1.1.8 483 12/1/2019
1.1.7 485 12/1/2019
1.1.6 482 12/1/2019
1.1.3 479 12/1/2019
1.1.2 487 12/1/2019
1.1.1 484 7/25/2019
1.1.0 529 7/15/2019
1.0.9 572 2/26/2020
1.0.8 554 6/1/2019
1.0.7 575 6/1/2019
1.0.6 558 4/10/2019
1.0.5 563 4/10/2019
1.0.4 562 4/10/2019
1.0.3 565 4/10/2019
1.0.2 568 4/10/2019
1.0.1 547 4/10/2019

修正了部分小错误
新增日志记录可以传入日志等级
删除默认的日志中间件
修复默认路由无法获取method的参数
错误:
.NET Core 3.0 AllowSynchronousIO Workaround
Synchronous operations are disallowed. Call FlushAsync or set AllowSynchronousIO to true instead
需要配置:
webBuilder.UseStartup<Startup>()
          
                   .ConfigureKestrel((context, options) =>
                   {
                       options.AllowSynchronousIO = true;
                   });
或者
ConfigureServices(IServiceCollection services)
       {
           // If using Kestrel:
           services.Configure<KestrelServerOptions>(options =>
           {
               options.AllowSynchronousIO = true;
           });

           // If using IIS:
           services.Configure<IISServerOptions>(options =>
           {
               options.AllowSynchronousIO = true;
           });
}
才能正确获取提交的参数(大坑啊)

新增授权验证,实用于api,用于accecToken鉴权的方式.
扩展了颁发token的方法
新增FormDataRequestAnalyzer 接受文件上传和相关参数
2020年8月16日
优化小文件上传功能,支持转发文件相关属性和其他参数
文件参数名为:fiile.{guid},文件参数格式为json,文件内容为data字段,经过base64编码