I followed that steps and working properly:
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
523922ca2557 mcr.microsoft.com/azure-sql-edge "/opt/mssql/bin/perm…" 13 days ago Up About an hour 1401/tcp, 0.0.0.0:1433->1433/tcp, :::1433->1433/tcp eager_keldysh
a2247ca3f8f4 redis "docker-entrypoint.s…" 4 months ago Up About an hour 0.0.0.0:6379->6379/tcp, :::6379->6379/tcp wonderful_goldberg
abp new MyMenuApp --with-public-website
DbMigrator
, Web
and Public.Web
project.cd src/MyMenuApp.DbMigrator
dotnet run
Web
project:cd ../MyMenuApp.Web
dotnet run
Web.Public
projectcd ../MyMenuApp.Web.Public
dotnet run
So I can't reproduce the scenario that you faced. Please share a sample code about it.
Hi @learnabp
Can you share an empty project that reproduces your problem to my email: enis.necipoglu@volosoft.com
I can say something about then
Hi, you can customize toolbar with following this documentation https://nhn.github.io/tui.editor/latest/tutorial-example15-customizing-toolbar-buttons
You can open your own modal with file upload input, and append a text line into editor like [FileName.pdf](/your/path/to/file/FileName.pdf)
Getting menus from database for each request is too costly, so CmsKit uses Redis to cache them. When you change something about menus, *.Web
projects purges cache and *.Public.Web
gets latest state of menus.
By the way, you don't have to configure manually, if you have [DependsOn(typeof(AbpCachingStackExchangeRedisModule))]
attribute, it configures itself with default configuration, reads Redis:Configuration from your appsettings.json
Hi learnabp
Are you using same Redis for your Web & Web.Public projects?
Can you try add Volo.Payment.Admin.*
packages into your projects if not exist:
Volo.Payment.Admin.Application
-> YourProject.Application
Volo.Payment.Admin.Application.Contracts
-> YourProject.Application.Contracts
Volo.Payment.Admin.HttpApi
-> YourProject.HttpApi
Volo.Payment.Admin.HttpApi.Client
-> YourProject.HttpApi.Client
Volo.Payment.Admin.Blazor.WebAssembly
or Volo.Payment.Admin.Blazor.Server
-> YourProject.Blazor
Then you have to create a plan, you can follow Payment > Payment Plans menu to configure it.
To configure your plans properly, please follow this documentation: https://docs.abp.io/en/commercial/latest/modules/payment#subscriptions
Hi @lan.dang
Firstly you have to complete configuration with following documentation: https://docs.abp.io/en/commercial/latest/modules/payment#subscriptions
After that, you have 2 options;
if you install both Volo.Saas
& Volo.Payment
modules properly, you'll see Plan Management and a Plan Selection dropdown in Edition modal:
You can inject ISubscriptionAppSerivce
and create a subscription:
public class IndexModel : PageModel
{
public EditionDto Edition { get; set; }
protected ISubscriptionAppService SubscriptionAppService { get; }
protected ICurrentTenant CurrentTenant { get; }
public IndexModel(
ISubscriptionAppService subscriptionAppService,
ICurrentTenant currentTenant)
{
SubscriptionAppService = subscriptionAppService;
CurrentTenant = currentTenant;
}
public async Task<IActionResult> OnPostAsync(Guid editionId)
{
var paymentRequest = await SubscriptionAppService.CreateSubscriptionAsync(editionId, CurrentTenant.GetId());
return LocalRedirectPreserveMethod("/Payment/GatewaySelection?paymentRequestId=" + paymentRequest.Id);
}
}
Saas Service will track updates, endings or any changes at subscription and updates tenant edition.
Firstly you have to create your profile menu contributor like below:
public class CustomProfileMenuContributor : IProfileManagementPageContributor
{
public Task ConfigureAsync(ProfileManagementPageCreationContext context)
{
context.Groups.ForEach(Console.WriteLine);
context.Groups.Remove(context.Groups.First(x => x.Id == "Volo-Abp-Account-TwoFactor"));
return Task.CompletedTask;
}
}
Then go to WebModule class and add your contributor via configuring ProfileManagementPageOptions
Configure<ProfileManagementPageOptions>(p =>
{
p.Contributors.Add(new CustomProfileMenuContributor());
});
You'll see Two Factor is removed:
Can you try remove bin
& obj
folders before build