add(tools):添加signalR调试工具

This commit is contained in:
西街长安 2025-12-01 20:47:16 +08:00
commit b43d4a6a92
641 changed files with 8603 additions and 1 deletions

View File

@ -0,0 +1,27 @@
using IM_API.Interface.Services;
using Microsoft.AspNetCore.SignalR;
using System.Security.Claims;
namespace IM_API.Hubs
{
public class ChatHub:Hub
{
private IJWTService _JWTService;
public ChatHub(IJWTService jWTService)
{
_JWTService = jWTService;
}
public override Task OnConnectedAsync()
{
var userIdStr = Context.User.FindFirstValue(ClaimTypes.NameIdentifier);
int userId = int.Parse(userIdStr);
Console.WriteLine(userId);
return base.OnConnectedAsync();
}
public async Task SendMessage(string user,string message)
{
await Clients.Caller.SendAsync("ReceiveMessage", "qwfqwfqw","test");
}
}
}

View File

@ -13,6 +13,7 @@
<PackageReference Include="AutoMapper" Version="12.0.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.21" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.21">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

View File

@ -1,5 +1,6 @@
using IM_API.Configs;
using IM_API.Hubs;
using IM_API.Models;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.EntityFrameworkCore;
@ -42,7 +43,6 @@ namespace IM_API
policy.AllowAnyHeader()
.AllowAnyMethod()
.AllowAnyHeader()
.AllowAnyOrigin()
.AllowAnyOrigin();
});
});
@ -104,6 +104,8 @@ namespace IM_API
var app = builder.Build();
app.UseCors();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
@ -120,6 +122,8 @@ namespace IM_API
app.MapControllers();
app.MapHub<ChatHub>("/chat").RequireCors();
app.Run();
}
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,57 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|solutionrelative:form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|c:\\users\\nanxun\\documents\\im\\backend\\signalrtest\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|solutionrelative:form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Form1.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs",
"RelativeDocumentMoniker": "Form1.cs",
"ToolTip": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "Form1.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-12-06T07:30:28.584Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Form1.cs",
"DocumentMoniker": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs",
"RelativeDocumentMoniker": "Form1.cs",
"ToolTip": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs",
"RelativeToolTip": "Form1.cs",
"ViewState": "AgIAAA4AAAAAAAAAAAAuwBQAAAAJAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-12-06T07:28:32.613Z",
"EditorCaption": ""
}
]
}
]
}
]
}

View File

@ -0,0 +1,57 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|solutionrelative:form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|c:\\users\\nanxun\\documents\\im\\backend\\signalrtest\\form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}|SignalRTest.csproj|solutionrelative:form1.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Form1.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs",
"RelativeDocumentMoniker": "Form1.cs",
"ToolTip": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "Form1.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-12-06T07:30:28.584Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Form1.cs",
"DocumentMoniker": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs",
"RelativeDocumentMoniker": "Form1.cs",
"ToolTip": "C:\\Users\\nanxun\\Documents\\IM\\backend\\SignalRTest\\Form1.cs",
"RelativeToolTip": "Form1.cs",
"ViewState": "AgIAAA4AAAAAAAAAAAAuwBQAAAAJAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-12-06T07:28:32.613Z",
"EditorCaption": ""
}
]
}
]
}
]
}

206
backend/SignalRTest/Form1.Designer.cs generated Normal file
View File

