IAutorizeDataPortal and Uno Platform #1792
Replies: 3 comments 9 replies
-
Can you provide the |
Beta Was this translation helpful? Give feedback.
-
Regarding the I'm assuming you are not overriding that setting in your config, and so this leads me to believe that perhaps there's some DLL version mismatch happening. The code throwing this exception is probably here: if (null == authProviderType)
throw new ArgumentNullException(nameof(authProviderType), Resources.CslaAuthenticationProviderNotSet);
if (!typeof(IAuthorizeDataPortal).IsAssignableFrom(authProviderType))
throw new ArgumentException(Resources.AuthenticationProviderDoesNotImplementIAuthorizeDataPortal, nameof(authProviderType)); And you can see that it first checks for
|
Beta Was this translation helpful? Give feedback.
-
NotSupported is in the UnoExample project.
It happens the 1st time
var obj = await DataPortal.FetchAsync<PersonList>();
is executed. So if I put a Try catch around that and then execute it again it works.
Weird.
The IAuthorizeDataPortal is in my project.
From: Rockford Lhotka <[email protected]>
Sent: Friday, August 28, 2020 4:49 PM
To: MarimerLLC/csla <[email protected]>
Cc: keithf1138 <[email protected]>; Author <[email protected]>
Subject: Re: [MarimerLLC/csla] IAutorizeDataPortal and Uno Platform (#1792)
Wait - the NotSupportedException and the IAuthorizeDataPortal are the same issue? I thought we had two issues here?
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a new project working on an trying out using UNO Platform along with Blazor for a tablet and a web application. They fit different needs, but have some shared objects. So have a solution all setup with Blazor Server and have some POC functionality working. So moved on to get UNO Tablet client working. Got the UNOExample CSLA example mostly working. Only issue is that when you start it up the PersonList form gets an OperationNotSupported exception upon the 1st attempt to talk to the DataPortal. If you immediately try again then it works, weird I know.
OK so adding Uno client to the main solution and try to run it and I get. "csla authentication provider specified does not implement iauthorizedataportal". I have gone over the UnoExample and my solution and I just cant seem to figure out what the difference is.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions