Base solution for your next web application

Activities of "Jorahealth"

What is your product version? 9.2.0 What is your product type (Angular or MVC)?** Angular** What is product framework type (.net framework or .net core)? .NET CORE

We are trying to get Stripe integration working, The test webhook from Stripe portal shows it was sent sucessfully to webhook we created, but on published site we are not able to retive payment results...

There are no webhook subscriptions visible in the subscriptions table, do we need to add one, if we do how do we add, I have tried adding the created webhook from the UI but unsucessfull?

Could you help identify the issue.

Many Thanks

Question

What is your product version? 9.2.0 What is your product type (Angular or MVC)?** Angular** What is product framework type (.net framework or .net core)? .NET CORE

We are trying to get Stripe integration working, When sending a Test webhook...I am getting

Test webhook error: 302 on the Stripe portal

The Error Log shows: ERROR 2021-07-05 10:20:11,094 [54 ] isively.Web.Controllers.StripeController - The webhook cannot be processed because the current timestamp is outside of the allowed tolerance. Stripe.StripeException: The webhook cannot be processed because the current timestamp is outside of the allowed tolerance.

Both Stripe and Azure where the solution is hosted are set to the same time zones...

Could you kindly advise a resolution....

Many Thanks

Question
  • What is your product version? 9.2.0
  • What is your product type (Angular or MVC)?** Angular**
  • What is product framework type (.net framework or .net core)? .NET CORE

We just want to upload pdf and images to azure db from our Xamarin forms mobile application. In azure db we are saving this as byte array. While uploading documents from angular web, we are converting these documents to encoded string format with the help of "readAsBinaryString" option from js file reader. Could you please suggest a way to convert these documents to corresponding string format from mobile?

Many Thanks S Chacko

  • What is your product version? 9.2.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .NET CORE

Could we please get help with the following:

We are trying to integrate FCM pushnotification in Xamarin.forms app. It's works sucessfully in our ASP.NET ZERO Android project and sample iOS project but ** not with our ASP.NET ZERO iOS project. In the case of iOS, we are getting an exception, and not able to send notification. Could you please help us resolve this?

In the process we are able to generate the FCM token, but app is crashing when 'Allow pushnotification request permission' popup appears on device.
In "WebRequestExecuter.cs" class it handle the exception in "HandleDefaultException" method. The Exception is =>" An object reference is required for the non-static field, method, or property 'Decisively.Core.Threading.WebRequestExecuter.exception'." And Exception throws from Main.cs class file

Exception Log

at (wrapper managed-to-native) System.Threading.Thread.Abort_internal(System.Threading.InternalThread,object) at System.Threading.Thread.Abort () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System.Threading/Thread.cs:448 at Decisively.AppDelegate+<>c.<SetExitAction>b__3_0 () [0x00001] in /Users/aswanipu/Jora/aspnet-core/src/Decisively.Mobile.iOS/AppDelegate.cs:89 at Decisively.ViewModels.Base.UserConfigurationManager+<>c.<GetAsync>b__4_2 (System.Exception _) [0x00001] in /Users/aswanipu/Jora/aspnet-core/src/Decisively.Mobile.Shared/ViewModels/Base/UserConfigurationManager.cs:60 at Decisively.Core.Threading.WebRequestExecuter.HandleDefaultException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00140] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00300] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.Execute[TResult] (System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback, System.Action finallyCallback) [0x00410] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleDefaultException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00117] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00300] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.Execute[TResult] (System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback, System.Action finallyCallback) [0x00410] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleDefaultException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00117] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00300] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.Execute[TResult] (System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback, System.Action finallyCallback) [0x00410] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleDefaultException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00117] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00300] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.Execute[TResult] (System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback, System.Action finallyCallback) [0x00410] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleDefaultException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00117] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.HandleException[TResult] (System.Exception exception, System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback) [0x00300] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.Core.Threading.WebRequestExecuter.Execute[TResult] (System.Func1[TResult] func, System.Func2[T,TResult] successCallback, System.Func2[T,TResult] failCallback, System.Action finallyCallback) [0x00410] in <5fd16953003141bbb0bdead1209c5472>:0 at Decisively.ViewModels.Base.UserConfigurationManager.GetAsync (System.Func1[TResult] successCallback) [0x000da] in /Users/aswanipu/Jora/aspnet-core/src/Decisively.Mobile.Shared/ViewModels/Base/UserConfigurationManager.cs:40 at Decisively.ViewModels.Base.UserConfigurationManager.GetIfNeedsAsync () [0x00034] in /Users/aswanipu/Jora/aspnet-core/src/Decisively.Mobile.Shared/ViewModels/Base/UserConfigurationManager.cs:31 at Decisively.App.OnStart () [0x00051] in /Users/aswanipu/Jora/aspnet-core/src/Decisively.Mobile.Shared/App.xaml.cs:53 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021 at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/14.4.1.3/src/Xamarin.iOS/Foundation/NSAction.cs:178 at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/14.4.1.3/src/Xamarin.iOS/UIKit/UIApplication.cs:86 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.fraframework/Versions/14.4.1.3/src/Xamarin.iOS/UIKit/UIApplication.cs:65 at Decisively.Application.Main (System.String[] args) [0x00002] in /Users/aswanipu/Jora/aspnet-core/src/Decisively.Mobile.iOS/Main.cs:15

