Hi,
Please share the error logs; thanks.
Hi,
Can you try this?
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<FeatureManagementOptions>(options =>
{
options.SaveStaticFeaturesToDatabase = false;
options.IsDynamicFeatureStoreEnabled = false;
});
Configure<PermissionManagementOptions>(options =>
{
options.SaveStaticPermissionsToDatabase = false;
options.IsDynamicPermissionStoreEnabled = false;
});
context.Services.AddAlwaysDisableUnitOfWorkTransaction();
ConfigureInMemorySqlite(context.Services);
}
Access to the path 'C:\Documents and Settings' is denied.
It seems the ABP Suite doesn't have permission to access this directory. you can try other directory creation solutions
Hi,
It works for me.
My steps:
create a new project: abp new Qa
public class DecimalPrecisionConvention : IModelFinalizingConvention
{
public void ProcessModelFinalizing(IConventionModelBuilder modelBuilder, IConventionContext<IConventionModelBuilder> context)
{
foreach (var property in modelBuilder.Metadata.GetEntityTypes()
.SelectMany(entityType => entityType.GetDeclaredProperties()
.Where(property => property.ClrType == typeof(decimal))))
{
property.Builder.HasColumnType("decimal(18,6)");
}
}
}
public class Book : AggregateRoot<Guid>
{
public string Name { get; set; }
public decimal Price { get; set; }
}
public DbSet<Book> Books { get; set; }
protected override void ConfigureConventions(ModelConfigurationBuilder configurationBuilder)
{
configurationBuilder.Conventions.Add(_ => new DecimalPrecisionConvention());
}
protected override void OnModelCreating(ModelBuilder builder)
{
......
builder.Entity<Book>(b =>
{
b.ToTable(QaConsts.DbTablePrefix + "Books");
b.ConfigureByConvention();
});
}
For more information: https://docs.abp.io/en/commercial/latest/themes/lepton-x/index
Hi,
Of course, the link is https://abp.io/api/download/samples/leptonx-demo
Hi,
You can use the CSS class of LeptonX Theme.
See also: https://x.leptontheme.com/side-menu/
Hi,
We fixed it in the next version, your ticket refunded.
You can try this:
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation;
using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Navigation;
using Volo.Abp.DependencyInjection;
namespace Qa.Blazor.Pages;
[ExposeServices(typeof(MobileNavbar))]
public class MyMobileNavbar : MobileNavbar
{
public MyMobileNavbar()
{
SelectedMenuItems = new List<MenuItemViewModel>();
}
}