hi Sure. But i want to say i used this methods before in another projects which created as N-Tier and it works excellent. And i tried new method for this repository methods so i moved UOW block then this method run. I don't understand point is that i used these methods without UOW block and it works but it doesn't work in this project. I shared a code block which throw error.
This code throw an error(Object Disposed Error):
var user = (await _identityUserService.GetAsync(item.CreatedUser));
And This Code Work Fine:
using (var uow = _uow.Begin(new AbpUnitOfWorkOptions(), requiresNew: true))
{
var user = (await _identityUserService.GetAsync(item.CreatedUser));
await uow.CompleteAsync();
}
Thanks for your support and interest.
hi I started get error after this code applied when try use repository which provides ABP so GetAsync, GetListAsync, FindAsync etc methods. I have an image for this error. This error doesn't occur when write and call my method in AppService and Repository. I am sharing image about error details. I am waiting your support and help.
I found source of error for about Account/Login Page 404. This reason is I navigate to Account/Login page in my ComponentBase in SetParameterAsync method. I wonder how can i navigate Login page in this place so MyComponentBase? I share an image which relation my 404 error in below. I am waiting your supports and helps. Thanks.
Api crashes because of this error. For this reason, there is no other request.
Thank you for the answer. I have already created a self-signed certificate for internal uses, but when the API is initialized (sending a 'https://***/health-status' request to self) it gets the error "The remote certificate is invalid based on the verification procedure: RemoteCertificateNameMismatch". What is the error? When I tried to understand it, I realized it was like this: An error occurred because it was an untrusted certificate.