hi
I will test it again.
Thanks.
你可以参考这个文章, 下载 LeptonX 的源码, 之后自定义样式重新构建主题
https://abp.io/docs/latest/ui-themes/lepton-x#source-code https://abp.io/docs/latest/ui-themes/lepton-x/source-files
hi
If your current url is https://localhost:44303/Weather/test and route template include __tenant
Which mean you need add __tenant to your route template
[Route("[Controller]/{__tenant}")]
public class WeatherController : MyProjectNameController
{
[HttpGet]
public IActionResult GetWeather()
{
return Ok($"Current tenant is {CurrentTenant.Name}");
}
See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing
你的 UI 是? 当前的主题模块是?
hi
Do you have ConfigureDataProtection method in your module?
Please enable and share debug logs. It will contain the error detail info.
Thanks.
private void ConfigureDataProtection(ServiceConfigurationContext context, IConfiguration configuration, IConnectionMultiplexer redis)
{
context.Services
.AddDataProtection()
.SetApplicationName(configuration["DataProtection:ApplicationName"]!)
.PersistKeysToStackExchangeRedis(redis, configuration["DataProtection:Keys"]);
}
你好, 请分享你的项目信息。
hi
Can you re-login your developer account, then create a new project with the same name?
Then copy the AbpLicenseCode in appsettings.secrets.json file from the new project to your POC project.
Thanks.
hi
Can you try to override the Blazor FeatureManagementModal?
Typically, a feature will have a default value
using Volo.Abp.DependencyInjection;
using Volo.Abp.FeatureManagement.Blazor.Components;
using Volo.Abp.Features;
namespace EagEz.Fvp.Blazor;
[ExposeServices(typeof(FeatureManagementModal))]
[Dependency(ReplaceServices = true)]
public class MyFeatureManagementModal : FeatureManagementModal
{
protected override bool IsDisabled(string providerName)
{
return providerName != null && providerName != ProviderName && providerName != DefaultValueFeatureValueProvider.ProviderName;
}
}