hi
but fail to display the menu under admin account,
Could you please share a screenshot and some code related to this case?
Thanks.
hi decisiontreedaniel
We will reply here if new feature is available.
Thanks.
hi
Have you added the RabbitMQ service to your Docker file?
Thanks.
Anytime : )
Great!
hi
Using Nginx as a reverse proxy is the simplest solution. You can try following the steps mentioned above. If you encounter any issues, please feel free to let us know.
Thanks.
https://abp.io/support/questions/9968/How-to-host-multiple-sites-on-single-Azure-web-app-for-Containers-using-docker-compose#answer-3a1ccad4-7745-6f9b-77aa-160e3807f6e6
I will fix this in the framework. Thanks.
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
}
];
}
}
}