KJFramework.Message 1.5.0

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

// Install KJFramework.Message as a Cake Tool
#tool nuget:?package=KJFramework.Message&version=1.5.0

KJFramework.Messages, 是.NET平台上企业级别的高性能序列化/反序列化解决方案,它提供了非常专业的自动化解决方案,无论在任何方面都会使您和您的项目在使用序列化/反序列的技术上将成本降到最低。

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
1.6.0 1,846 12/19/2013
1.5.0 1,536 5/7/2013
1.4.3 1,358 4/7/2013
1.4.2 1,284 4/1/2013
1.4.1 1,263 3/28/2013
1.4.0 1,344 1/5/2013
1.3.2 1,293 12/24/2012
1.3.1.1 1,266 12/19/2012
1.3.0 1,516 9/17/2012
1.2.0 1,362 8/23/2012
1.1.1 1,372 8/10/2012
1.1.0 1,345 7/16/2012
1.0.0 1,272 7/16/2012

在实际的应用中,根据业务需求我们需要传输一些大数据量的对象,而往往那些大数据量的对象
所序列化出来的结果是很大的。比如3M,5M等等。KJFramework.Message率先察觉到了此种需求
的存在,特地在本次更新中加入了新的数据类型 Blob.

Blob类型,顾名思义是支持大数据的,这个对象的入口参数需要被传递一个需要进行压缩的字节数组。
而Blob类型内部自带的压缩效果(目前仅支持GZip/BZip2),将会很好的支持大数据量压缩序列化。
我们需要在初始化Blob对象的时候,为其指定一个压缩算法。

在KJFramework.Message内部的日志输出上,也为Blob对象做出了特殊处理。考虑到Blob对象内部所包含的数据
通常会很大,而这样大的数据打到日志文件上会产生很"可观"的文件大小,所以我们这次破例,不会在日志描述信息中
输出Blob类型内部的数据细节,而恰恰相反,当您调用Blob类型的ToString()方法时, 它将会输出内部数据的统计信息,
比如原始大小,压缩后大小,压缩比例等等数据 :)

另外,我们为本次的新数据类型增加了单元测试。