-
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 #3024 from JeffreySu/Developer
Developer
- Loading branch information
Showing
30 changed files
with
2,057 additions
and
115 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
125 changes: 125 additions & 0 deletions
125
....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,125 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;netcoreapp3.1;net8.0</TargetFrameworks> | ||
<Version>0.19.1</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 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 | ||
</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.4.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<Version>2024.6.6-preview</Version> | ||
<LangVersion>10.0</LangVersion> | ||
<AssemblyName>Senparc.Weixin.All</AssemblyName> | ||
<RootNamespace>Senparc.Weixin.All</RootNamespace> | ||
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild> | ||
<Description> | ||
微信 SDK - Senparc.Weixin SDK 集成模块 | ||
|
||
此模块将自动引用所有 Senparc.Weixin SDK 系列的工具包,包括: | ||
- Senparc.Weixin | ||
- Senparc.Weixin.MP 及其 Middleware | ||
- Senparc.Weixin.Work 及其 Middleware | ||
- Senparc.Weixin.WxOpen 及其 Middleware | ||
- Senparc.Weixin.Open | ||
- Senparc.Weixin.TenPay | ||
- Senparc.Weixin.TenPayV3 | ||
- Senparc.Weixin.Cache.Redis | ||
- Senparc.Weixin.Cache.CsRedis | ||
- Senparc.Weixin.Cache.Memcached | ||
- Senparc.WebSocket | ||
|
||
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.All.dll</Title> | ||
<Summary>微信 SDK for .NET / C#</Summary> | ||
<PackageProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</PackageProjectUrl> | ||
<PackageIcon>icon.jpg</PackageIcon> | ||
<PackageReleaseNotes> | ||
v2024.6.6 创世 | ||
</PackageReleaseNotes> | ||
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>..\BuildOutPut</OutputPath> | ||
<DefineConstants>TRACE;RELEASE</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||
<OutputPath>..\BuildOutPut</OutputPath> | ||
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants> | ||
<DocumentationFile>..\BuildOutPut\Senparc.Weixin.All.XML</DocumentationFile> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<ErrorReport>prompt</ErrorReport> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\Senparc.Weixin\icon.jpg" Pack="true" Visible="false" PackagePath="" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Senparc.WebSocket\src\Senparc.WebSocket\Senparc.WebSocket\Senparc.WebSocket.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.AspNet\Senparc.Weixin.AspNet.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.Cache\Senparc.Weixin.Cache.CsRedis\Senparc.Weixin.Cache.CsRedis.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.Cache\Senparc.Weixin.Cache.Memcached\Senparc.Weixin.Cache.Memcached.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.Cache\Senparc.Weixin.Cache.Redis\Senparc.Weixin.Cache.Redis.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.MP.Middleware\Senparc.Weixin.MP.Middleware.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.MP.MvcExtension\Senparc.Weixin.MP.MvcExtension\Senparc.Weixin.MP.MvcExtension.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.MP\Senparc.Weixin.MP\Senparc.Weixin.MP.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.Open\Senparc.Weixin.Open\Senparc.Weixin.Open.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.TenPay\Senparc.Weixin.TenPayV3\Senparc.Weixin.TenPayV3.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.TenPay\Senparc.Weixin.TenPay\Senparc.Weixin.TenPay.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.Work\Senparc.Weixin.Work\Senparc.Weixin.Work.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.WxOpen.Middleware\Senparc.Weixin.WxOpen.Middleware.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin.WxOpen\src\Senparc.Weixin.WxOpen\Senparc.Weixin.WxOpen\Senparc.Weixin.WxOpen.net8.csproj" /> | ||
<ProjectReference Include="..\Senparc.Weixin\Senparc.Weixin\Senparc.Weixin.net8.csproj" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Senparc.Weixin.All | ||
{ | ||
public static class Welcome | ||
{ | ||
// 使用 Senparc.Weixin.All 一个包即可自动附加所有 Senparc.Weixin.* 项目引用 | ||
|
||
public static string SayHello() | ||
{ | ||
return "Hello Senparc.Weixin.All!"; | ||
} | ||
} | ||
} |
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,4 @@ | ||
## 说明 | ||
|
||
使用 Senparc.Weixin.All 一个包即可自动附加所有 Senparc.Weixin.* 项目引用 | ||
|
92 changes: 92 additions & 0 deletions
92
src/Senparc.Weixin.AspNet/Senparc - Backup.Weixin.AspNet.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,92 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks> | ||
<Version>1.2.1</Version> | ||
<AssemblyName>Senparc.Weixin.AspNet</AssemblyName> | ||
<RootNamespace>Senparc.Weixin.AspNet</RootNamespace> | ||
<!--<OutputType>Library</OutputType>--> | ||
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild> | ||
<Description> | ||
微信 SDK - Senparc.Weixin.AspNet 模块 | ||
|
||
Senparc.Weixin SDK 开源项目: | ||
https://github.com/JeffreySu/WeiXinMPSDK | ||
</Description> | ||
<Copyright>Senparc Copyright © 2004~2024</Copyright> | ||
<PackageTags>微信,weixin,公众号,WeChat,Senparc,盛派,SDK,C#,JSSDK,微信支付,分布式,小程序,MVC,System.Web.Mvc</PackageTags> | ||
<Authors>Jeffrey Su</Authors> | ||
<Owners>Senparc</Owners> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<ProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</ProjectUrl> | ||
<Title>Senparc.Weixin.AspNet.dll</Title> | ||
<Summary>微信公众号SDK for C#</Summary> | ||
<PackageProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</PackageProjectUrl> | ||
<PackageIcon>icon.jpg</PackageIcon> | ||
<PackageReleaseNotes> | ||
v0.1.0 创世 | ||
v0.7.4 | ||
1、优化 UseSenparcWeixin() | ||
2、添加 WeixinResult、FixWeixinBugWeixinResult | ||
v0.8.5.2 修复证书传入参数可能为 null 的问题 | ||
v1.0.0 发布正式版;UseSenparcWeixin() 方法添加 autoCreateApi 参数,用于设置是自动生成微信接口的 API,默认为关闭 | ||
</PackageReleaseNotes> | ||
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl> | ||
<PackageId>Senparc.Weixin.AspNet</PackageId> | ||
</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.Weixin.AspNet.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.Weixin.AspNet.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'"> | ||
<OutputPath>..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.Weixin.AspNet.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'"> | ||
<OutputPath>..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\BuildOutPut\netstandard2.1\Senparc.Weixin.AspNet.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'"> | ||
<OutputPath>..\BuildOutPut\</OutputPath> | ||
<DocumentationFile>..\BuildOutPut\net8.0\Senparc.Weixin.AspNet.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\Senparc.Weixin\icon.jpg" Pack="true" Visible="false" PackagePath="" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Remove="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' "> | ||
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.3.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Senparc.NeuChar.AspNet" Version="1.4.1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Senparc.Weixin\Senparc.Weixin\Senparc.Weixin.net8.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' != 'net462'"> | ||
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions"> | ||
<Version>2.2.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions"> | ||
<Version>2.2.0</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> | ||
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.1.1" /> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.