@ -0,0 +1,206 @@
namespace SignalRTest
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
button1 = new Button();
button2 = new Button();
txtUrl = new TextBox();
TokenTxt = new TextBox();
UrlLab = new Label();
label2 = new Label();
Historylab = new RichTextBox();
label3 = new Label();
MethodTxt = new TextBox();
label4 = new Label();
SendMsg = new Button();
ParamsTxt = new TextBox();
label5 = new Label();
toolTip1 = new ToolTip(components);
SuspendLayout();
//
// button1
//
button1.Location = new Point(143, 294);
button1.Name = "button1";
button1.Size = new Size(94, 29);
button1.TabIndex = 0;
button1.Text = "连接";
button1.UseVisualStyleBackColor = true;
button1.Click += button1_Click;
//
// button2
//
button2.Location = new Point(278, 294);
button2.Name = "button2";
button2.Size = new Size(94, 29);
button2.TabIndex = 1;
button2.Text = "断开连接";
button2.UseVisualStyleBackColor = true;
button2.Click += button2_Click;
//
// txtUrl
//
txtUrl.Location = new Point(112, 39);
txtUrl.Name = "txtUrl";
txtUrl.Size = new Size(303, 27);
txtUrl.TabIndex = 2;
txtUrl.Text = "http://localhost:5202/chat";
//
// TokenTxt
//
TokenTxt.Location = new Point(553, 39);
TokenTxt.Name = "TokenTxt";
TokenTxt.Size = new Size(125, 27);
TokenTxt.TabIndex = 3;
//
// UrlLab
//
UrlLab.AutoSize = true;
UrlLab.Location = new Point(31, 42);
UrlLab.Name = "UrlLab";
UrlLab.Size = new Size(38, 20);
UrlLab.TabIndex = 4;
UrlLab.Text = "URL";
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(475, 42);
label2.Name = "label2";
label2.Size = new Size(69, 20);
label2.TabIndex = 5;
label2.Text = "登录凭证";
//
// Historylab
//
Historylab.Location = new Point(112, 85);
Historylab.Name = "Historylab";
Historylab.Size = new Size(303, 188);
Historylab.TabIndex = 6;
Historylab.Text = "";
//
// label3
//
label3.AutoSize = true;
label3.Location = new Point(16, 165);
label3.Name = "label3";
label3.Size = new Size(69, 20);
label3.TabIndex = 7;
label3.Text = "消息历史";
//
// MethodTxt
//
MethodTxt.Location = new Point(553, 182);
MethodTxt.Name = "MethodTxt";
MethodTxt.Size = new Size(125, 27);
MethodTxt.TabIndex = 8;
toolTip1.SetToolTip(MethodTxt, "后端hub内对应方法名大小写敏感");
//
// label4
//
label4.AutoSize = true;
label4.Location = new Point(475, 182);
label4.Name = "label4";
label4.Size = new Size(39, 20);
label4.TabIndex = 9;
label4.Text = "方法";
toolTip1.SetToolTip(label4, "后端hub内对应方法名大小写敏感");
//
// SendMsg
//
SendMsg.Location = new Point(705, 244);
SendMsg.Name = "SendMsg";
SendMsg.Size = new Size(94, 29);
SendMsg.TabIndex = 10;
SendMsg.Text = "发送";
SendMsg.UseVisualStyleBackColor = true;
SendMsg.Click += SendMsg_Click;
//
// ParamsTxt
//
ParamsTxt.Location = new Point(553, 246);
ParamsTxt.Name = "ParamsTxt";
ParamsTxt.Size = new Size(125, 27);
ParamsTxt.TabIndex = 11;
toolTip1.SetToolTip(ParamsTxt, "hub方法对应参数请使用以下格式:[参数1,参数2,参数3,...]");
//
// label5
//
label5.AutoSize = true;
label5.Location = new Point(475, 253);
label5.Name = "label5";
label5.Size = new Size(39, 20);
label5.TabIndex = 12;
label5.Text = "参数";
toolTip1.SetToolTip(label5, "hub方法对应参数请使用以下格式:[参数1,参数2,参数3,...]");
//
// Form1
//
AutoScaleDimensions = new SizeF(9F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(label5);
Controls.Add(ParamsTxt);
Controls.Add(SendMsg);
Controls.Add(label4);
Controls.Add(MethodTxt);
Controls.Add(label3);
Controls.Add(Historylab);
Controls.Add(label2);
Controls.Add(UrlLab);
Controls.Add(TokenTxt);
Controls.Add(txtUrl);
Controls.Add(button2);
Controls.Add(button1);
Name = "Form1";
Text = "SignalR调试工具";
Load += Form1_Load;
ResumeLayout(false);
PerformLayout();
}
#endregion
private Button button1;
private Button button2;
private TextBox txtUrl;
private TextBox TokenTxt;
private Label UrlLab;
private Label label2;
private RichTextBox Historylab;
private Label label3;
private TextBox MethodTxt;
private Label label4;
private Button SendMsg;
private TextBox ParamsTxt;
private Label label5;
private ToolTip toolTip1;
}
}

