Compare commits
No commits in common. "50869e47542d78336d76203abd707c17d71e12da" and "e24680a01608838eeaa633a983921a1598acfe24" have entirely different histories.
50869e4754
...
e24680a016
|
|
@ -14,10 +14,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DevExpress.Blazor" Version="23.2.3" />
|
<PackageReference Include="DevExpress.Blazor" Version="23.2.3" />
|
||||||
<PackageReference Include="DevExpress.Blazor.Dashboard" Version="23.2.3" />
|
<PackageReference Include="DevExpress.Blazor.Dashboard" Version="23.2.3" />
|
||||||
<PackageReference Include="MessagePack" Version="2.5.168" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.6" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.6" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.6" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.6" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
using Microsoft.AspNetCore.Components;
|
using Microsoft.AspNetCore.Components;
|
||||||
|
|
||||||
namespace AyCode.Blazor.Components.Components
|
namespace AyCode.Blazor.Components
|
||||||
{
|
{
|
||||||
public class AcComponent : ComponentBase
|
public class ACComponent : ComponentBase
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,78 +0,0 @@
|
||||||
using DevExpress.Blazor;
|
|
||||||
using DevExpress.Data.Filtering;
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using AyCode.Core.Interfaces;
|
|
||||||
using DevExpress.Data.Filtering.Helpers;
|
|
||||||
using DevExpress.Data.Linq;
|
|
||||||
using DevExpress.Data.Linq.Helpers;
|
|
||||||
|
|
||||||
namespace AyCode.Blazor.Components.Services
|
|
||||||
{
|
|
||||||
//public class AcGridDataSource<T> : GridCustomDataSource where T : class, IId<Guid>
|
|
||||||
//{
|
|
||||||
// private static readonly AcSignalRDataSource<T> _signalRDataSource;
|
|
||||||
|
|
||||||
// public AcGridDataSource(AcSignalRDataSource<T> signalRDataSource)
|
|
||||||
// {
|
|
||||||
// _signalRDataSource = signalRDataSource;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public override async Task<int> GetItemCountAsync(GridCustomDataSourceCountOptions options, CancellationToken cancellationToken)
|
|
||||||
// {
|
|
||||||
// return await ApplyFiltering(options.FilterCriteria, _signalRDataSource.For<T>()).Count().FindScalarAsync<int>(cancellationToken);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public override async Task<IList> GetItemsAsync(GridCustomDataSourceItemsOptions options, CancellationToken cancellationToken)
|
|
||||||
// {
|
|
||||||
// var filteredClient = ApplyFiltering(options.FilterCriteria, _signalRDataSource.For<T>().Top(options.Count).Skip(options.StartIndex));
|
|
||||||
// return (await ApplySorting(options, filteredClient).FindEntriesAsync(cancellationToken)).ToList();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private static IBoundClient<T> ApplyFiltering(CriteriaOperator criteria, IBoundClient<T> boundClient)
|
|
||||||
// {
|
|
||||||
// //return !criteria.ReferenceEqualsNull() ? boundClient.Filter(ToSimpleClientCriteria(criteria)) : boundClient;
|
|
||||||
|
|
||||||
// CriteriaToExpressionConverter converter = new CriteriaToExpressionConverter();
|
|
||||||
// //IQueryable<T> source = null!;
|
|
||||||
// IQueryable<T>? filteredData = _signalRDataSource.AsQueryable().AppendWhere(converter, criteria) as IQueryable<T>;
|
|
||||||
|
|
||||||
// gridControl1.DataSource = null;
|
|
||||||
// gridControl1.DataSource = filteredData.ToList();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// private static string ToSimpleClientCriteria(CriteriaOperator criteria)
|
|
||||||
// => $"{criteria}".Replace("[", "").Replace("]", "");
|
|
||||||
|
|
||||||
// private static IBoundClient<T> ApplySorting(GridCustomDataSourceItemsOptions options, IBoundClient<T> boundClient)
|
|
||||||
// {
|
|
||||||
// return options.SortInfo.Any()
|
|
||||||
// ? boundClient.OrderBy(options.SortInfo
|
|
||||||
// .Where(info => !info.DescendingSortOrder).Select(info => info.FieldName).ToArray())
|
|
||||||
// .OrderByDescending(options.SortInfo
|
|
||||||
// .Where(info => info.DescendingSortOrder).Select(info => info.FieldName).ToArray())
|
|
||||||
// : boundClient;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// public async Task DeleteAsync(T instance)
|
|
||||||
// => await _signalRDataSource.For<T>().Key(instance.Id).DeleteEntryAsync();
|
|
||||||
|
|
||||||
// public async Task AddOrUpdateAsync(T instance, bool update = false)
|
|
||||||
// {
|
|
||||||
// if (!update)
|
|
||||||
// {
|
|
||||||
// await _signalRDataSource.For<T>().Set(new { instance.Title, instance.Content }).InsertEntryAsync();
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
|
|
||||||
// await _signalRDataSource.For<T>().Key(instance.Id).Set(instance).UpdateEntryAsync();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,247 +0,0 @@
|
||||||
using System.Collections.Concurrent;
|
|
||||||
using AyCode.Core;
|
|
||||||
using AyCode.Core.Extensions;
|
|
||||||
using AyCode.Core.Helpers;
|
|
||||||
using AyCode.Core.Loggers;
|
|
||||||
using AyCode.Services.Loggers;
|
|
||||||
using AyCode.Services.SignalRs;
|
|
||||||
using MessagePack.Resolvers;
|
|
||||||
using Microsoft.AspNetCore.SignalR.Client;
|
|
||||||
|
|
||||||
namespace AyCode.Blazor.Components.Services
|
|
||||||
{
|
|
||||||
public abstract class AcSignalRClientBase : IAcSignalRHubClient
|
|
||||||
{
|
|
||||||
private readonly ConcurrentDictionary<int, object?> _responseByRequestId = new();
|
|
||||||
|
|
||||||
protected readonly HubConnection HubConnection;
|
|
||||||
protected readonly AcLoggerBase Logger;
|
|
||||||
|
|
||||||
public event Action<int, byte[], int?> OnMessageReceived = null!;
|
|
||||||
//public event Action<int, int> OnMessageRequested;
|
|
||||||
|
|
||||||
public int Timeout = 10000;
|
|
||||||
|
|
||||||
protected AcSignalRClientBase(string fullHubName, AcLoggerBase logger)
|
|
||||||
{
|
|
||||||
Logger = logger;
|
|
||||||
|
|
||||||
HubConnection = new HubConnectionBuilder()
|
|
||||||
.WithUrl(fullHubName)
|
|
||||||
//.AddMessagePackProtocol(options => {
|
|
||||||
// options.SerializerOptions = MessagePackSerializerOptions.Standard
|
|
||||||
// .WithResolver(MessagePack.Resolvers.StandardResolver.Instance)
|
|
||||||
// .WithSecurity(MessagePackSecurity.UntrustedData)
|
|
||||||
// .WithCompression(MessagePackCompression.Lz4Block)
|
|
||||||
// .WithCompressionMinLength(256);})
|
|
||||||
.Build();
|
|
||||||
|
|
||||||
HubConnection.Closed += HubConnection_Closed;
|
|
||||||
|
|
||||||
_ = HubConnection.On<int, byte[], int?>(nameof(IAcSignalRHubClient.OnReceiveMessage), OnReceiveMessage);
|
|
||||||
//_ = HubConnection.On<int, int>(nameof(IAcSignalRHubClient.OnRequestMessage), OnRequestMessage);
|
|
||||||
|
|
||||||
HubConnection.StartAsync().Forget();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private Task HubConnection_Closed(Exception? arg)
|
|
||||||
{
|
|
||||||
if (_responseByRequestId.IsEmpty) Logger.DebugConditional($"Client HubConnection_Closed");
|
|
||||||
else Logger.Warning($"Client HubConnection_Closed; {nameof(_responseByRequestId)} count: {_responseByRequestId.Count}");
|
|
||||||
|
|
||||||
_responseByRequestId.Clear();
|
|
||||||
return Task.CompletedTask;
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task StartConnection()
|
|
||||||
{
|
|
||||||
if (HubConnection.State == HubConnectionState.Disconnected)
|
|
||||||
await HubConnection.StartAsync();
|
|
||||||
|
|
||||||
if (HubConnection.State != HubConnectionState.Connected)
|
|
||||||
await TaskHelper.WaitToAsync(() => HubConnection.State == HubConnectionState.Connected, Timeout, 25);
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task StopConnection()
|
|
||||||
{
|
|
||||||
await HubConnection.StopAsync();
|
|
||||||
await HubConnection.DisposeAsync();
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual Task SendMessageToServerAsync(int messageTag)
|
|
||||||
=> SendMessageToServerAsync(messageTag, null, AcDomain.NextUniqueInt32);
|
|
||||||
|
|
||||||
public virtual async Task SendMessageToServerAsync(int messageTag, ISignalRMessage? message, int? requestId)
|
|
||||||
{
|
|
||||||
Logger.DebugConditional($"Client SendMessageToServerAsync; {nameof(messageTag)}: {messageTag}; {nameof(requestId)}: {requestId};");
|
|
||||||
|
|
||||||
await StartConnection();
|
|
||||||
|
|
||||||
var msgp = message?.ToMessagePack(ContractlessStandardResolver.Options);
|
|
||||||
HubConnection.SendAsync(nameof(IAcSignalRHubClient.OnReceiveMessage), messageTag, msgp, requestId).Forget();
|
|
||||||
}
|
|
||||||
|
|
||||||
#region CRUD
|
|
||||||
public virtual Task<TResponseData?> GetByIdAsync<TResponseData>(int messageTag, params Guid[] ids) where TResponseData : class
|
|
||||||
=> SendMessageToServerAsync<TResponseData>(messageTag, new SignalPostJsonDataMessage<IdMessage>(new IdMessage(ids)), AcDomain.NextUniqueInt32);
|
|
||||||
public virtual Task GetByIdAsync<TResponseData>(int messageTag, Action<ISignalResponseMessage<TResponseData?>> responseCallback, params Guid[] ids)
|
|
||||||
=> SendMessageToServerAsync(messageTag, new SignalPostJsonDataMessage<IdMessage>(new IdMessage(ids)), responseCallback);
|
|
||||||
|
|
||||||
public virtual Task<TResponseData?> GetAllAsync<TResponseData>(int messageTag) where TResponseData : class
|
|
||||||
=> SendMessageToServerAsync<TResponseData>(messageTag);
|
|
||||||
public virtual Task GetAllAsync<TResponseData>(int messageTag, Action<ISignalResponseMessage<TResponseData?>> responseCallback)
|
|
||||||
=> SendMessageToServerAsync(messageTag, null, responseCallback);
|
|
||||||
public virtual Task GetAllAsync<TResponseData>(int messageTag, Action<ISignalResponseMessage<TResponseData?>> responseCallback, params Guid[]? contextIds)
|
|
||||||
=> SendMessageToServerAsync(messageTag, (contextIds == null || contextIds.Length == 0 ? null : new SignalPostJsonDataMessage<IdMessage>(new IdMessage(contextIds))), responseCallback);
|
|
||||||
|
|
||||||
public virtual Task<TResponseData?> GetAllAsync<TResponseData>(int messageTag, params Guid[]? contextIds) where TResponseData : class
|
|
||||||
=> SendMessageToServerAsync<TResponseData>(messageTag, contextIds == null || contextIds.Length == 0 ? null : new SignalPostJsonDataMessage<IdMessage>(new IdMessage(contextIds)), AcDomain.NextUniqueInt32);
|
|
||||||
|
|
||||||
public virtual Task<TPostData?> PostDataAsync<TPostData>(int messageTag, TPostData postData) where TPostData : class
|
|
||||||
=> SendMessageToServerAsync<TPostData>(messageTag, new SignalPostJsonDataMessage<TPostData>(postData), AcDomain.NextUniqueInt32);
|
|
||||||
public virtual Task PostDataAsync<TPostData>(int messageTag, TPostData postData, Action<ISignalResponseMessage<TPostData?>> responseCallback) where TPostData : class
|
|
||||||
=> SendMessageToServerAsync(messageTag, new SignalPostJsonDataMessage<TPostData>(postData), responseCallback);
|
|
||||||
|
|
||||||
#endregion CRUD
|
|
||||||
|
|
||||||
public virtual Task<TResponse?> SendMessageToServerAsync<TResponse>(int messageTag) where TResponse : class
|
|
||||||
=> SendMessageToServerAsync<TResponse>(messageTag, null, AcDomain.NextUniqueInt32);
|
|
||||||
|
|
||||||
public virtual Task<TResponse?> SendMessageToServerAsync<TResponse>(int messageTag, ISignalRMessage? message) where TResponse : class
|
|
||||||
=> SendMessageToServerAsync<TResponse>(messageTag, message, AcDomain.NextUniqueInt32);
|
|
||||||
|
|
||||||
protected virtual async Task<TResponse?> SendMessageToServerAsync<TResponse>(int messageTag, ISignalRMessage? message, int requestId) where TResponse : class
|
|
||||||
{
|
|
||||||
Logger.DebugConditional($"Client SendMessageToServerAsync<TResult>; {nameof(messageTag)}: {messageTag}; {nameof(requestId)}: {requestId};");
|
|
||||||
|
|
||||||
_responseByRequestId[requestId] = null;
|
|
||||||
await SendMessageToServerAsync(messageTag, message, requestId);
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
if (await TaskHelper.WaitToAsync(() => _responseByRequestId[requestId] != null, Timeout, 25) &&
|
|
||||||
_responseByRequestId.TryRemove(requestId, out var obj) && obj is ISignalResponseMessage<string> responseMessage)
|
|
||||||
{
|
|
||||||
if (responseMessage.Status == SignalResponseStatus.Error || responseMessage.ResponseData == null)
|
|
||||||
{
|
|
||||||
var errorText = $"Client SendMessageToServerAsync<TResponseData> response error; await; tag: {messageTag}; Status: {responseMessage.Status}; requestId: {requestId};";
|
|
||||||
|
|
||||||
Logger.Error(errorText);
|
|
||||||
|
|
||||||
//TODO: Ideiglenes, majd a ResponseMessage-et kell visszaadni a Status miatt! - J.
|
|
||||||
throw new Exception(errorText);
|
|
||||||
//return default;
|
|
||||||
}
|
|
||||||
|
|
||||||
return responseMessage.ResponseData.JsonTo<TResponse>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Logger.Error($"SendMessageToServerAsync; messageTag: {messageTag}; requestId: {requestId}; {ex.Message}", ex);
|
|
||||||
}
|
|
||||||
|
|
||||||
_responseByRequestId.TryRemove(requestId, out _);
|
|
||||||
return default;
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual Task SendMessageToServerAsync<TResponseData>(int messageTag, Action<ISignalResponseMessage<TResponseData?>> responseCallback)
|
|
||||||
=> SendMessageToServerAsync(messageTag, null, responseCallback);
|
|
||||||
|
|
||||||
public virtual Task SendMessageToServerAsync<TResponseData>(int messageTag, ISignalRMessage? message, Action<ISignalResponseMessage<TResponseData?>> responseCallback)
|
|
||||||
{
|
|
||||||
if (messageTag == 0)
|
|
||||||
Logger.Error($"SendMessageToServerAsync; messageTag == 0");
|
|
||||||
|
|
||||||
var requestId = AcDomain.NextUniqueInt32;
|
|
||||||
|
|
||||||
_responseByRequestId[requestId] = new Action<ISignalResponseMessage<string>>(responseMessage =>
|
|
||||||
{
|
|
||||||
TResponseData? responseData = default;
|
|
||||||
|
|
||||||
if (responseMessage.Status == SignalResponseStatus.Success)
|
|
||||||
{
|
|
||||||
responseData = string.IsNullOrEmpty(responseMessage.ResponseData) ? default : responseMessage.ResponseData.JsonTo<TResponseData?>();
|
|
||||||
}
|
|
||||||
else Logger.Error($"Client SendMessageToServerAsync<TResponseData> response error; callback; tag: {messageTag}; Status: {responseMessage.Status}; requestId: {requestId};");
|
|
||||||
|
|
||||||
responseCallback(new SignalResponseMessage<TResponseData?>(responseMessage.Status, responseData));
|
|
||||||
});
|
|
||||||
|
|
||||||
return SendMessageToServerAsync(messageTag, message, requestId);
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual Task OnReceiveMessage(int messageTag, byte[] message, int? requestId)
|
|
||||||
{
|
|
||||||
var logText = $"Client OnReceiveMessage; {nameof(messageTag)}: {messageTag}; {nameof(requestId)}: {requestId};";
|
|
||||||
|
|
||||||
if (message.Length == 0) Logger.Warning($"message.Length == 0! {logText}");
|
|
||||||
else Logger.Info(logText);
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
if (requestId.HasValue && _responseByRequestId.ContainsKey(requestId.Value))
|
|
||||||
{
|
|
||||||
var reqId = requestId.Value;
|
|
||||||
|
|
||||||
var responseMessage = message.MessagePackTo<SignalResponseJsonMessage>(ContractlessStandardResolver.Options);
|
|
||||||
|
|
||||||
switch (_responseByRequestId[reqId])
|
|
||||||
{
|
|
||||||
case null:
|
|
||||||
_responseByRequestId[reqId] = responseMessage;
|
|
||||||
return Task.CompletedTask;
|
|
||||||
|
|
||||||
case Action<ISignalResponseMessage<string>> messagePackCallback:
|
|
||||||
_responseByRequestId.TryRemove(reqId, out _);
|
|
||||||
|
|
||||||
messagePackCallback.Invoke(responseMessage);
|
|
||||||
return Task.CompletedTask;
|
|
||||||
|
|
||||||
//case Action<string> jsonCallback:
|
|
||||||
// _responseByRequestId.TryRemove(reqId, out _);
|
|
||||||
|
|
||||||
// jsonCallback.Invoke(responseMessage);
|
|
||||||
// return Task.CompletedTask;
|
|
||||||
|
|
||||||
default:
|
|
||||||
Logger.Error($"Client OnReceiveMessage switch; unknown message type: {_responseByRequestId[reqId]?.GetType().Name}");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_responseByRequestId.TryRemove(reqId, out _);
|
|
||||||
}
|
|
||||||
|
|
||||||
OnMessageReceived(messageTag, message, requestId);
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
if (requestId.HasValue)
|
|
||||||
_responseByRequestId.TryRemove(requestId.Value, out _);
|
|
||||||
|
|
||||||
Logger.Error($"Client OnReceiveMessage; messageTag: {messageTag}; requestId: {requestId}; {ex.Message}", ex);
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Task.CompletedTask;
|
|
||||||
}
|
|
||||||
//public virtual Task OnRequestMessage(int messageTag, int requestId)
|
|
||||||
//{
|
|
||||||
// Logger.DebugConditional($"Client OnRequestMessage; {nameof(messageTag)}: {messageTag}; {nameof(requestId)}: {requestId};");
|
|
||||||
|
|
||||||
// try
|
|
||||||
// {
|
|
||||||
// OnMessageRequested(messageTag, requestId);
|
|
||||||
// }
|
|
||||||
// catch(Exception ex)
|
|
||||||
// {
|
|
||||||
// Logger.Error($"Client OnReceiveMessage; {nameof(messageTag)}: {messageTag}; {nameof(requestId)}: {requestId}; {ex.Message}", ex);
|
|
||||||
// throw;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// return Task.CompletedTask;
|
|
||||||
|
|
||||||
//}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,46 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using AyCode.Core.Extensions;
|
|
||||||
|
|
||||||
namespace AyCode.Blazor.Components.Services;
|
|
||||||
|
|
||||||
public static class TrackingItemHelpers
|
|
||||||
{
|
|
||||||
public static T JsonClone<T>(T source) => source.ToJson().JsonTo<T>()!;
|
|
||||||
|
|
||||||
public static T ReflectionClone<T>(T source)
|
|
||||||
{
|
|
||||||
var type = source!.GetType();
|
|
||||||
|
|
||||||
if (type.IsPrimitive || typeof(string) == type)
|
|
||||||
return source;
|
|
||||||
|
|
||||||
if (type.IsArray)
|
|
||||||
{
|
|
||||||
var elementType = Type.GetType(type.FullName!.Replace("[]", string.Empty))!;
|
|
||||||
var array = (source as Array)!;
|
|
||||||
var cloned = Array.CreateInstance(elementType, array.Length);
|
|
||||||
|
|
||||||
for (var i = 0; i < array.Length; i++)
|
|
||||||
cloned.SetValue(ReflectionClone(array.GetValue(i)), i);
|
|
||||||
|
|
||||||
return (T)Convert.ChangeType(cloned, type);
|
|
||||||
}
|
|
||||||
|
|
||||||
var clone = Activator.CreateInstance(type);
|
|
||||||
|
|
||||||
while (type != null && type != typeof(object))
|
|
||||||
{
|
|
||||||
foreach (var field in type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))
|
|
||||||
{
|
|
||||||
var fieldValue = field.GetValue(source);
|
|
||||||
if (fieldValue == null) continue;
|
|
||||||
|
|
||||||
field.SetValue(clone, ReflectionClone(fieldValue));
|
|
||||||
}
|
|
||||||
|
|
||||||
type = type.BaseType;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (T)clone!;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -54,10 +54,4 @@
|
||||||
<Folder Include="Loggers\" />
|
<Folder Include="Loggers\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="MessagePack" Version="2.5.168" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.6" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.6" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,6 @@
|
||||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="MessagePack" Version="2.5.168" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.6" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Common" Version="8.0.6" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="AyCode.Core">
|
<Reference Include="AyCode.Core">
|
||||||
<HintPath>..\..\AyCode.Core\AyCode.Services.Server\bin\Debug\net8.0\AyCode.Core.dll</HintPath>
|
<HintPath>..\..\AyCode.Core\AyCode.Services.Server\bin\Debug\net8.0\AyCode.Core.dll</HintPath>
|
||||||
|
|
@ -45,11 +39,11 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Update="Microsoft.Maui.Controls" Version="8.0.60" />
|
<PackageReference Update="Microsoft.Maui.Controls" Version="8.0.40" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Update="Microsoft.Maui.Controls.Compatibility" Version="8.0.60" />
|
<PackageReference Update="Microsoft.Maui.Controls.Compatibility" Version="8.0.40" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue