v5.1.0-preview.1 #309
Replies: 9 comments 9 replies
-
BinaryHttpDomainClientFactory feedback
Other changes for preview.2 ?
Changes before final release:
|
Beta Was this translation helpful? Give feedback.
-
@ehsangfl @dsoltesz as I understand it you are currently using a version of the HttpDomainClient from the sample project. We have been running the new BinaryHttpDomainClientFactory in our internal environment for a couple of days and it seems to work fine (except for handling of unexpected errors without exception details) I would appreciate if you gave it a try and come with any feedback on it |
Beta Was this translation helpful? Give feedback.
-
I’ll try updating my current project to use the new updated package and remove my custom RiaServices folder/code from my blazer wasm app
…________________________________
From: Daniel Svensson ***@***.***>
Sent: Thursday, September 30, 2021 3:38:01 AM
To: OpenRIAServices/OpenRiaServices ***@***.***>
Cc: dsoltesz ***@***.***>; Mention ***@***.***>
Subject: Re: [OpenRIAServices/OpenRiaServices] v5.1.0-preview.1 (Discussion #309)
@ehsangfl<https://github.com/ehsangfl> @dsoltesz<https://github.com/dsoltesz> as I understand it you are currently using a version of the HttpDomainClient from the sample project.
I have updated the sample project to use the new BinaryHttpDomainClientFactory
We have been running the new BinaryHttpDomainClientFactory in our internal environment for a couple of days and it seems to work fine (except for handling of unexpected errors without exception details)
I would appreciate if you gave it a try and come with any feedback on it
The final names or API have not been nailed yet
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#309 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALFFSNRZI6LVNCUMYXWBKTUEQHVTANCNFSM5FBUA6VA>.
|
Beta Was this translation helpful? Give feedback.
-
I have things updated and working with the latest preview. I want to do some more testing around server errors and not authorized. Will keep you posted
…________________________________
From: Dan Soltesz ***@***.***>
Sent: Thursday, September 30, 2021 7:55:02 AM
To: OpenRIAServices/OpenRiaServices ***@***.***>; OpenRIAServices/OpenRiaServices ***@***.***>
Cc: Mention ***@***.***>
Subject: Re: [OpenRIAServices/OpenRiaServices] v5.1.0-preview.1 (Discussion #309)
I’ll try updating my current project to use the new updated package and remove my custom RiaServices folder/code from my blazer wasm app
________________________________
From: Daniel Svensson ***@***.***>
Sent: Thursday, September 30, 2021 3:38:01 AM
To: OpenRIAServices/OpenRiaServices ***@***.***>
Cc: dsoltesz ***@***.***>; Mention ***@***.***>
Subject: Re: [OpenRIAServices/OpenRiaServices] v5.1.0-preview.1 (Discussion #309)
@ehsangfl<https://github.com/ehsangfl> @dsoltesz<https://github.com/dsoltesz> as I understand it you are currently using a version of the HttpDomainClient from the sample project.
I have updated the sample project to use the new BinaryHttpDomainClientFactory
We have been running the new BinaryHttpDomainClientFactory in our internal environment for a couple of days and it seems to work fine (except for handling of unexpected errors without exception details)
I would appreciate if you gave it a try and come with any feedback on it
The final names or API have not been nailed yet
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#309 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALFFSNRZI6LVNCUMYXWBKTUEQHVTANCNFSM5FBUA6VA>.
|
Beta Was this translation helpful? Give feedback.
-
Things seem to be working good so far
…________________________________
From: Dan Soltesz ***@***.***>
Sent: Thursday, September 30, 2021 2:55:44 PM
To: OpenRIAServices/OpenRiaServices ***@***.***>; OpenRIAServices/OpenRiaServices ***@***.***>
Cc: Mention ***@***.***>
Subject: Re: [OpenRIAServices/OpenRiaServices] v5.1.0-preview.1 (Discussion #309)
I have things updated and working with the latest preview. I want to do some more testing around server errors and not authorized. Will keep you posted
________________________________
From: Dan Soltesz ***@***.***>
Sent: Thursday, September 30, 2021 7:55:02 AM
To: OpenRIAServices/OpenRiaServices ***@***.***>; OpenRIAServices/OpenRiaServices ***@***.***>
Cc: Mention ***@***.***>
Subject: Re: [OpenRIAServices/OpenRiaServices] v5.1.0-preview.1 (Discussion #309)
I’ll try updating my current project to use the new updated package and remove my custom RiaServices folder/code from my blazer wasm app
________________________________
From: Daniel Svensson ***@***.***>
Sent: Thursday, September 30, 2021 3:38:01 AM
To: OpenRIAServices/OpenRiaServices ***@***.***>
Cc: dsoltesz ***@***.***>; Mention ***@***.***>
Subject: Re: [OpenRIAServices/OpenRiaServices] v5.1.0-preview.1 (Discussion #309)
@ehsangfl<https://github.com/ehsangfl> @dsoltesz<https://github.com/dsoltesz> as I understand it you are currently using a version of the HttpDomainClient from the sample project.
I have updated the sample project to use the new BinaryHttpDomainClientFactory
We have been running the new BinaryHttpDomainClientFactory in our internal environment for a couple of days and it seems to work fine (except for handling of unexpected errors without exception details)
I would appreciate if you gave it a try and come with any feedback on it
The final names or API have not been nailed yet
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#309 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALFFSNRZI6LVNCUMYXWBKTUEQHVTANCNFSM5FBUA6VA>.
|
Beta Was this translation helpful? Give feedback.
-
So does 5.1 do away with WCF? |
Beta Was this translation helpful? Give feedback.
-
Using the 5.1 preview but with a WPF client I am attempting to implement token authentication using OpenIdDict (I am doing a test using the sample WASM app as the basis). Everything works as I would expect with the UserController (the User is set to a ClaimsIdentity) when calling using a HttpClient and setting request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", ""). However, if I make a call to a DomainService method I am not seeing the User set--it is always anonymous. (on the domainservice call, I implemented a HttpClientHandler and set the Authorization header in the overridden SendAsync method). Any thoughts as to why it would worth with the ApiController but not the DomainService? |
Beta Was this translation helpful? Give feedback.
-
Before 5.1, I was able to execute a domain query on a thread other than the Dispatcher, while having bindings to the underlying Context entities. In 5.1, if I run the same code I get exceptions System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread. I am wonder was there a change in 5.1 as to how the results are added to the EntityCollection. I am not saying there is a bug in 5.1, but I am wondering why my code now fails. To that end, is there a mechanism I can use so when elements are added to the EntityCollection I can have some control (i.e. use the Dispatcher to do so to eliminate the exception). This is the underlying exception:
|
Beta Was this translation helpful? Give feedback.
-
Is there a timeline for version 5.1 or an estimate of when you think a final release will be made? |
Beta Was this translation helpful? Give feedback.
-
BinaryHttpDomainClientFactory
Add a new cross platform (Including Blazor wasm) more easily extensible DomainClient for the binary protocol.
Or if you want to use factory for your HttpClients you can pass in a function as callback
This discussion was created from the release v5.1.0-preview.1.
Beta Was this translation helpful? Give feedback.
All reactions