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

Activities of "razkhan78"

AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core 2.1

We are trying to implement the redis cach for "Abp" using the following doc. https://docs.abp.io/en/abp/latest/Redis-Cache Note: We are using "Azure Redis Cache".

When we enable the this then we face the slowness. Can you please let us know wha we need to be looking at?

and also is there any we can move only specific data on redis like only abpsettings?

AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core 2.1

Hi We are trying to connect to azure signalR

and getting these 4 errors:

=>Castle.MicroKernel.ComponentActivator.ComponentActivatorException: 'ComponentActivator: could not instantiate Microsoft.Azure.SignalR.ServiceLifetimeManager`1[[LoadStop.Web.Chat.SignalR.ChatHub, LoadStop.Web.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null]]'

=>Exception: Could not instantiate Microsoft.Azure.SignalR.ServiceLifetimeManager`1[[LoadStop.Web.Chat.SignalR.ChatHub, LoadStop.Web.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null]].

=>TargetInvocationException: Exception has been thrown by the target of an invocation.

=>InvalidOperationException: 'AddAzureSignalR(...)' was called without a matching call to 'IApplicationBuilder.UseAzureSignalR(...)'.

Same is working for asp.net core 3.1 aspnetzero with jQuery project we have but issue with this one with .net core 2.1.

AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core 2.1

We are facing memory issues in production environment. Our application is deployed on Azure App Service.

We took the memory dump from azure and analyzed with some tools and with that we found issues with Castle Windsor & some automapping related code. Also we have created one sep signalR hub class in system where we added dispose method for _windsorContainer.

Is there anything we can add for our current configuration to get rid of these memory issues?

AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

We want to add AbpSettings table in "TrackedTypes" in EntityHistoryHelper for tracking/auditing purpose. But couldn't find it as class/entity.

Hi, We have AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

We are having specific case where we have "Prev" & "Next" buttons in Edit screen which opens from list page. We need to show prev/next record on those button click, right now we are opening modal on onClose method by adding specific condition, but it looks flickering. We saw there is reopen method but it seems to be taking new arguments.

Is there any way we can refresh modal with "Id" of next records?

Thanks

Hi, We have AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

and we are having following issue right now:

We have 3 tables Table Product Table ProductPayment & ProductPaymentDetail

We have an operation where we delete data from ProductPayment (which deletes automatically any child data from ProductPaymentDetail) and updating boolean column IsPaid in Product.

We are facing an issue that "sometimes" in Product table IsPaid is not getting updated. When we check Audit Logs , we see update operation in AbpEntityChanges for product but no field change in AbpEntityPropertyChanges and Product table itself.

public async Task Delete(EntityDto input)
{

            var productPayment = await _productPaymentRepository.FirstOrDefaultAsync(m => m.Id == input.Id);
            var productPaymentDetail  = _ProductPaymentDetailRepository.GetAll().Where(x => x.ProductPaymentId == (int)input.Id && x.ProductId != null).GroupBy(x => x.ProductId);            

            if (productPaymentDetail != null)
            {
                foreach (var item in productPaymentDetail)
                {
                    var product = await _productRepository.FirstOrDefaultAsync(item.Key.Value);
                    
                    product.IsPaid  = false;
                    
                    
                    await _productRepository.UpdateAsync(product);

                }
            }
          
          
            await _productPaymentRepository.DeleteAsync(input.Id);
}

We are using latest version of aspnetzero with asp.net core mvc and jquery.

We want to add custom parameter in Permission class and pass it from CreateChildPermission as well as retrieve it in GetAllPermissions for using it on role permission tree.

Is there any way we can extend it?

Hi

We are using AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

We have 1)Enabled below lines to enable entity history Configuration.EntityHistory.IsEnabled = true;

2)/Uncomment below lines to write change logs for the entities: Configuration.EntityHistory.Selectors.Add("LoadStopEntities", EntityHistoryHelper.TrackedTypes); Configuration.CustomConfigProviders.Add(new EntityHistoryConfigProvider(Configuration));

Now in logs it creates entries for create record, update record and delete record.

But we need to disable history logging for create record action.

So we would like to know is there any class or interface we can implement to achive it?

We have use latest jquery and it returns datetime json without millisconds so, is there any wey to get datetime with milliseconds ?

Hi

We are using latest version of asp.net MVC Core and jQuery.

In one of our app service we have multiple item deletion which works ike this:

public async Task FirstLevel(List<int> Ids) { foreach(var i in Ids) { SecondLevel(id); } }

private async Task SecondLevel(int id) { //Fetch data from repository //Delete obj MethodWithThread(obj.extId) }

private async Task MethodWithThread(string extId) { Task.Factory.StartNew(() => { call external apis }; }

Here in MethodWithThread we were getting A second operation started on this context before a previous operation completed so tried to used using (var uow = UnitOfWorkManager.Begin(TransactionScopeOption.RequiresNew)).

But after using that in our second level methid still randomlt getting A second operation started on this context before a previous operation completed and also 2nd record in loops randomly not gets deleted.

Is there any other way to get data in method with thread?

Showing 11 to 20 of 49 entries