This commit is contained in:
wkj 2025-02-24 17:50:17 +08:00
parent a266148661
commit 479739738a
353 changed files with 2252 additions and 68064 deletions

View File

@ -1,27 +0,0 @@
# 请参阅 https://aka.ms/customizecontainer 以了解如何自定义调试容器,以及 Visual Studio 如何使用此 Dockerfile 生成映像以更快地进行调试。
# 此阶段用于在快速模式(默认为调试配置)下从 VS 运行时
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
WORKDIR /app
# 此阶段用于生成服务项目
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["WebSocketServerDemo/WebSocketServerDemo.csproj", "WebSocketServerDemo/"]
RUN dotnet restore "./WebSocketServerDemo/WebSocketServerDemo.csproj"
COPY . .
WORKDIR "/src/WebSocketServerDemo"
RUN dotnet build "./WebSocketServerDemo.csproj" -c $BUILD_CONFIGURATION -o /app/build
# 此阶段用于发布要复制到最终阶段的服务项目
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "./WebSocketServerDemo.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
# 此阶段在生产中使用,或在常规模式下从 VS 运行时使用(在不使用调试配置时为默认值)
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "WebSocketServerDemo.dll"]

View File

@ -1,88 +0,0 @@
using TouchSocket.Core;
using TouchSocket.Http;
using TouchSocket.Http.WebSockets;
using TouchSocket.Sockets;
var service = new HttpService();
await service.SetupAsync(new TouchSocketConfig()//加载配置
.SetListenIPHosts(7789)
.ConfigureContainer(a =>
{
a.AddConsoleLogger();
})
.ConfigurePlugins(a =>
{
a.UseWebSocket()//添加WebSocket功能
.SetWSUrl("/ws")//设置url直接可以连接。
.UseAutoPong();//当收到ping报文时自动回应pong
a.Add<MyReadWebSocketPlugin>();
}));
await service.StartAsync();
service.Logger.Info("websocket服务器已启动");
Console.ReadLine();
class MyReadWebSocketPlugin : PluginBase, IWebSocketReceivedPlugin, IWebSocketHandshakedPlugin
{
private readonly ILog m_logger;
public MyReadWebSocketPlugin(ILog logger)
{
this.m_logger = logger;
}
public async Task OnWebSocketHandshaked(IWebSocket client, HttpContextEventArgs e)
{
await e.InvokeNext();
if (client.Client is IHttpSessionClient httpSessionClient)
{
var serviceStr = httpSessionClient.Id;
await client.SendAsync(serviceStr);
}
}
public async Task OnWebSocketReceived(IWebSocket client, WSDataFrameEventArgs e)
{
switch (e.DataFrame.Opcode)
{
case WSDataType.Cont:
m_logger.Info($"收到中间数据,长度为:{e.DataFrame.PayloadLength}");
return;
case WSDataType.Text:
m_logger.Info(e.DataFrame.ToText());
return;
case WSDataType.Binary:
if (e.DataFrame.FIN)
{
m_logger.Info($"收到二进制数据,长度为:{e.DataFrame.PayloadLength}");
}
else
{
m_logger.Info($"收到未结束的二进制数据,长度为:{e.DataFrame.PayloadLength}");
}
return;
case WSDataType.Close:
{
}
return;
case WSDataType.Ping:
break;
case WSDataType.Pong:
break;
default:
break;
}
await e.InvokeNext();
}
}

View File

@ -1,10 +0,0 @@
{
"profiles": {
"WebSocketServerDemo": {
"commandName": "Project"
},
"Container (Dockerfile)": {
"commandName": "Docker"
}
}
}

View File

@ -1,16 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="TouchSocket.Http" Version="3.0.14" />
</ItemGroup>
</Project>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>WebSocketServerDemo</ActiveDebugProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>

View File

