Hi, when i check your site i get this error: idmsvnext.infogroup.com/:1 Access to XMLHttpRequest at 'https://idmsvnext.infogroup.com/AbpUserConfiguration/GetAll?d=1567597791213' from origin 'http://idmsvnext.infogroup.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hope this helps
I've just published my Angular site to Azure, works normally:
https://phoogle-client.azurewebsites.net
Thnx! This is wat i have done in UserManager.cs:
public User GetUserBySomId(int somId) { return Users.FirstOrDefault(u => u.SpotOnMedicsId == somId); }
And it works
Hi @maliming, thanks for your quick reply. Shoud i use the IRepository<User, long> in my method to find the user??
@ryancyq Thnx!
I've downloaded Angular Core version one solution, when i start the mobile solution i get the following errors when building:
Severity Code Description Project File Line Suppression State Error File on disk is not included in project FP.Phoogle.Mobile.Droid C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Droid\Renderer\FontExtensions.cs 0 Warning CS0618 'Frame.OutlineColor' is obsolete: 'OutlineColor is obsolete as of version 3.0.0. Please use BorderColor instead.' FP.Phoogle.Mobile.Shared C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Shared\Controls\CardView.cs 14 N/A Warning CS0618 'BindableProperty.Create<TDeclarer, TPropertyType>(Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<TDeclarer, TPropertyType>)' is obsolete: 'Create<> (generic) is obsolete as of version 2.1.0 and is no longer supported.' FP.Phoogle.Mobile.Shared C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Shared\Controls\HideableToolbarItem.cs 10 N/A Warning The referenced component 'System.ObjectModel' could not be found. FP.Phoogle.Mobile.Droid Warning The referenced component 'System.Threading.Tasks' could not be found. FP.Phoogle.Mobile.Droid Warning Found conflicts between different versions of "Microsoft.CSharp" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. FP.Phoogle.Mobile.Droid Warning The referenced component 'System.Runtime' could not be found. FP.Phoogle.Mobile.Droid Warning The referenced component 'System.Collections' could not be found. FP.Phoogle.Mobile.Droid Warning The $(TargetFrameworkVersion) for FFImageLoading.Platform.dll (v9.0) is greater than the $(TargetFrameworkVersion) for your project (v8.1). You need to increase the $(TargetFrameworkVersion) for your project. FP.Phoogle.Mobile.Droid C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Droid\FP.Phoogle.Mobile.Droid.csproj Warning The $(TargetFrameworkVersion) for FFImageLoading.Forms.Platform.dll (v9.0) is greater than the $(TargetFrameworkVersion) for your project (v8.1). You need to increase the $(TargetFrameworkVersion) for your project. FP.Phoogle.Mobile.Droid C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Droid\FP.Phoogle.Mobile.Droid.csproj Warning NU1701 Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. FP.Phoogle.Application.Client C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Application.Client\FP.Phoogle.Application.Client.csproj 1 Warning NU1701 Package 'Microsoft.Bcl 1.1.6' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. FP.Phoogle.Mobile.Shared C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Shared\FP.Phoogle.Mobile.Shared.csproj 1 Warning NU1701 Package 'Microsoft.Bcl.Async 1.0.165' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. FP.Phoogle.Mobile.Shared C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Shared\FP.Phoogle.Mobile.Shared.csproj 1 Warning NU1701 Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. FP.Phoogle.Mobile.Shared C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Shared\FP.Phoogle.Mobile.Shared.csproj 1 Warning NU1701 Package 'PCLStorage 1.0.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. FP.Phoogle.Mobile.Shared C:\Users\RenevanWoezik\Downloads\Phoogle6.91\Phoogle\src\FP.Phoogle.Mobile.Shared\FP.Phoogle.Mobile.Shared.csproj 1 Warning MSB3245 Could not resolve this reference. Could not locate the assembly "ImageCircle.Forms.Plugin.Abstractions". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. FP.Phoogle.Mobile.Shared C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 2110
Are you sure? downloaded a fresh version 6.9.1 Angular Core and i have same compile warnings
Ah, that did the trick. Is this new?
Forget it, already found it in the chat-bar.component <perfect-scrollbar>