hi
You can use a third library to add Report Viewer to your Blazer project.
abp does not have a built-in Report Viewer component
hi
One way is a good approach. You can use GUID? UserId in your module.
hi
You can add this class to your Domain layer. The key code is auditLog.EntityChanges.RemoveAll(x => x.PropertyChanges.Count == 0);
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Volo.Abp.Auditing;
using Volo.Abp.AuditLogging;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Uow;
namespace MyCompanyName.MyProjectName;
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AuditingStore), typeof(IAuditingStore))]
public class MyAuditingStore : AuditingStore
{
public MyAuditingStore(
IAuditLogRepository auditLogRepository,
IUnitOfWorkManager unitOfWorkManager,
IOptions<AbpAuditingOptions> options,
IAuditLogInfoToAuditLogConverter converter) : base(auditLogRepository, unitOfWorkManager, options, converter)
{
}
protected async override Task SaveLogAsync(AuditLogInfo auditInfo)
{
using (var uow = UnitOfWorkManager.Begin(true))
{
var auditLog = await Converter.ConvertAsync(auditInfo);
auditLog.EntityChanges.RemoveAll(x => x.PropertyChanges.Count == 0);
await AuditLogRepository.InsertAsync(auditLog);
await uow.CompleteAsync();
}
}
}
If I update say the phone number on Azure, I am not able to get the updated phone number into Personal Info.
You can update the local user phone number during Login by override the OnGetExternalLoginCallbackAsync method of LoginModel or OpenIddictSupportedLoginModel
I am signing in with new user.
The phone number comes from the phone_number claim. Make sure the externalLoginInfo has this claim.
var externalLoginInfo = await SignInManager.GetExternalLoginInfoAsync();
hi
I am using OpenIdConnect and UserInfo endpoint custom policy for authentication. After successful authentication from Azure,
Are you signed in with an existing user or create a new user?
hi
Can you share a test project, I will download and check it.
Thanks.
liming.ma@volosoft.com