Closed oruchreis closed 1 year ago
@oruchreis Huh, more incencitive to release #544 faster. Thanks.
I can reproduce this issue as well and it does not happen without DryIoc. Here is the actual exception that is happening:
2023-04-14 09:36:46.604 -04:00 [VRB] InvocationId null: Sending result of type 'System.Void'.
2023-04-14 09:36:46.605 -04:00 [DBG] Parameters to hub method 'ReceiveJSDataChunk' are incorrect.
System.IO.InvalidDataException: Invocation provides 4 argument(s) but target expects 3.
at Microsoft.AspNetCore.SignalR.Protocol.MessagePackHubProtocolWorker.BindArguments(MessagePackReader& reader, IReadOnlyList`1 parameterTypes)
at Microsoft.AspNetCore.SignalR.Protocol.MessagePackHubProtocolWorker.CreateInvocationMessage(MessagePackReader& reader, IInvocationBinder binder, Int32 itemCount)
2023-04-14 09:36:46.634 -04:00 [DBG] Parameters to hub method 'ReceiveJSDataChunk' are incorrect.
System.IO.InvalidDataException: Invocation provides 4 argument(s) but target expects 3.
at Microsoft.AspNetCore.SignalR.Protocol.MessagePackHubProtocolWorker.BindArguments(MessagePackReader& reader, IReadOnlyList`1 parameterTypes)
at Microsoft.AspNetCore.SignalR.Protocol.MessagePackHubProtocolWorker.CreateInvocationMessage(MessagePackReader& reader, IInvocationBinder binder, Int32 itemCount)
2023-04-14 09:36:52.641 -04:00 [VRB] Message received. Type: "Binary", size: 3, EndOfMessage: true.
@oruchreis @MaxwellDAssistek I have checked that it is working with .NET 7 and DryIoc.MS.DI v6.2.0-preview-01
@dadhi Can confirm that it works for me as well.
Hi, I don't know it is relevant or not with #544 but If we use
DryIoc.Microsoft.DependencyInjection v6.*.*
package with Net 7, the file upload doesn't work. I'm integrating DryIoc like this: Program.cs:and simple upload page: Upload.razor:
Actually all js streaming is not working with
DryIoc.Microsoft.DependencyInjection v6.*
with Net 7. If I comment outDryIocServiceProviderFactory
line, it is working.