View File

@ -0,0 +1,143 @@
using Microsoft.AspNetCore.SignalR.Client;
using System.Text.Json;
using System.Windows.Forms;
namespace SignalRTest
{
public partial class Form1 : Form
{
private HubConnection _connection;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private async void button1_Click(object sender, EventArgs e)
{
try
{
_connection = new HubConnectionBuilder()
.WithUrl(txtUrl.Text, options =>
{
options.AccessTokenProvider = () =>
Task.FromResult(TokenTxt.Text);
})
.WithAutomaticReconnect()
.Build();
_connection.On<string, string>("ReceiveMessage", (user, message) =>
{
Historylab.Invoke(new Action(() =>
{
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Green;
Historylab.AppendText("接收消息:" + message + "\n");
}));
});
_connection.Reconnecting += (ex) =>
{
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText("重连中..." + "\n");
return System.Threading.Tasks.Task.CompletedTask;
};
_connection.Reconnected += (id) =>
{
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText("重连成功!" + "\n");
return System.Threading.Tasks.Task.CompletedTask;
};
await _connection.StartAsync();
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText("连接成功!" + "\n");
}
catch (Exception ex)
{
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText("连接失败:" + ex.Message + "\n");
}
}
private async void button2_Click(object sender, EventArgs e)
{
if (_connection != null)
{
await _connection.StopAsync();
await _connection.DisposeAsync();
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText("断开连接!" + "\n");
}
}
private async void SendMsg_Click(object sender, EventArgs e)
{
if (_connection == null || _connection.State != HubConnectionState.Connected)
{
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText("请先连接!" + "\n");
return;
}
try
{
var method = MethodTxt.Text.Trim();
var paramText = ParamsTxt.Text.Trim();
object[] parameters = string.IsNullOrWhiteSpace(paramText)
? Array.Empty<object>()
: JsonSerializer.Deserialize<object[]>(paramText);
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Red;
Historylab.AppendText($"Invoke: {method} {paramText}" + "\n");
await _connection.InvokeCoreAsync(method,parameters);
}
catch (Exception ex)
{
// 移动光标到文本末尾
Historylab.SelectionStart = Historylab.TextLength;
Historylab.SelectionLength = 0;
Historylab.SelectionColor = Color.Blue;
Historylab.AppendText($"发送失败: {ex.Message}" + "\n");
}
}
}
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@ -0,0 +1,17 @@
namespace SignalRTest
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
}
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net8.0-windows\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<History>True|2025-12-06T11:34:00.2606316Z||;True|2025-12-06T19:25:07.4627450+08:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

