Activities of "liangshiwei"

Hi,

You should customize the registration page for your case: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface

The Register page is MVC UI

Hi,

Please provide the full steps to reproduce the problem, thanks.

The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

Please check your SSL certificate

Hi,

This may be related to your project configuration, but I don't know the details, could you share a project that can reproduce the problem with me? shiwei.liang@volosoft.com I will check it out. thanks.

Hi,

Yes, there is no Empty layout for Blazor, but it's easy to do yourself.

For example:

You can remove the components you want

EmptyLayout.razor

@inherits LayoutComponentBase
@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.Common
@using Volo.Abp.Ui.Branding
@using Volo.Abp.BlazoriseUI.Components
@using Volo.Abp.AspNetCore.Components.Web.Theming.Components
@using Volo.Abp.Ui.LayoutHooks
@using Volo.Abp.AspNetCore.Components.Web.Theming.Components.LayoutHooks
@using Volo.Abp.AspNetCore.Components.Web.Theming.Layout

@inject IBrandingProvider BrandingProvider

<div class="lpx-scroll-container ps">
	<div id="lpx-wrapper">
		<div class="lpx-content-container">
			<div class="lpx-topbar-container">
				<div class="lpx-topbar">
					<Breadcrumbs />
				</div>
			</div>
			<div class="lpx-content-wrapper">
				<div class="lpx-content">
					<ContentToolbar />
					<PageAlert />
					<LayoutHook Name="@LayoutHooks.Body.First" Layout="@StandardLayouts.Empty" />
					@Body
					<LayoutHook Name="@LayoutHooks.Body.Last" Layout="@StandardLayouts.Empty" />
					<DynamicLayoutComponent />
					<UiMessageAlert />
					<UiNotificationAlert />
				</div>
			</div>
			<footer>
				<Footer />
			</footer>
		</div>
	</div>
</div>

EmptyLayout.razor.cs

public partial class EmptyLayout
{
    [Inject]
    protected IAbpUtilsService UtilsService { get; set; }

    [Inject]
    IJSRuntime JSRuntime { get; set; }

    [Inject]
    protected IOptions<LeptonXThemeOptions> Options { get; set; }

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            await UtilsService.AddClassToTagAsync("body", GetBodyClassName());
            await JSRuntime.InvokeVoidAsync("initLeptonX", new[] { "side-menu", Options.Value.DefaultStyle });
            await JSRuntime.InvokeVoidAsync("afterLeptonXInitialization", new[] { "side-menu", Options.Value.DefaultStyle });
            
        }
    }

    private string GetBodyClassName()
    {
        return "lpx-theme-" + Options.Value.DefaultStyle;
    }
}

Hi,

Can you use the CLI to create a new project to reproduce the problem?

and regarding that Data time

You can try this:

user.AddOrUpdateProperty<DateTime>("DateOfBirth", property =>
    {
        property.Attributes.Add(new DataTypeAttribute(DataType.Date));

        //validation rules
        property.Attributes.Add(new RequiredAttribute());
        property.DisplayName = new FixedLocalizableString("Date Of Birth");

        property.DefaultValueFactory = () => DateTime.Now;
        //...other configurations for this property
    }
);

Can you provide solution for this please Actually, four tables in one database I want to create the one is to one relationship between their tables each table is interconnected to each other if I delete one record of one table It should delete the respected records of another table i i want to generate the crud page for all this table

You should make sure that the modules' tables are all in the same database. once you create relationships for tables correct, they are cascaded deletes: https://learn.microsoft.com/en-us/ef/core/saving/cascade-delete

Server side: probably because of absent Devart Oracle driver which supports .NET 7.0+ the Add-Migration causes the following error (please note that we have set target=NET7 for all our projects):

As you know, Devart Oracle still doesn't support NET7.0, so it doesn't work correctly: https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-7_0#devart-data-oracle-efcore

Client side: it is not clear which version of Angular should we use now,

Now it's Angular 15: https://github.com/abpframework/abp/pull/14859

System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).

Could you share the error logs too? (server)

Hi,

Could you share the full steps to reproduce? I will check it out. thanks.

Showing 121 to 130 of 2428 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13