Sorry unfortunately we do not have time to test this ourselves. I was just curious how this error might have happened.
Hey!
thanks that was the solution for my problem! :)
Best regards
The runtime is installed and up-to-date:
ubuntu@ov-e4ba07:~$ dotnet --info
global.json file:
Not found
Host:
Version: 6.0.9
Architecture: x64
Commit: 163a63591c
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.9 [/usr/lib/dotnet/dotnet6-6.0.109/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.9 [/usr/lib/dotnet/dotnet6-6.0.109/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
So this is not the problem.
Very strange that it is not working.
Perfect now its working!
Before I tried to build it with Framework-Dependent (which is portable). Why does it not work if we build it in the portable way?
Thanks!
Ok thanks for the clarification! So this is not possible and this is a limitation by ABP.
Is it possible to retrieve the Bearer Access token? Or is it not possible due to security requirements.
Can you show a case?
Why do you need a showcase? Is it possible to retrieve the Bearer Access token or not? It is a yes or no answer. If it is not possible, then my question is why? The client should anyway have access to the Bearer Access token.
As an example, what if I need to implement something very specific in the Blazor Server client where I have to interact with a controller directly.
Thanks for the help!
Ah thank you very much! We will try using the IRemoteStreamContent interface.
Just out of curiosity: Is it possible to retrieve the Bearer Access token? Or is it not possible due to security requirements.
hi
Are you using the Identity Server?
Yes we do.
Thanks for the input!
Even if we fixed the issue with the configuration, we still have the issue with the dynamic proxies.
We also had the following weird issues when compiling the solution on the iMac:
/Users/admin/Git/Conzepta/Conzepta.iOS/MTOUCH: Error MT2101: Can't resolve the reference
'System.Collections.Generic.ICollection`1<System.Action`2<System.Type,Autofac.Builder.IRegistrationBuilder`3<System.Object,Autofac.Builder.ConcreteReflectionActivatorData,Autofac.Builder.SingleRegistrationStyle>>>
Autofac.Features.Scanning.ScanningActivatorData::get_ConfigurationActions()', referenced from the method
'Autofac.Builder.IRegistrationBuilder`3<TLimit,Autofac.Features.Scanning.ScanningActivatorData,TRegistrationStyle> Autofac.Extras.DynamicProxy.RegistrationExtensions::EnableClassInterceptors(Autofac.Builder.IRegistrationBuilder`3<TLimit,Autofac.Features.Scanning.ScanningActivatorData,TRegistrationStyle>,Castle.DynamicProxy.ProxyGenerationOptions,System.Type[])' in 'Autofac, Version=6.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da'. (MT2101) (Conzepta.iOS)
We managed to make it build later, but no idea how ...
So something is not really working with those Dynamic Proxies on Xamarin iOS.
DynamicProxy needs System.Reflection.Emit: "... any another .NET platform that supports .NET Standard 2.0+ and runtime type generation using System.Reflection.Emit ..." https://github.com/castleproject/Core/blob/master/docs/dynamicproxy-introduction.md
System.Reflection.Emit not available for Xamarin.iOS: "The System.Reflection.Emit is not available. " https://docs.microsoft.com/en-us/xamarin/ios/internals/limitations#no-dynamic-code-generation
All in all, it is not possible to use the dynamic proxies on iOS. We will probably create the HttpClient ourself or use libraries like Refit for communicating with the backend.
So it seems PhysicalFilesWatcher is not supported on Xamarin-iOS (or at least in our version). We do not need it anyway, so how can we turn this feature off?
We tried finding any resources on how to turn it off, but we did not find anything.
We tried to find a way to turn it off on the AbpApplicationCreationOptions options. But couldn't find anything.
Can you point us to a documentation page or sample project?