-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3079 from JeffreySu/Developer
更新基础库,简化 .NET 版本支持,发布新版本
- Loading branch information
Showing
42 changed files
with
2,142 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 126 additions & 0 deletions
126
....WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Senparc - Backup.WebSocket.net8.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;netcoreapp3.1;net8.0</TargetFrameworks> | ||
<Version>1.0.4</Version> | ||
<AssemblyName>Senparc.WebSocket</AssemblyName> | ||
<RootNamespace>Senparc.WebSocket</RootNamespace> | ||
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild> | ||
<Description> | ||
微信 SDK - WebSocket 模块 | ||
|
||
Senparc.Weixin SDK 开源项目: | ||
https://github.com/JeffreySu/WeiXinMPSDK | ||
</Description> | ||
<Copyright>Senparc Copyright © 2004~2024</Copyright> | ||
<PackageTags>微信,weixin,公众号,WeChat,Senparc,盛派,SDK,C#,JSSDK,微信支付,分布式,小程序,WebSocket</PackageTags> | ||
<Authors>Jeffrey Su</Authors> | ||
<Owners>Senparc</Owners> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<ProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</ProjectUrl> | ||
<Title>Senparc.WebSocket.dll</Title> | ||
<Summary>微信 SDK for .NET / C#</Summary> | ||
<PackageProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</PackageProjectUrl> | ||
<PackageIcon>icon.jpg</PackageIcon> | ||
<PackageReleaseNotes> | ||
v0.1.1 完成MessageHandler、WebSocketHandler等基础架构,完成基本消息通讯 | ||
|
||
v0.1.3 优化WebSocket通讯机制 | ||
|
||
v0.2.0 支持 .NET Core | ||
|
||
v0.3.0 支持 .NET Core 2.0 | ||
v0.3.1 | ||
1、提供WebSocketHandler.IsReusable返回值(true) | ||
2、升级Newtonsoft.Json版本至10.0.1 | ||
v0.3.2 注册WebSocketMessageHandler,自定义对象的实例化方法,用以支持Spring等框架的注入 | ||
v0.3.3 常规优化 | ||
v0.4.0 停止对 .net core 1.1 生成的独立版本 | ||
|
||
v0.5.0-rc1 支持 .NET Core 2.1.0 | ||
|
||
v0.5.5 发布支持 .net core 2.1 的正式版 | ||
v0.6.0 支持最新基础库,使用 .NETStandard2.0 统一支持 .NET Core,放弃对 .NET Core 1.x 的单独适配 | ||
v0.7.3 全局使用 .ConfigureAwait(false) 应对异步锁死问题 | ||
v0.8.0 | ||
1、支持 .NET Core SignalR | ||
2、提供 Register 注册方法 | ||
3、优化 WebSocketMesssageHandler | ||
v0.8.1 引用最新版本 CO2NET | ||
v0.8.2 引用最新版本 CO2NET | ||
v0.8.3 提供带符号的 nuget 包(.snupkg) | ||
v0.9.0 使用最新版本 Senparc.Weixin,支持 .NET Core 3.0 | ||
v1.0.3 清理引用项目 | ||
</PackageReleaseNotes> | ||
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>..\..\..\..\BuildOutPut</OutputPath> | ||
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||
<OutputPath>..\..\..\..\BuildOutPut</OutputPath> | ||
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants> | ||
<DocumentationFile>..\..\..\..\BuildOutPut\Senparc.WebSocket.xml</DocumentationFile> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<ErrorReport>prompt</ErrorReport> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'"> | ||
<OutputPath>..\..\..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\..\..\BuildOutPut\net462\Senparc.WebSocket.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'"> | ||
<OutputPath>..\..\..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\..\..\BuildOutPut\netstandard2.0\Senparc.WebSocket.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'"> | ||
<OutputPath>..\..\..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\..\..\BuildOutPut\netstandard2.1\Senparc.WebSocket.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.1|AnyCPU'"> | ||
<OutputPath>..\..\..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\..\..\BuildOutPut\netcoreapp3.1\Senparc.WebSocket.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'"> | ||
<OutputPath>..\..\..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\..\..\BuildOutPut\net8.0\Senparc.WebSocket.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\..\..\..\Senparc.Weixin\icon.jpg" Pack="true" Visible="false" PackagePath="" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' "> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.Web" /> | ||
<!--<Reference Include="System.Web.Optimization" />--> | ||
<Reference Include="System.Web.Routing" /> | ||
<Reference Include="System.Web.Extensions" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' != 'net462' "> | ||
<!--<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />--> | ||
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" /> | ||
<PackageReference Include="System.Threading.Thread" Version="4.3.0" /> | ||
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" /> | ||
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" /> | ||
<!--<PackageReference Include="Microsoft.AspNetCore.Routing" Version="2.2.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.WebSockets" Version="2.2.1" />--> | ||
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Senparc.CO2NET" Version="2.5.1" /> | ||
<PackageReference Include="System.Net.Http" Version="4.3.4" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.1.1" /> | ||
</ItemGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<DefineConstants>TRACE</DefineConstants> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
...ixin.Cache/Senparc.Weixin.Cache.CsRedis/Senparc - Backup.Weixin.Cache.CsRedis.net8.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks> | ||
<Version>1.0.3</Version> | ||
<AssemblyName>Senparc.Weixin.Cache.CsRedis</AssemblyName> | ||
<RootNamespace>Senparc.Weixin.Cache.CsRedis</RootNamespace> | ||
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild> | ||
<Description> | ||
微信 SDK - Redis 模块 | ||
|
||
Senparc.Weixin SDK 开源项目: | ||
https://github.com/JeffreySu/WeiXinMPSDK | ||
</Description> | ||
<Copyright>Senparc Copyright © 2004~2024</Copyright> | ||
<PackageTags>微信,weixin,公众号,WeChat,Senparc,盛派,SDK,C#,JSSDK,微信支付,分布式,小程序,Cache,Redis</PackageTags> | ||
<Authors>Jeffrey Su</Authors> | ||
<Owners>Senparc</Owners> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<ProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</ProjectUrl> | ||
<Title>Senparc.Weixin.Cache.CsRedis.dll</Title> | ||
<Summary>微信 SDK for .NET / C#</Summary> | ||
<PackageProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</PackageProjectUrl> | ||
<PackageIcon>icon.jpg</PackageIcon> | ||
<PackageReleaseNotes> | ||
v0.1.0 | ||
创世 | ||
</PackageReleaseNotes> | ||
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>..\..\BuildOutPut</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||
<OutputPath>..\..\BuildOutPut</OutputPath> | ||
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants> | ||
<DocumentationFile>..\..\BuildOutPut\Senparc.Weixin.Cache.CsRedis.XML</DocumentationFile> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<ErrorReport>prompt</ErrorReport> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'"> | ||
<OutputPath>..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\BuildOutPut\net462\Senparc.Cache.CsRedis.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'"> | ||
<OutputPath>..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\BuildOutPut\netstandard2.0\Senparc.Cache.CsRedis.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'"> | ||
<OutputPath>..\..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\..\BuildOutPut\netstandard2.1\Senparc.Cache.CsRedis.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\..\Senparc.Weixin\icon.jpg" Pack="true" Visible="false" PackagePath="" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Remove="ContainerCacheStrategy\RedisContainerCacheStrategy.RedisUtils.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<!--<PackageReference Include="Senparc.Weixin.Cache.Redis.RedLock" Version="0.1.0" />--> | ||
<!--<PackageReference Include="BinaryFormatter" Version="2.1.4" />--> | ||
<PackageReference Include="Senparc.CO2NET.Cache.CsRedis" Version="1.2.5" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\Senparc.Weixin\Senparc.Weixin\Senparc.Weixin.net8.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.1.1" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.