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

Activities of "aaron"

Try something like the answer to https://stackoverflow.com/questions/11189807/cannot-convert-from-hijri-date-to-gregorian-date-c.

03/25/1440 04:52:47 is not between 04/30/1900 00:00:00 (Gregorian date) and 11/16/2077 23:59:59 (Gregorian date).

Answer

Bad Gateway, not Bad Request. This usually means your application is not responding.

Check the error in Logs.txt.

Duplicate of #6025

Related PR: https://github.com/aspnetboilerplate/aspnetboilerplate/pull/4034

Answer

Explained by @jbogard in AutoMapper/AutoMapper#1556#issuecomment-234586193:

ForSourceMember is only meant for reverse-mapping scenarios or for situations where you're validating the source members. AutoMapper uses the destination members as the target to map to by default. You should use ForMember and Ignore.

Related PR: https://github.com/aspnetboilerplate/aspnetboilerplate/pull/4034

// using Abp.EntityFrameworkCore.Repositories;

var context = _repository.GetDbContext();

Should be fixed in v6.1.

public async Task<ResetPasswordOutput> ResetPassword(ResetPasswordInput input)
{
    ...

    await UserManager.InitializeOptionsAsync(AbpSession.TenantId); // This was added
    CheckErrors(await UserManager.ChangePasswordAsync(user, input.Password));
    ...
}

Hi tugrulkarakaya, which version are you on?

domain service is where the logic lies.

It's where the logic should not lie, if you have a dependency on ChangeTracker.

You cannot get the EntityChangeSet of the context without ChangeTracker, as it's only created (and exists) in SaveChanges.

Seems like an XY problem. Show code, so we can solve the actual problem X.

Showing 511 to 520 of 1543 entries