@ -1,191 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"WebSocketServerDemo/1.0.0": {
"dependencies": {
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "1.21.0",
"TouchSocket.Http": "3.0.14"
},
"runtime": {
"WebSocketServerDemo.dll": {}
}
},
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.21.0": {},
"Newtonsoft.Json/13.0.3": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.3.27908"
}
}
},
"System.Memory/4.5.5": {},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
"System.Text.Encodings.Web/8.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/net6.0/System.Text.Encodings.Web.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
},
"runtimeTargets": {
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll": {
"rid": "browser",
"assetType": "runtime",
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
}
},
"System.Text.Json/8.0.5": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "8.0.0"
},
"runtime": {
"lib/net6.0/System.Text.Json.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.1024.46610"
}
}
},
"System.Threading.Tasks.Extensions/4.5.4": {},
"TouchSocket/3.0.14": {
"dependencies": {
"TouchSocket.Core": "3.0.14"
},
"runtime": {
"lib/net6.0/TouchSocket.dll": {
"assemblyVersion": "3.0.14.0",
"fileVersion": "3.0.14.0"
}
},
"resources": {
"lib/net6.0/en-US/TouchSocket.resources.dll": {
"locale": "en-US"
}
}
},
"TouchSocket.Core/3.0.14": {
"dependencies": {
"Newtonsoft.Json": "13.0.3",
"System.Memory": "4.5.5",
"System.Text.Json": "8.0.5",
"System.Threading.Tasks.Extensions": "4.5.4"
},
"runtime": {
"lib/net6.0/TouchSocket.Core.dll": {
"assemblyVersion": "3.0.14.0",
"fileVersion": "3.0.14.0"
}
},
"resources": {
"lib/net6.0/en-US/TouchSocket.Core.resources.dll": {
"locale": "en-US"
}
}
},
"TouchSocket.Http/3.0.14": {
"dependencies": {
"TouchSocket": "3.0.14"
},
"runtime": {
"lib/net6.0/TouchSocket.Http.dll": {
"assemblyVersion": "3.0.14.0",
"fileVersion": "3.0.14.0"
}
},
"resources": {
"lib/net6.0/en-US/TouchSocket.Http.resources.dll": {
"locale": "en-US"
}
}
}
}
},
"libraries": {
"WebSocketServerDemo/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.21.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-8NudeHOE56YsY59HYY89akRMup8Ho+7Y3cADTGjajjWroXVU9RQai2nA6PfteB8AuzmRHZ5NZQB2BnWhQEul5g==",
"path": "microsoft.visualstudio.azure.containers.tools.targets/1.21.0",
"hashPath": "microsoft.visualstudio.azure.containers.tools.targets.1.21.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"path": "newtonsoft.json/13.0.3",
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
},
"System.Memory/4.5.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"path": "system.memory/4.5.5",
"hashPath": "system.memory.4.5.5.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
},
"System.Text.Encodings.Web/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
"path": "system.text.encodings.web/8.0.0",
"hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512"
},
"System.Text.Json/8.0.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==",
"path": "system.text.json/8.0.5",
"hashPath": "system.text.json.8.0.5.nupkg.sha512"
},
"System.Threading.Tasks.Extensions/4.5.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==",
"path": "system.threading.tasks.extensions/4.5.4",
"hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512"
},
"TouchSocket/3.0.14": {
"type": "package",
"serviceable": true,
"sha512": "sha512-8gVdGkBI7GJf9q6gOJ3JkyeGTBT6D98tZLvbdhMIkiFlrzhpncxBWBMvx0cpeAMCmVtpv9y/KDVIIC21FuXkbw==",
"path": "touchsocket/3.0.14",
"hashPath": "touchsocket.3.0.14.nupkg.sha512"
},
"TouchSocket.Core/3.0.14": {
"type": "package",
"serviceable": true,
"sha512": "sha512-G2oU19Mq2uwIbK99RgKx9+UXrIAWzzqdzR5g07WKoMvFWIfraSzAn/ipmnom7wuzQpfMFZ4srxHTP5UUqmJK9g==",
"path": "touchsocket.core/3.0.14",
"hashPath": "touchsocket.core.3.0.14.nupkg.sha512"
},
"TouchSocket.Http/3.0.14": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UJlQ7Vf94fS6i4ScPQOlcn7LUQCksJBHFpba1Rd0Kjx83MJ70hlcYuxqfbJsHzHISqZOFpGKrn8Y8Wa4QiQ8mA==",
"path": "touchsocket.http/3.0.14",
"hashPath": "touchsocket.http.3.0.14.nupkg.sha512"
}
}
}

View File

@ -1,9 +0,0 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}

View File

@ -1 +0,0 @@
c632dfabe670c6f1b7561f03c473a18b23090faef18bd8a9776e4aa268ec98fd

View File

@ -1,15 +0,0 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = WebSocketServerDemo
build_property.ProjectDir = D:\WorkSpace\ZhiYi\WebSocketServerDemo\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 6.0
build_property.EnableCodeStyleSeverity =

View File

@ -1,8 +0,0 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -1 +0,0 @@
2859689639774e711f68d4465950bddeaf76eb36c0c0c1334185267013cf1239

