Hello ,
Please check this link https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-transactions https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/samples/Sample06_Transactions.md
Try to implement this way.
``using var ts = new TransactionScope(TransactionScopeAsyncFlowOption.Enabled);
try
{
await _donationRepository.UpdateAsync(donation, cancellationToken: stoppingToken); // Database update first
await _sender!.Send(topic: "donations", donationProto, properties, stoppingToken); // Message publishing after successful update
ts.Complete();
}
catch (Exception ex)
{
ts.Dispose();
// Handle exception appropriately, potentially using more specific exception types
throw new UserFriendlyException(ex.Message);
}``
Thanks,
Hello ,
can you check this once https://learn.microsoft.com/en-us/ef/core/querying/tracking
https://www.appsloveworld.com/entity-framework-core/100/7/abp-framework-misses-irepository-asnotracking-or-cannot-use-select-where?expand_article=1
Thanks,
Hello , Sorry for delay , once can you check this code
ng generate component democomponent
3.Add manage-profile-tabs.provider to app.module.ts
4.Add the desired code in demoComponent.html file no need to add code of abp-tab it will look like
After this if you have an error in demo.component.html page related to <abp-tabs>
you can import CUSTOM_ELEMENTS_SCHEMA in app.module.ts file
or
you can add a custom html code in demo.component.html page
Thanks,
Hello,
Please follow the below steps
DemoComponent
using below commandng generate component democomponent
It will appear like this image at angular side
manage-profile-tabs.provider.ts
file
add the newly created DemoComponent to this file likemanage-profile-tabs.provider
to app.module.ts
demoComponent.html
file no need to add code of abp-tab
it will look likeI hope this this will help you.
thanks, Anjali
Hi,
if helm deploy is not working for installing NGINX Ingress controller then you run below command for installing NGINX kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml kubectl get pods --namespace ingress-nginx kubectl get service ingress-nginx-controller –namespace ingress-nginx Browse to that External-IP, you should be directed to 404 Not Found page
Hello,
You should change helm values accordingly like URL's, Connection strings... Are you getting any error while deploying application into AKS ? or Are you getting any error at pod level
Hello,
please check https://docs.abp.io/en/commercial/latest/startup-templates/microservice/helm-deployment
You can also check the Azure deployment scripts and values for eShopOnAbp sample https://github.com/abpframework/eShopOnAbp/tree/main/etc/k8s
regards,
Hi,
You can use GetProperty
& SetProperty
Extension Methods for getting or setting the extra property value, this is what you expect, right? Correct me if I miss understood you.
Hi,
Please check https://docs.abp.io/en/abp/latest/Entity-Framework-Core#extra-properties-object-extension-manager and https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities
Also have look to this https://docs.abp.io/en/abp/latest/Module-Entity-Extensions
regards,
Hi,
Have you check this doc https://docs.abp.io/en/abp/latest/Object-Extensions?