hi
Can you try to change Scoped to Transient?
context.Services.Replace(ServiceDescriptor.Transient(typeof(LookupExtensionProperty<,>), typeof(MyLookupExtensionProperty<,>)));
hi
How can I reproduce your problem in a new template project?
Can you share some code and steps?
Thanks.
hi
Add MyLookupExtensionProperty service to Blazor.Client project and replace it in your Blazor and Blazor.Client modules' ConfigureServices to fix it.
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.Replace(ServiceDescriptor.Scoped(typeof(LookupExtensionProperty<,>), typeof(MyLookupExtensionProperty<,>)));
}
using Volo.Abp.BlazoriseUI.Components.ObjectExtending;
using Volo.Abp.Data;
namespace MyCompanyName.MyProjectName.Blazor.Server.Components;
public class MyLookupExtensionProperty<TEntity, TResourceType> : LookupExtensionProperty<TEntity, TResourceType> where TEntity : IHasExtraProperties
{
protected override void OnParametersSet()
{
var value = Entity.GetProperty(PropertyInfo.Name);
var text = Entity.GetProperty(TextPropertyName);
if (value != null && text != null)
{
lookupItems =
[
new SelectItem<object>()
{
Text = Entity.GetProperty(TextPropertyName)!.ToString()!,
Value = value
}
];
}
}
}
hi
Which step did you encounter a problem with?
What is the problem?
Thanks.
hi
I will check this case.
Thanks.
hi
Can you check this article?
https://abp.io/community/articles/fixing-openiddict-certificate-issues-in-iis-or-azure-0znavo8r
Thanks
hi
Could you share a demo app that reproduces the issue?
liming.ma@volosoft.com Thanks
hi
How did you added this column to identity user in your project? Object Extensions?
Please share your code.
Thanks
Hi
I will fix it in template. Thanks
hi
What is the output of the angular yarn start command?
Thanks.