View File

@ -1,26 +0,0 @@
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\WebSocketServerDemo.exe
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\WebSocketServerDemo.deps.json
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\WebSocketServerDemo.runtimeconfig.json
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\WebSocketServerDemo.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\WebSocketServerDemo.pdb
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\Newtonsoft.Json.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\System.Text.Encodings.Web.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\System.Text.Json.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\TouchSocket.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\TouchSocket.Core.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\TouchSocket.Http.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\en-US\TouchSocket.resources.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\en-US\TouchSocket.Core.resources.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\en-US\TouchSocket.Http.resources.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\bin\Debug\net6.0\runtimes\browser\lib\net6.0\System.Text.Encodings.Web.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.csproj.AssemblyReference.cache
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.GeneratedMSBuildEditorConfig.editorconfig
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.AssemblyInfoInputs.cache
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.AssemblyInfo.cs
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.csproj.CoreCompileInputs.cache
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocke.61CF1F96.Up2Date
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\refint\WebSocketServerDemo.dll
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.pdb
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\WebSocketServerDemo.genruntimeconfig.cache
D:\WorkSpace\ZhiYi\WebSocketServerDemo\obj\Debug\net6.0\ref\WebSocketServerDemo.dll

View File

@ -1 +0,0 @@
4c96750ffa2c97627137739b1ca85fb6344ded8981a6f9e2be57f5e109b73134

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json\8.0.5\buildTransitive\net6.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\8.0.5\buildTransitive\net6.0\System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.visualstudio.azure.containers.tools.targets\1.21.0\build\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.visualstudio.azure.containers.tools.targets\1.21.0\build\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.targets')" />
</ImportGroup>
</Project>

View File

