Base solution for your next web application

Activities of "zdeen"

Question

Hi, I need to enter float value instead of integer in the below line:

inputType: new SingleLineStringInputType(new NumericValueValidator(0, int.MaxValue))

What should I give instead of "NumericValueValidator" here? I couldnot find anything similar to FloatValueValidator. Thank you

Hi, I was trying to get edition feature values: for some editions, GetFeatureValuesAsync(Int editionId) is returning correct values. But for some editions, GetFeatureValuesAsync is returning zero even though I can see correct values are saved in AbpFeatures table in DB. As I can not see the content of GetFeatureValuesAsync method, I am not able to understand the reason for this. Could you please explain the method content or any extra filter in the method which cause setting feature value as zero in response Thank you

Question

Hi,

I would like to add a new service which will use another class (say, class A) to complete the task. What is the procedure to add a new service in aspnet zero

In case of unlimited subscription( that is, SubscriptionEndDate=NULL), while upgrading to another edition, "UpgradePrice" is just cost of target edition. "Last payment amount" or "price for unused period" is not considered in such cases. Is this logic correct? If a tenant opt for unlimited subscription and payment is done monthly, then while upgrading to another edition in the mid of month, "price for unused period" should be considered while calculating "UpgradePrice", right?

Hi , We are using this version of ASPNET ZERO:

ASP.NET CORE & Angular .NET Core 2.2 v7.2.3

We have a multi tenant application (still in staging but some users are testing it for a production launch) and found that one tenant was moved to Inactive state,

From the tenants table it appears that indeed tenant was updated to ne Inactive but the LastModifiedUserId is NULL.

I have few audit logs pushed to LogAnalytics ( custom implementation) but dotn't see anything at that time

This makes me believe that may be some Background job might have updated this Tenant.

Could you please let me know if there are any case where background jobs may update the Tenant and what can be the reason for LastUpdatedUserId being NULL.

Thanks a lot for the help.

While creating an edition, we can enter name, amount, features etc. After creating edition, if we want to edit that edition we can call UpdateEdition api. But in UpdateEdition api, there is no option to update edition amount . Is there any reason for this?

Hi , We are using this version of ASPNET ZERO:

ASP.NET CORE & Angular .NET Core 2.2 v7.2.3

The application is hosted in Azure and the datastore used is SQL Azure. Connection string is in appsetting file and is fetched via _appConfiguration.GetConnectionString.

I was trying to move this to Azure KeyVault so that API code can fetch SQL Server connection string from Azure KeyVault.So was trying to inject Azure KeyVault in WebCoreModule as dependency to fetch SQL Azure Connection string

I have written an implementation on top of Azure KeyVault called KeyVaultManager in my code which connects to KeyVault and fetch the details . When I tried injecting it to WebCoreModule this is the exception it throws:

*HandlerException: Can't create component 'OneSense.Web.OneSenseWebCoreModule' as it has dependencies to be satisfied.

'OneSense.Web.OneSenseWebCoreModule' is waiting for the following dependencies:

  • Service 'OneSense.Core.Platform.KeyVault.IKeyVaultManager' which was not registered. Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()

HandlerException: Can't create component 'OneSense.Web.OneSenseWebCoreModule' as it has dependencies to be satisfied. 'OneSense.Web.OneSenseWebCoreModule' is waiting for the following dependencies: - Service 'OneSense.Core.Platform.KeyVault.IKeyVaultManager' which was not registered.*

Is there a way where this dependency can be injected in constructor of OneSenseWebCoreModule along with IHostingEnvironment. This is the first secret application needs to fetch from KeyVault and was thinking if there is a better way of doing this.

Please let me know if there is any other details which is needed from my side.

What is logic behind "ExpiringEdition" in Edition management services? And why Expiring Edition Must Be A Free Edition?

Prerequisites

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

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

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

Hi team,

I am using ASP.NET CORE & Angular- .NET Core 2.2- v7.2.3 of ASPNET Zero and trying to integrate Paypal.

The processing at paypal gets completed but the call fails.

I tried debugging it and found that it fails in this line (Tenant.cs)

Now this make sense with what I am seeing in application

I have few queries on these topics and looking for guidance and help here.

  1. In the callback URI from Paypal what does "d=1595613658563" stands for.Could you please guide where are we using it in aspnetzero.
  2. The edition which SubscriptionEndDateUtc null is a new Edition created in system.What I understand is when we create an edition the enddate is null. What is the normal workflow for users who are in those edition.
  3. What is the business rule to show button Upgrade and Extend (in subscription-management page) .For some subscriptions only Extend is visible and for some both Upgrade and Extend. Are these also dependent on SubscriptionEndDateUtc .
  4. The last query , Any document which expains how to set password for Host username and enable 2FA for the HostId.We want to change the default username and password for Host account

Thanks a lot for the help.

Regards, Zainu

Showing 1 to 10 of 17 entries