hi
I need source code of lepton in account flow for version 4.2 and 8.2 differently I have also mailed that but didn't received source code yet attaching screenshot.
Do you only need the Account Layout of the Lepton theme?
Thanks.
hi
Please output the values of Auth and CurrentUser. They are used for Permission check.
ok, Thanks.
I have removed the picture.
hi
The Cdi.Grc.Feed NuGet source requires an account. I can't restore packages.
Can you test your case in a new Blazor WASM project and share it?
Thanks.
hi
I don't have any suggestions on CQRS, if you encounter any ABP-related problems, I can help you.
Thanks.
hi
Move your code from PostConfigureServices to OnApplicationInitialization
The IServiceProvider will be available on OnApplicationInitialization
hi
We have an article about CQRS
https://abp.io/community/articles/implementing-cqrs-with-mediatr-in-abp-xiqz2iio#gsc.tab=0
Thanks. I will test your project.
hi
Add this class to your solution.
Thanks.
using Volo.Abp.BlobStoring;
using Volo.Abp.BlobStoring.Azure;
using Volo.Abp.DependencyInjection;
using Volo.Abp.MultiTenancy;
namespace MyCompanyName.MyProjectName.Web;
[Dependency(ReplaceServices = true)]`
[ExposeServices(typeof(IAzureBlobNameCalculator), typeof(DefaultAzureBlobNameCalculator))]
public class MyAzureBlobNameCalculator : DefaultAzureBlobNameCalculator
{
public MyAzureBlobNameCalculator(ICurrentTenant currentTenant)
: base(currentTenant)
{
}
public override string Calculate(BlobProviderArgs args)
{
return CurrentTenant.Id == null
? $"{args.BlobName}"
: $"tenants/{CurrentTenant.Id.Value:D}/{args.BlobName}";
}
}
hi
You can override the DefaultAzureBlobNameCalculator to remove the host
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.BlobStoring.Azure/Volo/Abp/BlobStoring/Azure/DefaultAzureBlobNameCalculator.cs#L6-L21