Base solution for your next web application

Activities of "ptaylor"

I see some of the examples from the boilerplate code that class that inherits from [ProjectName]ServiceBase (mostly helpers) and [ProjectName]DomainServiceBase (Managers) resides in the [ProjectName].Core Project and can be injected in the classes that inherits from AppServiceBase (AppServices) and is placed under [ProjectName].Application Project.

So, what's the difference between the classes that inherits from [ProjectName]ServiceBase and the classes that inherits from [ProjectName]DomainServiceBase. In what condition should we prefer ServiceBase over DomainServiceBase and vice versa.

For example: UserPolicy that inherits from [ProjectName]ServiceBase.
I could not get the difference between Application Layer and Domain layer citing this class.

My question is why couldn't it inherit from [ProjectName]DomainServiceBase? What changes/complications it would have caused if inherited from [ProjectName]DomainServiceBase?

Thanks @ismcagdas for the quick response. I have created an issue here.

One last thing to confirm. As of now, I have to keep on creating a new tenant until and unless the Stripe transaction is successful. Each failed transaction will create a new tenant which is of no use and needs to be deleted by Host user.

Version - 10.5.0 Product type - .Net Core + Angular

Hi Team, I have enabled Stripe to purchase/subcribe to a paid Edition while creating a new tenant. When a stripe payment gets Failed(due to any reason) or Cancelled(by clicking on back button on stripe payment page), how this payment/transaction can be restarted or another transaction can be kick-started so the user can purchase the edition and tenant can be activated? I am unable to find in both documentation as well as source code where this can be done. Please guide.

Regards.

Thanks for your reply @ismcagdas.

There is some followup questions against your reply:

  1. Do we have to upgrade from v7.0.0 to the latest verision?
  2. In our version, the file EntityHistoryHelper is in MyProject.Core rather than MyProject.EntityFrameworkCore and also there is a very little code in my current EntityHistoryHelper. And our app couldn't even find EntityHistoryHelperBase to extend from.

Please help.

Product type: ASP.NET Core + Angular Version: 7.0.0

I have a requirement to add a new property to History related table, AbpEntityChange to be precise. I am able to do this by following Extending Existing Entities. I just couldn't find the file where I can modify the newly added property i.e. I want to modify or add value to this property when a new entity of AbpEntityChange is created.

Please let me know the area where these changes are currently being made in my application.

Thanks

Showing 1 to 5 of 5 entries