Looks like you can create a "new" project with the same details as your existing one to get the new version. Looks like you can ignore the message about it downgrading your project limit.
Hi,
The timezone is reported as Etc/UTC.
And bizarrely, I can now see a Timezone option under "My Settings" which wasn't there before.
What should we set for the United Kingdom - bearing in mind we alternate between GMT (Greenwich Mean Time) and BST (British Summer Time)?
Bearing in mind if we put a time in of say, 9pm British Summer Time, which gets converted to 8pm UTC in the backend, we still want to see 9pm during BST and also during GMT.
Regards, Simon Dean
Sorry for the delay in replying.
That article doesn't go too much into detail about where to set ClockProvider, but I have added this into the Startup.cs of the application, and this now seems to be passing back UTC Times correctly from ASP to Angular.
The Angular App (Service Proxies etc) is seeing the Z in the JSON showing that it is a UTC Time. So we're getting eg, 11pm UTC, but then just converting to a Moment of 11pm BST which is incorrect.
Regards, Simon Dean
Thanks for this. However as you can see, the service proxy does actually seem to convert to UTC time zone before submitting to the ASP.NET Zero server.
The problem appears to be in getting the time back from the ASP.NET Zero in that is it bringing in a time that is not denoted as being UTC and is therefore being treated as the local time zone.
So we submit eg 9pm BST, this gets sent and saved to ASP.NET Zero as 8pm UTC. When we get the time back, we get 8pm BST, and if we resubmit that time back to ASP.NET Zero, it gets saved as 7pm UTC. And the cycle continues. 7pm UTC > 7pm BST > 6pm UTC > 6pm BST etc etc
I'll have a look at those links to see if there's anything that might help with this.
Regards, Simon Dean
Can confirm this now works as expected in 5.6.2
Perfect. Thanks.
Simon
Ignore. We didn't set the right connectionString.
Thanks for that, however it was more the differences between the Framework selections. Downloading .NET Zero 5.3.0 gives options for Framework 4.6 and .NET Core 2.0
Could you advise on the differences? I believe SignalR was one such limitation.
Regards Simon Dean
Sorry for the delay in updating.
We're using a version of ASP.NET Zero that was originally downloaded in April.
Through the login page, we're selecting a Tenant, and then going to Login. The TryLoginFromExternalAuthenticationSources as far as I know should be trying to log in to our LDAP Server and indeed this works fine. However then when trying to create the user, it fails as above.
Regards, Simon Dean
If I try to manually run the commands in the debug stack on line 323 and 334 of AbpLoginManager (ie await UserManager.CreateAsync(user) and await UnitOfWorkManager.Current.SaveChangesAsync() I get the following results:
CreateAsync: The function evaluation requires all threads to run SaveChangesAsync: Cannot apply unary operator to non-primitive value
Im not seeing anything obvious however.
Regards, Simon Dean