View File

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.0" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_LastSelectedProfileId>C:\Users\nanxun\Documents\IM\backend\SignalRTest\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
</PropertyGroup>
<ItemGroup>
<Compile Update="Form1.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36408.4 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignalRTest", "SignalRTest.csproj", "{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}.Debug|Any CPU.Build.0 = Debug|Any CPU
{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}.Release|Any CPU.ActiveCfg = Release|Any CPU
{266B86EE-17CF-4DD4-84C8-8CE3E2640A70}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2D41DBBA-147E-49F2-A781-E7CD9E85666F}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,419 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"SignalRTest/1.0.0": {
"dependencies": {
"Microsoft.AspNetCore.SignalR.Client": "10.0.0"
},
"runtime": {
"SignalRTest.dll": {}
}
},
"Microsoft.AspNetCore.Connections.Abstractions/10.0.0": {
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "10.0.0",
"Microsoft.Extensions.Features": "10.0.0",
"System.IO.Pipelines": "10.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.AspNetCore.Connections.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.Http.Connections.Client/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Http.Connections.Common": "10.0.0",
"Microsoft.Extensions.Logging.Abstractions": "10.0.0",
"Microsoft.Extensions.Options": "10.0.0",
"System.Net.ServerSentEvents": "10.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.AspNetCore.Http.Connections.Client.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.Http.Connections.Common/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Connections.Abstractions": "10.0.0",
"System.Text.Json": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.Http.Connections.Common.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Client/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Http.Connections.Client": "10.0.0",
"Microsoft.AspNetCore.SignalR.Client.Core": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.SignalR.Client.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Client.Core/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.SignalR.Common": "10.0.0",
"Microsoft.AspNetCore.SignalR.Protocols.Json": "10.0.0",
"Microsoft.Bcl.TimeProvider": "10.0.0",
"Microsoft.Extensions.DependencyInjection": "10.0.0",
"Microsoft.Extensions.Logging": "10.0.0",
"System.Threading.Channels": "10.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.AspNetCore.SignalR.Client.Core.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Common/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Connections.Abstractions": "10.0.0",
"Microsoft.Extensions.Options": "10.0.0",
"System.Text.Json": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.SignalR.Common.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Protocols.Json/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.SignalR.Common": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.SignalR.Protocols.Json.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Bcl.AsyncInterfaces/10.0.0": {
"runtime": {
"lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Bcl.TimeProvider/10.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Bcl.TimeProvider.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.DependencyInjection/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Features/10.0.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Features.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Logging/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "10.0.0",
"Microsoft.Extensions.Logging.Abstractions": "10.0.0",
"Microsoft.Extensions.Options": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Logging.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0",
"System.Diagnostics.DiagnosticSource": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Options/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0",
"Microsoft.Extensions.Primitives": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Primitives/10.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Diagnostics.DiagnosticSource/10.0.0": {
"runtime": {
"lib/net8.0/System.Diagnostics.DiagnosticSource.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.IO.Pipelines/10.0.0": {
"runtime": {
"lib/net8.0/System.IO.Pipelines.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Net.ServerSentEvents/10.0.0": {
"runtime": {
"lib/net8.0/System.Net.ServerSentEvents.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Text.Encodings.Web/10.0.0": {
"runtime": {
"lib/net8.0/System.Text.Encodings.Web.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
},
"runtimeTargets": {
"runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": {
"rid": "browser",
"assetType": "runtime",
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Text.Json/10.0.0": {
"dependencies": {
"System.IO.Pipelines": "10.0.0",
"System.Text.Encodings.Web": "10.0.0"
},
"runtime": {
"lib/net8.0/System.Text.Json.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Threading.Channels/10.0.0": {
"runtime": {
"lib/net8.0/System.Threading.Channels.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
}
}
},
"libraries": {
"SignalRTest/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.AspNetCore.Connections.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MPXDzUknemj+sCL/LYOLvU/qIX3o9zCJtKXu9jcwNMQiOvwuv75lV20p3qGENA/ynTH7hOPFqDUEGBT30IvhEA==",
"path": "microsoft.aspnetcore.connections.abstractions/10.0.0",
"hashPath": "microsoft.aspnetcore.connections.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Http.Connections.Client/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7nSER+de0V6mWTcdUqBJZlm1XMz+Y2mTHzL3B/msVF+JfSXXZtKNVC18TI7AeSz4PD//b5qpy8n0RQEIVByfJw==",
"path": "microsoft.aspnetcore.http.connections.client/10.0.0",
"hashPath": "microsoft.aspnetcore.http.connections.client.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Http.Connections.Common/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VaEGwazymaL4NB+JoAdvM/IaFg5IIg1WXtVgKmD/y3Et2qnPxolAlMXYJrI8k1EPjmoIcXQZHTj47MskRRyRIA==",
"path": "microsoft.aspnetcore.http.connections.common/10.0.0",
"hashPath": "microsoft.aspnetcore.http.connections.common.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Client/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XHPNPLqPX7CVJ5JuaumTP58sAVrQG4TqFKLFOtN1mZIwgEUHKwtDeMwL0G8dIvy9zcpi7os4CYAHvA1bUUTzVw==",
"path": "microsoft.aspnetcore.signalr.client/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.client.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Client.Core/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MrXjT7YNV0e1Jb3Hai6kX/Ot7X2SlONHv5IC5XNGeycTTLu3qitJ7DXZUsPPZs6yanWIOsIKjPEY58ARHdRKGg==",
"path": "microsoft.aspnetcore.signalr.client.core/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.client.core.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Common/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pyG6FLV4/EeOQeZ30ra4aUYycJQPT/9ddB91aplMKwEGT5KbEs//WMqMObVGvDREP508EB4QUAKzacSVi30nxw==",
"path": "microsoft.aspnetcore.signalr.common/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.common.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Protocols.Json/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L++SCI4pcG9uo7HTzAFTX33BsZFDHCdukJIK+/S4tgH/kcJlPTp9QS96E4zgOuzXRDrzaunwbFSS2DElTmWGRA==",
"path": "microsoft.aspnetcore.signalr.protocols.json/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.protocols.json.10.0.0.nupkg.sha512"
},
"Microsoft.Bcl.AsyncInterfaces/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-vFuwSLj9QJBbNR0NeNO4YVASUbokxs+i/xbuu8B+Fs4FAZg5QaFa6eGrMaRqTzzNI5tAb97T7BhSxtLckFyiRA==",
"path": "microsoft.bcl.asyncinterfaces/10.0.0",
"hashPath": "microsoft.bcl.asyncinterfaces.10.0.0.nupkg.sha512"
},
"Microsoft.Bcl.TimeProvider/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bUubrBD6tRJE3V1kvRloYc6NymH3R5oFKjAS9e0ELNx6u0ZR+zjps9dDQyjgqN/rArzl7f+21KGszj3YRN7F2Q==",
"path": "microsoft.bcl.timeprovider/10.0.0",
"hashPath": "microsoft.bcl.timeprovider.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-f0RBabswJq+gRu5a+hWIobrLWiUYPKMhCD9WO3sYBAdSy3FFH14LMvLVFZc2kPSCimBLxSuitUhsd6tb0TAY6A==",
"path": "microsoft.extensions.dependencyinjection/10.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==",
"path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Features/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kCFjPpfvz0K00xIpe7wJKre1gFJdNIu9+1BYJLklu3GWb+uU4HIjza0uMBQeFGZws9VJos9LeO+PUfvGcre+9g==",
"path": "microsoft.extensions.features/10.0.0",
"hashPath": "microsoft.extensions.features.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-BStFkd5CcnEtarlcgYDBcFzGYCuuNMzPs02wN3WBsOFoYIEmYoUdAiU+au6opzoqfTYJsMTW00AeqDdnXH2CvA==",
"path": "microsoft.extensions.logging/10.0.0",
"hashPath": "microsoft.extensions.logging.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==",
"path": "microsoft.extensions.logging.abstractions/10.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-8oCAgXOow5XDrY9HaXX1QmH3ORsyZO/ANVHBlhLyCeWTH5Sg4UuqZeOTWJi6484M+LqSx0RqQXDJtdYy2BNiLQ==",
"path": "microsoft.extensions.options/10.0.0",
"hashPath": "microsoft.extensions.options.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-inRnbpCS0nwO/RuoZIAqxQUuyjaknOOnCEZB55KSMMjRhl0RQDttSmLSGsUJN3RQ3ocf5NDLFd2mOQViHqMK5w==",
"path": "microsoft.extensions.primitives/10.0.0",
"hashPath": "microsoft.extensions.primitives.10.0.0.nupkg.sha512"
},
"System.Diagnostics.DiagnosticSource/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0KdBK+h7G13PuOSC2R/DalAoFMvdYMznvGRuICtkdcUMXgl/gYXsG6z4yUvTxHSMACorWgHCU1Faq0KUHU6yAQ==",
"path": "system.diagnostics.diagnosticsource/10.0.0",
"hashPath": "system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512"
},
"System.IO.Pipelines/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-M1eb3nfXntaRJPrrMVM9EFS8I1bDTnt0uvUS6QP/SicZf/ZZjydMD5NiXxfmwW/uQwaMDP/yX2P+zQN1NBHChg==",
"path": "system.io.pipelines/10.0.0",
"hashPath": "system.io.pipelines.10.0.0.nupkg.sha512"
},
"System.Net.ServerSentEvents/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zRH5XXZfenw7bgn8BT+q6XH1Sp75kSQM5m7Ee4WzZhMu2syGawcsqdlfFa2u/+skXr/u2ufp9F6M9lgkKkfZZg==",
"path": "system.net.serversentevents/10.0.0",
"hashPath": "system.net.serversentevents.10.0.0.nupkg.sha512"
},
"System.Text.Encodings.Web/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-257hh1ep1Gqm1Lm0ulxf7vVBVMJuGN6EL4xSWjpi46DffXzm1058IiWsfSC06zSm7SniN+Tb5160UnXsSa8rRg==",
"path": "system.text.encodings.web/10.0.0",
"hashPath": "system.text.encodings.web.10.0.0.nupkg.sha512"
},
"System.Text.Json/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Dpjwq9peG/Wt5BNbrzIhTpclfOSqBWZsUO28vVr59yQlkvL5jLBWfpfzRmJ1OY+6DciaY0DUcltyzs4fuZHjw==",
"path": "system.text.json/10.0.0",
"hashPath": "system.text.json.10.0.0.nupkg.sha512"
},
"System.Threading.Channels/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fwRdkJpKisUEVNaEdsL5w5EwidzuVw0BOTfzDvYB1Yg8sq1pqNfUZxBOVFgSj6i6tNhpT3HP8BEDXf1+kFkTDA==",
"path": "system.threading.channels/10.0.0",
"hashPath": "system.threading.channels.10.0.0.nupkg.sha512"
}
}
}

View File

@ -0,0 +1,19 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false
}
}
}