The process we followed to integrate the iOS app to FCM is as follows: Using Apple Developer account, we created an Id, with this iOS project bundle id we enabled pushnotification. We also created Provisional certificate and and installed in xcode. We are registerd our ASP.NET ZERO Xamarin iOS app in Firebase using bundle id and uploaded AuthKey certificate. From the app side, we enabled RemoteNotification and Background mode in info.plist file and also enabled Pushnotification in Entitlement.plist file. We added GoogleService-info.plist file to project and set the build action as BundleResource.

To check code, I have attached these to a share folderhere (please see attached AppDelegate.cs class file and UserNotificationCenterDelegate.cs file.)

Your help is much appreciated.

Many thanks in advance

Prerequisites

  • What is your product version? 9.2.0
  • What is your product type (Angular or MVC): Angular
  • What is product framework type (.net framework or .net core)? .Net Core

We started migrating to latest version to fix a Refresh token issue, We have noticed that style, layout and structure have changed when we have migrtaed from v8.9.2 to v9.2.0

How could we bring these changes easily to already created entities as the changes dont render correctly with old codes, do we need to manually chnage each line, whats the best way to get the old templates updated?

What is the best way to migrate exisiting entities created in old version to new 9.2.0 version with new style?**

The way the old entity renders!

Please answer the following questions before submitting an issue.

  • What is your product version?
  • 8.9.2
  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)? .net core

Xamanrin App: Hi we have an issue with our Xamarin Android App, We have enabled push notification on this and the user stays logged in all the time. The App stops working after about 24-48hrs it just crashes when we click on the icon. We have to clear data in mobile and then it works, but then have to re-enter trenancy and log back in.

Could you advice how to debug this issue, is there a mobile application log? Is it due to Auth token expiring??

Question

Prerequisites

  • What is your product version?**v8.9.2.0 **
  • What is your product type (Angular or MVC)? ANGULAR
  • What is product framework type (.net framework or .net core)? .NET CORE

Hi, We have a problem with the latest update of Power tools (v 2.6.1). It does not work, we are unable to create entities with it, it closes when we click generate, I have replied to thread (Power Tool stopped working #9604) that has raised similar issues, our development has stopped because of this, could you email me please with a resolution.

My log shows shome error.... DEBUG 2020-09-16 10:33:01,407 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False ERROR 2020-09-16 10:37:04,432 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 ERROR 2020-09-16 10:37:32,712 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 ERROR 2020-09-16 10:37:39,639 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 ERROR 2020-09-16 10:37:45,567 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 DEBUG 2020-09-16 10:38:59,038 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-16 10:38:59,558 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated. DEBUG 2020-09-16 10:43:31,722 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-16 10:45:09,837 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-16 10:45:10,244 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated. DEBUG 2020-09-16 13:21:50,019 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True DEBUG 2020-09-16 13:27:06,055 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True

Many Thanks

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? v8.9.2.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? **.NET CORE **

Query How can we call api request with multiple parameters as querystring instead of object queryParameter, in Asp.NetZero xamarin? Now we are passing, api request parameters as object. But sometimes I just want to pass multiple parameters like a query string. What can I do?

Prefetching lazy loaded modules produces an error while navigating.

To reduce the loading time of the lazy loaded modules, I had to enable prefetching of lazy loaded modules. I noticed an error which occurred as a result of it. Whenever i tried navigating to a different route before the notify info message is closed, it resulted in freezing of the UI after navigating to the new route and threw an error in the console.

Enabled preloading of modules.

Navigation after showing the message

The notify info does not close and throws an error

Could you kindly advise me how to fix this exception error I get when I leave the solution logged in and idle for some time? I cannot seem to find what the issue is.

Showing 1 to 10 of 12 entries