@ -1,687 +0,0 @@
{
"version": 3,
"targets": {
"net6.0": {
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.21.0": {
"type": "package",
"build": {
"build/Microsoft.VisualStudio.Azure.Containers.Tools.Targets.props": {},
"build/Microsoft.VisualStudio.Azure.Containers.Tools.Targets.targets": {}
}
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"compile": {
"lib/net6.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}
},
"System.Memory/4.5.5": {
"type": "package",
"compile": {
"ref/netcoreapp2.1/_._": {}
},
"runtime": {
"lib/netcoreapp2.1/_._": {}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"compile": {
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
}
},
"System.Text.Encodings.Web/8.0.0": {
"type": "package",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"compile": {
"lib/net6.0/System.Text.Encodings.Web.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/System.Text.Encodings.Web.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/_._": {}
},
"runtimeTargets": {
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll": {
"assetType": "runtime",
"rid": "browser"
}
}
},
"System.Text.Json/8.0.5": {
"type": "package",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "8.0.0"
},
"compile": {
"lib/net6.0/System.Text.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/System.Text.Json.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/System.Text.Json.targets": {}
}
},
"System.Threading.Tasks.Extensions/4.5.4": {
"type": "package",
"compile": {
"ref/netcoreapp2.1/_._": {}
},
"runtime": {
"lib/netcoreapp2.1/_._": {}
}
},
"TouchSocket/3.0.14": {
"type": "package",
"dependencies": {
"TouchSocket.Core": "3.0.14"
},
"compile": {
"lib/net6.0/TouchSocket.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/TouchSocket.dll": {
"related": ".xml"
}
},
"resource": {
"lib/net6.0/en-US/TouchSocket.resources.dll": {
"locale": "en-US"
}
}
},
"TouchSocket.Core/3.0.14": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "13.0.3",
"System.Memory": "4.5.5",
"System.Text.Json": "8.0.5",
"System.Threading.Tasks.Extensions": "4.5.4"
},
"compile": {
"lib/net6.0/TouchSocket.Core.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/TouchSocket.Core.dll": {
"related": ".xml"
}
},
"resource": {
"lib/net6.0/en-US/TouchSocket.Core.resources.dll": {
"locale": "en-US"
}
}
},
"TouchSocket.Http/3.0.14": {
"type": "package",
"dependencies": {
"TouchSocket": "3.0.14"
},
"compile": {
"lib/net6.0/TouchSocket.Http.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/TouchSocket.Http.dll": {
"related": ".xml"
}
},
"resource": {
"lib/net6.0/en-US/TouchSocket.Http.resources.dll": {
"locale": "en-US"
}
}
}
}
},
"libraries": {
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.21.0": {
"sha512": "8NudeHOE56YsY59HYY89akRMup8Ho+7Y3cADTGjajjWroXVU9RQai2nA6PfteB8AuzmRHZ5NZQB2BnWhQEul5g==",
"type": "package",
"path": "microsoft.visualstudio.azure.containers.tools.targets/1.21.0",
"hasTools": true,
"files": [
".nupkg.metadata",
".signature.p7s",
"CHANGELOG.md",
"EULA.md",
"ThirdPartyNotices.txt",
"build/Container.props",
"build/Container.targets",
"build/Microsoft.VisualStudio.Azure.Containers.Tools.Targets.props",
"build/Microsoft.VisualStudio.Azure.Containers.Tools.Targets.targets",
"build/Rules/GeneralBrowseObject.xaml",
"build/Rules/cs-CZ/GeneralBrowseObject.xaml",
"build/Rules/de-DE/GeneralBrowseObject.xaml",
"build/Rules/es-ES/GeneralBrowseObject.xaml",
"build/Rules/fr-FR/GeneralBrowseObject.xaml",
"build/Rules/it-IT/GeneralBrowseObject.xaml",
"build/Rules/ja-JP/GeneralBrowseObject.xaml",
"build/Rules/ko-KR/GeneralBrowseObject.xaml",
"build/Rules/pl-PL/GeneralBrowseObject.xaml",
"build/Rules/pt-BR/GeneralBrowseObject.xaml",
"build/Rules/ru-RU/GeneralBrowseObject.xaml",
"build/Rules/tr-TR/GeneralBrowseObject.xaml",
"build/Rules/zh-CN/GeneralBrowseObject.xaml",
"build/Rules/zh-TW/GeneralBrowseObject.xaml",
"build/ToolsTarget.props",
"build/ToolsTarget.targets",
"icon.png",
"microsoft.visualstudio.azure.containers.tools.targets.1.21.0.nupkg.sha512",
"microsoft.visualstudio.azure.containers.tools.targets.nuspec",
"tools/Microsoft.VisualStudio.Containers.Tools.Common.dll",
"tools/Microsoft.VisualStudio.Containers.Tools.Shared.dll",
"tools/Microsoft.VisualStudio.Containers.Tools.Tasks.dll",
"tools/Newtonsoft.Json.dll",
"tools/System.Security.Principal.Windows.dll",
"tools/cs/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/cs/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/cs/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/de/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/de/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/de/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/es/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/es/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/es/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/fr/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/fr/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/fr/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/it/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/it/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/it/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/ja/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/ja/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/ja/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/ko/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/ko/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/ko/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/pl/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/pl/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/pl/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/pt-BR/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/pt-BR/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/pt-BR/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/ru/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/ru/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/ru/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/tr/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/tr/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/tr/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/zh-Hans/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/zh-Hans/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/zh-Hans/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll",
"tools/zh-Hant/Microsoft.VisualStudio.Containers.Tools.Common.resources.dll",
"tools/zh-Hant/Microsoft.VisualStudio.Containers.Tools.Shared.resources.dll",
"tools/zh-Hant/Microsoft.VisualStudio.Containers.Tools.Tasks.resources.dll"
]
},
"Newtonsoft.Json/13.0.3": {
"sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"type": "package",
"path": "newtonsoft.json/13.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"README.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/net6.0/Newtonsoft.Json.dll",
"lib/net6.0/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.3.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"System.Memory/4.5.5": {
"sha512": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"type": "package",
"path": "system.memory/4.5.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/System.Memory.dll",
"lib/net461/System.Memory.xml",
"lib/netcoreapp2.1/_._",
"lib/netstandard1.1/System.Memory.dll",
"lib/netstandard1.1/System.Memory.xml",
"lib/netstandard2.0/System.Memory.dll",
"lib/netstandard2.0/System.Memory.xml",
"ref/netcoreapp2.1/_._",
"system.memory.4.5.5.nupkg.sha512",
"system.memory.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"type": "package",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"system.runtime.compilerservices.unsafe.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Text.Encodings.Web/8.0.0": {
"sha512": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
"type": "package",
"path": "system.text.encodings.web/8.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/System.Text.Encodings.Web.targets",
"buildTransitive/net462/_._",
"buildTransitive/net6.0/_._",
"buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets",
"lib/net462/System.Text.Encodings.Web.dll",
"lib/net462/System.Text.Encodings.Web.xml",
"lib/net6.0/System.Text.Encodings.Web.dll",
"lib/net6.0/System.Text.Encodings.Web.xml",
"lib/net7.0/System.Text.Encodings.Web.dll",
"lib/net7.0/System.Text.Encodings.Web.xml",
"lib/net8.0/System.Text.Encodings.Web.dll",
"lib/net8.0/System.Text.Encodings.Web.xml",
"lib/netstandard2.0/System.Text.Encodings.Web.dll",
"lib/netstandard2.0/System.Text.Encodings.Web.xml",
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.dll",
"runtimes/browser/lib/net6.0/System.Text.Encodings.Web.xml",
"runtimes/browser/lib/net7.0/System.Text.Encodings.Web.dll",
"runtimes/browser/lib/net7.0/System.Text.Encodings.Web.xml",
"runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll",
"runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml",
"system.text.encodings.web.8.0.0.nupkg.sha512",
"system.text.encodings.web.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Text.Json/8.0.5": {
"sha512": "0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==",
"type": "package",
"path": "system.text.json/8.0.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll",
"buildTransitive/net461/System.Text.Json.targets",
"buildTransitive/net462/System.Text.Json.targets",
"buildTransitive/net6.0/System.Text.Json.targets",
"buildTransitive/netcoreapp2.0/System.Text.Json.targets",
"buildTransitive/netstandard2.0/System.Text.Json.targets",
"lib/net462/System.Text.Json.dll",
"lib/net462/System.Text.Json.xml",
"lib/net6.0/System.Text.Json.dll",
"lib/net6.0/System.Text.Json.xml",
"lib/net7.0/System.Text.Json.dll",
"lib/net7.0/System.Text.Json.xml",
"lib/net8.0/System.Text.Json.dll",
"lib/net8.0/System.Text.Json.xml",
"lib/netstandard2.0/System.Text.Json.dll",
"lib/netstandard2.0/System.Text.Json.xml",
"system.text.json.8.0.5.nupkg.sha512",
"system.text.json.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Threading.Tasks.Extensions/4.5.4": {
"sha512": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==",
"type": "package",
"path": "system.threading.tasks.extensions/4.5.4",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net461/System.Threading.Tasks.Extensions.dll",
"lib/net461/System.Threading.Tasks.Extensions.xml",
"lib/netcoreapp2.1/_._",
"lib/netstandard1.0/System.Threading.Tasks.Extensions.dll",
"lib/netstandard1.0/System.Threading.Tasks.Extensions.xml",
"lib/netstandard2.0/System.Threading.Tasks.Extensions.dll",
"lib/netstandard2.0/System.Threading.Tasks.Extensions.xml",
"lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll",
"lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/netcoreapp2.1/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"system.threading.tasks.extensions.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"TouchSocket/3.0.14": {
"sha512": "8gVdGkBI7GJf9q6gOJ3JkyeGTBT6D98tZLvbdhMIkiFlrzhpncxBWBMvx0cpeAMCmVtpv9y/KDVIIC21FuXkbw==",
"type": "package",
"path": "touchsocket/3.0.14",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.txt",
"lib/net45/TouchSocket.dll",
"lib/net45/TouchSocket.xml",
"lib/net45/en-US/TouchSocket.resources.dll",
"lib/net462/TouchSocket.dll",
"lib/net462/TouchSocket.xml",
"lib/net462/en-US/TouchSocket.resources.dll",
"lib/net472/TouchSocket.dll",
"lib/net472/TouchSocket.xml",
"lib/net472/en-US/TouchSocket.resources.dll",
"lib/net481/TouchSocket.dll",
"lib/net481/TouchSocket.xml",
"lib/net481/en-US/TouchSocket.resources.dll",
"lib/net6.0/TouchSocket.dll",
"lib/net6.0/TouchSocket.xml",
"lib/net6.0/en-US/TouchSocket.resources.dll",
"lib/net8.0/TouchSocket.dll",
"lib/net8.0/TouchSocket.xml",
"lib/net8.0/en-US/TouchSocket.resources.dll",
"lib/net9.0/TouchSocket.dll",
"lib/net9.0/TouchSocket.xml",
"lib/net9.0/en-US/TouchSocket.resources.dll",
"lib/netstandard2.0/TouchSocket.dll",
"lib/netstandard2.0/TouchSocket.xml",
"lib/netstandard2.0/en-US/TouchSocket.resources.dll",
"lib/netstandard2.1/TouchSocket.dll",
"lib/netstandard2.1/TouchSocket.xml",
"lib/netstandard2.1/en-US/TouchSocket.resources.dll",
"logo.png",
"touchsocket.3.0.14.nupkg.sha512",
"touchsocket.nuspec"
]
},
"TouchSocket.Core/3.0.14": {
"sha512": "G2oU19Mq2uwIbK99RgKx9+UXrIAWzzqdzR5g07WKoMvFWIfraSzAn/ipmnom7wuzQpfMFZ4srxHTP5UUqmJK9g==",
"type": "package",
"path": "touchsocket.core/3.0.14",
"hasTools": true,
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.txt",
"analyzers/dotnet/cs/TouchSocket.Core.SourceGenerator.dll",
"lib/net45/TouchSocket.Core.dll",
"lib/net45/TouchSocket.Core.xml",
"lib/net45/en-US/TouchSocket.Core.resources.dll",
"lib/net462/TouchSocket.Core.dll",
"lib/net462/TouchSocket.Core.xml",
"lib/net462/en-US/TouchSocket.Core.resources.dll",
"lib/net472/TouchSocket.Core.dll",
"lib/net472/TouchSocket.Core.xml",
"lib/net472/en-US/TouchSocket.Core.resources.dll",
"lib/net481/TouchSocket.Core.dll",
"lib/net481/TouchSocket.Core.xml",
"lib/net481/en-US/TouchSocket.Core.resources.dll",
"lib/net6.0/TouchSocket.Core.dll",
"lib/net6.0/TouchSocket.Core.xml",
"lib/net6.0/en-US/TouchSocket.Core.resources.dll",
"lib/net8.0/TouchSocket.Core.dll",
"lib/net8.0/TouchSocket.Core.xml",
"lib/net8.0/en-US/TouchSocket.Core.resources.dll",
"lib/net9.0/TouchSocket.Core.dll",
"lib/net9.0/TouchSocket.Core.xml",
"lib/net9.0/en-US/TouchSocket.Core.resources.dll",
"lib/netstandard2.0/TouchSocket.Core.dll",
"lib/netstandard2.0/TouchSocket.Core.xml",
"lib/netstandard2.0/en-US/TouchSocket.Core.resources.dll",
"lib/netstandard2.1/TouchSocket.Core.dll",
"lib/netstandard2.1/TouchSocket.Core.xml",
"lib/netstandard2.1/en-US/TouchSocket.Core.resources.dll",
"logo.png",
"tools/install.ps1",
"tools/uninstall.ps1",
"touchsocket.core.3.0.14.nupkg.sha512",
"touchsocket.core.nuspec"
]
},
"TouchSocket.Http/3.0.14": {
"sha512": "UJlQ7Vf94fS6i4ScPQOlcn7LUQCksJBHFpba1Rd0Kjx83MJ70hlcYuxqfbJsHzHISqZOFpGKrn8Y8Wa4QiQ8mA==",
"type": "package",
"path": "touchsocket.http/3.0.14",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.txt",
"lib/net45/TouchSocket.Http.dll",
"lib/net45/TouchSocket.Http.xml",
"lib/net45/en-US/TouchSocket.Http.resources.dll",
"lib/net462/TouchSocket.Http.dll",
"lib/net462/TouchSocket.Http.xml",
"lib/net462/en-US/TouchSocket.Http.resources.dll",
"lib/net472/TouchSocket.Http.dll",
"lib/net472/TouchSocket.Http.xml",
"lib/net472/en-US/TouchSocket.Http.resources.dll",
"lib/net481/TouchSocket.Http.dll",
"lib/net481/TouchSocket.Http.xml",
"lib/net481/en-US/TouchSocket.Http.resources.dll",
"lib/net6.0/TouchSocket.Http.dll",
"lib/net6.0/TouchSocket.Http.xml",
"lib/net6.0/en-US/TouchSocket.Http.resources.dll",
"lib/net8.0/TouchSocket.Http.dll",
"lib/net8.0/TouchSocket.Http.xml",
"lib/net8.0/en-US/TouchSocket.Http.resources.dll",
"lib/net9.0/TouchSocket.Http.dll",
"lib/net9.0/TouchSocket.Http.xml",
"lib/net9.0/en-US/TouchSocket.Http.resources.dll",
"lib/netstandard2.0/TouchSocket.Http.dll",
"lib/netstandard2.0/TouchSocket.Http.xml",
"lib/netstandard2.0/en-US/TouchSocket.Http.resources.dll",
"lib/netstandard2.1/TouchSocket.Http.dll",
"lib/netstandard2.1/TouchSocket.Http.xml",
"lib/netstandard2.1/en-US/TouchSocket.Http.resources.dll",
"logo.png",
"touchsocket.http.3.0.14.nupkg.sha512",
"touchsocket.http.nuspec"
]
}
},
"projectFileDependencyGroups": {
"net6.0": [
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets >= 1.21.0",
"TouchSocket.Http >= 3.0.14"
]
},
"packageFolders": {
"C:\\Users\\Administrator\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\WorkSpace\\ZhiYi\\WebSocketServerDemo\\WebSocketServerDemo.csproj",
"projectName": "WebSocketServerDemo",
"projectPath": "D:\\WorkSpace\\ZhiYi\\WebSocketServerDemo\\WebSocketServerDemo.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\WorkSpace\\ZhiYi\\WebSocketServerDemo\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": {
"target": "Package",
"version": "[1.21.0, )"
},
"TouchSocket.Http": {
"target": "Package",
"version": "[3.0.14, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -1,19 +0,0 @@
{
"version": 2,
"dgSpecHash": "xpqtCo2lwTo=",
"success": true,
"projectFilePath": "D:\\WorkSpace\\ZhiYi\\WebSocketServerDemo\\WebSocketServerDemo.csproj",
"expectedPackageFiles": [
"C:\\Users\\Administrator\\.nuget\\packages\\microsoft.visualstudio.azure.containers.tools.targets\\1.21.0\\microsoft.visualstudio.azure.containers.tools.targets.1.21.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.text.encodings.web\\8.0.0\\system.text.encodings.web.8.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.text.json\\8.0.5\\system.text.json.8.0.5.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\touchsocket\\3.0.14\\touchsocket.3.0.14.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\touchsocket.core\\3.0.14\\touchsocket.core.3.0.14.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\touchsocket.http\\3.0.14\\touchsocket.http.3.0.14.nupkg.sha512"
],
"logs": []
}

View File

@ -13,7 +13,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZhiYi.Core.Grpc.Service.Api
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ZhiYi.Core.Service", "ZhiYi.Core.Service", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ZhiYi.Core.Service", "ZhiYi.Core.Service", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebSocketServerDemo", "WebSocketServerDemo\WebSocketServerDemo.csproj", "{891D6EDF-8340-4698-A475-5A23CA42E2A0}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZhiYi.Core.Http.Connection.Api", "ZhiYi.Core.Http.Connection.Api\ZhiYi.Core.Http.Connection.Api.csproj", "{21EBB436-AF88-4E6B-9251-743AC9BC6514}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -37,10 +37,10 @@ Global
{020AA9A3-AB79-4F1E-95FD-B2B3264EAF59}.Debug|Any CPU.Build.0 = Debug|Any CPU {020AA9A3-AB79-4F1E-95FD-B2B3264EAF59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{020AA9A3-AB79-4F1E-95FD-B2B3264EAF59}.Release|Any CPU.ActiveCfg = Release|Any CPU {020AA9A3-AB79-4F1E-95FD-B2B3264EAF59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{020AA9A3-AB79-4F1E-95FD-B2B3264EAF59}.Release|Any CPU.Build.0 = Release|Any CPU {020AA9A3-AB79-4F1E-95FD-B2B3264EAF59}.Release|Any CPU.Build.0 = Release|Any CPU
{891D6EDF-8340-4698-A475-5A23CA42E2A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {21EBB436-AF88-4E6B-9251-743AC9BC6514}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{891D6EDF-8340-4698-A475-5A23CA42E2A0}.Debug|Any CPU.Build.0 = Debug|Any CPU {21EBB436-AF88-4E6B-9251-743AC9BC6514}.Debug|Any CPU.Build.0 = Debug|Any CPU
{891D6EDF-8340-4698-A475-5A23CA42E2A0}.Release|Any CPU.ActiveCfg = Release|Any CPU {21EBB436-AF88-4E6B-9251-743AC9BC6514}.Release|Any CPU.ActiveCfg = Release|Any CPU
{891D6EDF-8340-4698-A475-5A23CA42E2A0}.Release|Any CPU.Build.0 = Release|Any CPU {21EBB436-AF88-4E6B-9251-743AC9BC6514}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
@ -50,7 +50,7 @@ Global
{B05B7AEC-7556-4229-9A38-0CA37F1188D4} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} {B05B7AEC-7556-4229-9A38-0CA37F1188D4} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{7A4D462B-2616-47E7-9520-1CE9049F9CCB} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} {7A4D462B-2616-47E7-9520-1CE9049F9CCB} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{020AA9A3-AB79-4F1E-95FD-B2B3264EAF59} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} {020AA9A3-AB79-4F1E-95FD-B2B3264EAF59} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{891D6EDF-8340-4698-A475-5A23CA42E2A0} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} {21EBB436-AF88-4E6B-9251-743AC9BC6514} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CABDBACA-2A29-4DBF-80A5-6BFE48423A36} SolutionGuid = {CABDBACA-2A29-4DBF-80A5-6BFE48423A36}