View File

@ -0,0 +1,419 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"SignalRTest/1.0.0": {
"dependencies": {
"Microsoft.AspNetCore.SignalR.Client": "10.0.0"
},
"runtime": {
"SignalRTest.dll": {}
}
},
"Microsoft.AspNetCore.Connections.Abstractions/10.0.0": {
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "10.0.0",
"Microsoft.Extensions.Features": "10.0.0",
"System.IO.Pipelines": "10.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.AspNetCore.Connections.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.Http.Connections.Client/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Http.Connections.Common": "10.0.0",
"Microsoft.Extensions.Logging.Abstractions": "10.0.0",
"Microsoft.Extensions.Options": "10.0.0",
"System.Net.ServerSentEvents": "10.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.AspNetCore.Http.Connections.Client.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.Http.Connections.Common/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Connections.Abstractions": "10.0.0",
"System.Text.Json": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.Http.Connections.Common.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Client/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Http.Connections.Client": "10.0.0",
"Microsoft.AspNetCore.SignalR.Client.Core": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.SignalR.Client.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Client.Core/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.SignalR.Common": "10.0.0",
"Microsoft.AspNetCore.SignalR.Protocols.Json": "10.0.0",
"Microsoft.Bcl.TimeProvider": "10.0.0",
"Microsoft.Extensions.DependencyInjection": "10.0.0",
"Microsoft.Extensions.Logging": "10.0.0",
"System.Threading.Channels": "10.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.AspNetCore.SignalR.Client.Core.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Common/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.Connections.Abstractions": "10.0.0",
"Microsoft.Extensions.Options": "10.0.0",
"System.Text.Json": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.SignalR.Common.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.AspNetCore.SignalR.Protocols.Json/10.0.0": {
"dependencies": {
"Microsoft.AspNetCore.SignalR.Common": "10.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.SignalR.Protocols.Json.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Bcl.AsyncInterfaces/10.0.0": {
"runtime": {
"lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Bcl.TimeProvider/10.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Bcl.TimeProvider.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.DependencyInjection/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Features/10.0.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Features.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Logging/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "10.0.0",
"Microsoft.Extensions.Logging.Abstractions": "10.0.0",
"Microsoft.Extensions.Options": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Logging.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0",
"System.Diagnostics.DiagnosticSource": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Options/10.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0",
"Microsoft.Extensions.Primitives": "10.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"Microsoft.Extensions.Primitives/10.0.0": {
"runtime": {
"lib/net8.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Diagnostics.DiagnosticSource/10.0.0": {
"runtime": {
"lib/net8.0/System.Diagnostics.DiagnosticSource.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.IO.Pipelines/10.0.0": {
"runtime": {
"lib/net8.0/System.IO.Pipelines.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Net.ServerSentEvents/10.0.0": {
"runtime": {
"lib/net8.0/System.Net.ServerSentEvents.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Text.Encodings.Web/10.0.0": {
"runtime": {
"lib/net8.0/System.Text.Encodings.Web.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
},
"runtimeTargets": {
"runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": {
"rid": "browser",
"assetType": "runtime",
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Text.Json/10.0.0": {
"dependencies": {
"System.IO.Pipelines": "10.0.0",
"System.Text.Encodings.Web": "10.0.0"
},
"runtime": {
"lib/net8.0/System.Text.Json.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
},
"System.Threading.Channels/10.0.0": {
"runtime": {
"lib/net8.0/System.Threading.Channels.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.25.52411"
}
}
}
}
},
"libraries": {
"SignalRTest/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.AspNetCore.Connections.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MPXDzUknemj+sCL/LYOLvU/qIX3o9zCJtKXu9jcwNMQiOvwuv75lV20p3qGENA/ynTH7hOPFqDUEGBT30IvhEA==",
"path": "microsoft.aspnetcore.connections.abstractions/10.0.0",
"hashPath": "microsoft.aspnetcore.connections.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Http.Connections.Client/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7nSER+de0V6mWTcdUqBJZlm1XMz+Y2mTHzL3B/msVF+JfSXXZtKNVC18TI7AeSz4PD//b5qpy8n0RQEIVByfJw==",
"path": "microsoft.aspnetcore.http.connections.client/10.0.0",
"hashPath": "microsoft.aspnetcore.http.connections.client.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Http.Connections.Common/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VaEGwazymaL4NB+JoAdvM/IaFg5IIg1WXtVgKmD/y3Et2qnPxolAlMXYJrI8k1EPjmoIcXQZHTj47MskRRyRIA==",
"path": "microsoft.aspnetcore.http.connections.common/10.0.0",
"hashPath": "microsoft.aspnetcore.http.connections.common.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Client/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XHPNPLqPX7CVJ5JuaumTP58sAVrQG4TqFKLFOtN1mZIwgEUHKwtDeMwL0G8dIvy9zcpi7os4CYAHvA1bUUTzVw==",
"path": "microsoft.aspnetcore.signalr.client/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.client.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Client.Core/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MrXjT7YNV0e1Jb3Hai6kX/Ot7X2SlONHv5IC5XNGeycTTLu3qitJ7DXZUsPPZs6yanWIOsIKjPEY58ARHdRKGg==",
"path": "microsoft.aspnetcore.signalr.client.core/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.client.core.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Common/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pyG6FLV4/EeOQeZ30ra4aUYycJQPT/9ddB91aplMKwEGT5KbEs//WMqMObVGvDREP508EB4QUAKzacSVi30nxw==",
"path": "microsoft.aspnetcore.signalr.common/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.common.10.0.0.nupkg.sha512"
},
"Microsoft.AspNetCore.SignalR.Protocols.Json/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L++SCI4pcG9uo7HTzAFTX33BsZFDHCdukJIK+/S4tgH/kcJlPTp9QS96E4zgOuzXRDrzaunwbFSS2DElTmWGRA==",
"path": "microsoft.aspnetcore.signalr.protocols.json/10.0.0",
"hashPath": "microsoft.aspnetcore.signalr.protocols.json.10.0.0.nupkg.sha512"
},
"Microsoft.Bcl.AsyncInterfaces/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-vFuwSLj9QJBbNR0NeNO4YVASUbokxs+i/xbuu8B+Fs4FAZg5QaFa6eGrMaRqTzzNI5tAb97T7BhSxtLckFyiRA==",
"path": "microsoft.bcl.asyncinterfaces/10.0.0",
"hashPath": "microsoft.bcl.asyncinterfaces.10.0.0.nupkg.sha512"
},
"Microsoft.Bcl.TimeProvider/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bUubrBD6tRJE3V1kvRloYc6NymH3R5oFKjAS9e0ELNx6u0ZR+zjps9dDQyjgqN/rArzl7f+21KGszj3YRN7F2Q==",
"path": "microsoft.bcl.timeprovider/10.0.0",
"hashPath": "microsoft.bcl.timeprovider.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-f0RBabswJq+gRu5a+hWIobrLWiUYPKMhCD9WO3sYBAdSy3FFH14LMvLVFZc2kPSCimBLxSuitUhsd6tb0TAY6A==",
"path": "microsoft.extensions.dependencyinjection/10.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==",
"path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Features/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kCFjPpfvz0K00xIpe7wJKre1gFJdNIu9+1BYJLklu3GWb+uU4HIjza0uMBQeFGZws9VJos9LeO+PUfvGcre+9g==",
"path": "microsoft.extensions.features/10.0.0",
"hashPath": "microsoft.extensions.features.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-BStFkd5CcnEtarlcgYDBcFzGYCuuNMzPs02wN3WBsOFoYIEmYoUdAiU+au6opzoqfTYJsMTW00AeqDdnXH2CvA==",
"path": "microsoft.extensions.logging/10.0.0",
"hashPath": "microsoft.extensions.logging.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==",
"path": "microsoft.extensions.logging.abstractions/10.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-8oCAgXOow5XDrY9HaXX1QmH3ORsyZO/ANVHBlhLyCeWTH5Sg4UuqZeOTWJi6484M+LqSx0RqQXDJtdYy2BNiLQ==",
"path": "microsoft.extensions.options/10.0.0",
"hashPath": "microsoft.extensions.options.10.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-inRnbpCS0nwO/RuoZIAqxQUuyjaknOOnCEZB55KSMMjRhl0RQDttSmLSGsUJN3RQ3ocf5NDLFd2mOQViHqMK5w==",
"path": "microsoft.extensions.primitives/10.0.0",
"hashPath": "microsoft.extensions.primitives.10.0.0.nupkg.sha512"
},
"System.Diagnostics.DiagnosticSource/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0KdBK+h7G13PuOSC2R/DalAoFMvdYMznvGRuICtkdcUMXgl/gYXsG6z4yUvTxHSMACorWgHCU1Faq0KUHU6yAQ==",
"path": "system.diagnostics.diagnosticsource/10.0.0",
"hashPath": "system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512"
},
"System.IO.Pipelines/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-M1eb3nfXntaRJPrrMVM9EFS8I1bDTnt0uvUS6QP/SicZf/ZZjydMD5NiXxfmwW/uQwaMDP/yX2P+zQN1NBHChg==",
"path": "system.io.pipelines/10.0.0",
"hashPath": "system.io.pipelines.10.0.0.nupkg.sha512"
},
"System.Net.ServerSentEvents/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zRH5XXZfenw7bgn8BT+q6XH1Sp75kSQM5m7Ee4WzZhMu2syGawcsqdlfFa2u/+skXr/u2ufp9F6M9lgkKkfZZg==",
"path": "system.net.serversentevents/10.0.0",
"hashPath": "system.net.serversentevents.10.0.0.nupkg.sha512"
},
"System.Text.Encodings.Web/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-257hh1ep1Gqm1Lm0ulxf7vVBVMJuGN6EL4xSWjpi46DffXzm1058IiWsfSC06zSm7SniN+Tb5160UnXsSa8rRg==",
"path": "system.text.encodings.web/10.0.0",
"hashPath": "system.text.encodings.web.10.0.0.nupkg.sha512"
},
"System.Text.Json/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Dpjwq9peG/Wt5BNbrzIhTpclfOSqBWZsUO28vVr59yQlkvL5jLBWfpfzRmJ1OY+6DciaY0DUcltyzs4fuZHjw==",
"path": "system.text.json/10.0.0",
"hashPath": "system.text.json.10.0.0.nupkg.sha512"
},
"System.Threading.Channels/10.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fwRdkJpKisUEVNaEdsL5w5EwidzuVw0BOTfzDvYB1Yg8sq1pqNfUZxBOVFgSj6i6tNhpT3HP8BEDXf1+kFkTDA==",
"path": "system.threading.channels/10.0.0",
"hashPath": "system.threading.channels.10.0.0.nupkg.sha512"
}
}
}

View File

@ -0,0 +1,20 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false
}
}
}

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