Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "Homam"

Hi,

We are now having a performance issue, the request is taking up to 17 seconds. I am troubleshooting the issue and seems the table AbpAuditLogs is the issue.

This us the Azure Insight log.

The table size is 888K Records.

Any idea please?

Hi,

Any update on this topic (payment per user per month) ? is it on the timeline ?

Yes, right. But Stripe is handling it all.

Anyway.. Thanks for the answer!

In Stripe integration, when I add a new user, the system is not asking for more money. Is there anything I am missing?

I wonder why aren't you using the Subscription feature in Stripe and creating a customer and assign it to it?

Stripe supports Customers, Editions, Subscriptions, invoices and other features. But seems you've built them all from scratch and not integrating with those features.

Is there any technical reason? or just to keep the compatibility with PayPal payment, which you had before?

The porblem has been fixed after upgrading to ABP 3.4. This was the solution ;)

Host Project "App": { "ServerRootAddress": "https://workiom-web-dev.azurewebsites.net", "ClientRootAddress": "https://{TENANCY_NAME}.workiom.com", "CorsOrigins": "http://localhost:4200,http://localhost:49152" },

Angular { "remoteServiceBaseUrl": "https://workiom-dev.azurewebsites.net", "appBaseUrl": "https://{TENANCY_NAME}.workiom.com" }

Note, I applied it only on the web project. The APIs are on a differet machine.

I have a problem with sub domain configuration for multi-tenancy.

Everything seems working except that when I use the tenant name, it always goes to the admin tenant regardless of the tenant name mentioned inthe sub domain.

I used the configuration exactly in the angular app & the apis app.

What can I be missed?

Hi,

I am trying to save two records together (parent / child) in one transaction. However, the second record foreign key value is not getting the generated Id of parent and has a negative value.

My code:

public async Task<FieldDto> Create(Guid listId, CreateFieldInput input)
        {
            await CheckParentIfExists(listId);
            await CheckIfAlreadyExists(listId, input.Name);

            using (var uow = _unitOfWorkManager.Begin(TransactionScopeOption.RequiresNew))
            {
                var list = _listRepository.Get(listId);
                var record = ObjectMapper.Map<Field>(input);
                record.ListId = listId;

                var insertedRecord = await _repository.InsertAsync(record);

                if (input.LinkedListId.HasValue)
                {
                    // If a link is created between two entities,
                    // a new field is automatically added to the other entity
                    Field slaveField = new Field
                    {
                        ListId = input.LinkedListId.Value,
                        MasterFieldId = insertedRecord.Id,
                        DataType = (int)FieldDataType.LinkList,
                        IsPrimary = false,
                        IsVisible = true,
                        IsRequired = false,
                        Name = list.Name,
                        Description = list.Name,
                    };

                   // HERE THE insertedRecord.Id, IS A WRONG NEGATIVE VALUE IN THE DATABASE  :roll: 
                    await _repository.InsertAsync(slaveField);
                }

                await uow.CompleteAsync();

                return ObjectMapper.Map<FieldDto>(insertedRecord);
            }
        }

How can I fix it?

Actually I am expecting a fix from your side. I think it should work without changing code and overriding the existing library.

Showing 11 to 20 of 20 entries