View File

@ -1,5 +1,6 @@
using ZhiYi.Core.Application.RedisServices;
using ZhiYi.Core.Application.WebSocket; using ZhiYi.Core.Application.WebSocket;
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);
@ -11,6 +12,8 @@ builder.Services.AddControllers(option =>
{ {
jsonOption.JsonSerializerOptions.PropertyNamingPolicy = null; //禁用小驼峰,实体返回时保持原有大小写格式 jsonOption.JsonSerializerOptions.PropertyNamingPolicy = null; //禁用小驼峰,实体返回时保持原有大小写格式
}); });
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
//grpc //grpc
builder.Services.AddGrpc(); builder.Services.AddGrpc();
@ -76,6 +79,7 @@ builder.Services.AddSingleton<ICaptchaAppService, CaptchaAppService>();
builder.Services.AddSingleton<IConnectionClientManagerService, ConnectionClientManagerService>(); builder.Services.AddSingleton<IConnectionClientManagerService, ConnectionClientManagerService>();
builder.Services.AddScoped<CaptchaService>(); builder.Services.AddScoped<CaptchaService>();
builder.Services.AddScoped<TokenService>(); builder.Services.AddScoped<TokenService>();
builder.Services.AddSingleton<SubscribeAndPublishService>();
builder.Configuration.AddJsonFile($"{AppContext.BaseDirectory}/appsettings.{builder.Environment.EnvironmentName}.json", true, true); builder.Configuration.AddJsonFile($"{AppContext.BaseDirectory}/appsettings.{builder.Environment.EnvironmentName}.json", true, true);
/*builder.Services.AddAutoMapper(config => /*builder.Services.AddAutoMapper(config =>
{ {
@ -126,7 +130,7 @@ app.UseMiddleware<SignatureValidationMiddleware>();
//app.UseAuthentication(appBuilder => appBuilder Disabled = true) //app.UseAuthentication(appBuilder => appBuilder Disabled = true)
app.UseStaticFiles(); app.UseStaticFiles();
var serviceManger = app.Services.GetRequiredService<IConnectionClientManagerService>(); var serviceManger = app.Services.GetRequiredService<IConnectionClientManagerService>();
var subService = app.Services.GetRequiredService<SubscribeAndPublishService>();
//websocket服务 //websocket服务
var service = new HttpService(); var service = new HttpService();
@ -141,7 +145,7 @@ await service.SetupAsync(new TouchSocketConfig()//
a.UseWebSocket()//添加WebSocket功能 a.UseWebSocket()//添加WebSocket功能
.SetWSUrl("/ws")//设置url直接可以连接。 .SetWSUrl("/ws")//设置url直接可以连接。
.UseAutoPong();//当收到ping报文时自动回应pong .UseAutoPong();//当收到ping报文时自动回应pong
a.Add(new WebSocketPlugin(serviceManger)); a.Add(new WebSocketPlugin(serviceManger, subService));
})); }));
await service.StartAsync(); await service.StartAsync();

View File

@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\common.props"/>
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>True</GenerateDocumentationFile> <GenerateDocumentationFile>True</GenerateDocumentationFile>
@ -11,14 +10,12 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AutoMapper" Version="11.0.0" /> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="$(AutoMapper_Extensions_Microsoft_DependencyInjection_Version)" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="11.0.0" /> <PackageReference Include="Grpc.AspNetCore" Version="$(Grpc_AspNetCore_Version)" />
<PackageReference Include="Grpc.AspNetCore" Version="2.47.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(Microsoft_AspNetCore_Authentication_JwtBearer_Version)" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.36" /> <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="$(Microsoft_VisualStudio_Azure_Containers_Tools_Targets_Version)" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> <PackageReference Include="NLog.Web.AspNetCore" Version="$(NLog_Web_AspNetCore_Version)" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.0.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="$(Swashbuckle_AspNetCore_Version)" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="TouchSocket.Http" Version="3.0.14" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

Some files were not shown because too many files have changed in this diff Show More