Activities of "liangshiwei"

Hi,

Can you share some browser developer tools screenshots?

It's a DI problem, looks like one of your services is not registered with the container.

Some possible reasons:

  • You didn't add the DbSet to the database context for your entity.
  • You miss the Dependency Interfaces for your own service

Dependency Injection document: https://docs.abp.io/en/abp/latest/Dependency-Injection

You can share the project with me if you still not found the problem, I will check it. shiwei.liang@volosoft.com

Hi,

I could not reproduce the problem, could you share the full steps to reproduce it? thanks.

Hi,

Can you share some browser developer tools screenshots?

Hi,

It's possible.

Pages/Account/Register.cshtml

@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Qa.Blazor.Components
@using Volo.Abp.Account.Localization
@inject IHtmlLocalizer<AccountResource> L
@inject Volo.Abp.AspNetCore.Mvc.UI.Layout.IPageLayout PageLayout
@{
    PageLayout.Content.Title = L["Register"].Value;
}

@(await Html.RenderComponentAsync<RegisterComponent>(RenderMode.ServerPrerendered))

Components/RegisterComponent.razor

 <h3>Blazor Component in MVC</h3>

Hi,

I could not reproduce the problem, can you use a new project to reproduce the problem and share it with me? shiwei.liang@volosoft.com I will check it.

One more thing As I am using the commercial version of the Identity and Sass modules, I would like access to the following .cshtml files:

The team license does not include source code, I'm not sure I can share the code with you, I will ask ABP team.

I'm not sure about the namespace/Intermediate folders

You can see it in the request

Sorry, I thought the API you were talking about was the connect/token endpoint.

Volo.Abp.Account.Public.Web.Areas.Account.Controllers.AccountController is being used for api/account/login

We don't have such an app service, all things are done in the login model.

There are some differences between IdentityServer and OpenIddict

IdentityServer, you can custom login page: IdentityServerSupportedLoginModel

[ExposeServices(typeof(LoginModel))]
public class MyLoginModel : IdentityServerSupportedLoginModel
{
}

Openiddict you can custom login page: OpenIddictSupportedLoginModel

[ExposeServices(typeof(LoginModel))]
public class MyLoginModel : OpenIddictSupportedLoginModel 
{
}

Still cannot limit the execution time for job instance, so any job does not work more than 5 minutes for example

It's Hangfire support this? can you explant it in detail thanks?

Hi,

You can try this:

MyMainMenuItem.razor

@inject NavigationManager Navigation

@using Volo.Abp.DependencyInjection
@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation
@inherits MainMenuItem
@attribute [ExposeServices(typeof(MainMenuItem))]

@{
	var cssClass = string.IsNullOrEmpty(MenuItem.MenuItem.CssClass) ? string.Empty : MenuItem.MenuItem.CssClass;
}

@if (MenuItem.MenuItem.IsLeaf)
{
	var currentUri = new Uri(Navigation.Uri);

	var url = MenuItem.MenuItem.Url == null  ? "#" : MenuItem.MenuItem.Url.TrimStart('/', '~');

	<a href="@url" target="@MenuItem.MenuItem.Target" class="lpx-menu-item-link lpx-menu-item @(MenuItem.IsActive ? "selected" : "") @cssClass" id="@MenuItem.MenuItem.ElementId">
		@if (!MenuItem.MenuItem.Icon.IsNullOrEmpty() || MenuItem.Parent is null)
		{
			<span class="lpx-menu-item-icon"><i class="lpx-icon @MenuItem.MenuItem.Icon" aria-hidden="true"></i></span>
		}

		<span class="lpx-menu-item-text hidden-in-hover-trigger">@MenuItem.MenuItem.DisplayName</span>
	</a>
}
else
{
	<a @onclick:preventDefault @onclick="ToggleMenu" class="lpx-menu-item-link lpx-menu-item @(MenuItem.IsActive || MenuItem.IsOpen ? "selected" : "")">

		@if (!MenuItem.MenuItem.Icon.IsNullOrEmpty() || MenuItem.Parent is null)
		{
			<span class="lpx-menu-item-icon"><i class="lpx-icon @MenuItem.MenuItem.Icon" aria-hidden="true"></i></span>
		}

		<span class="lpx-menu-item-text hidden-in-hover-trigger">@MenuItem.MenuItem.DisplayName</span>

		<i class="dd-icon hidden-in-hover-trigger caret bi-chevron-@(MenuItem.IsOpen ? "up" : "down")" aria-hidden="true"></i>
	</a>

	<ul id="@MenuItem.MenuItem.ElementId" class="lpx-inner-menu hidden-in-hover-trigger @(MenuItem.IsOpen ? "" : "collapsed") @cssClass">
		@foreach (var childMenuItem in MenuItem.Items)
		{
			<li class="lpx-inner-menu-item">
				<MainMenuItem Menu="@Menu" MenuItem="@childMenuItem" />
			</li>
		}
	</ul>
}

the breadcrumbs and the buttons at the top disappear. But that's another story...

I will check it.

Hi,

Sorry, please try this:

protected override Expression<Func<TEntity, bool>> CreateFilterExpression<TEntity>()
{
    Expression<Func<TEntity, bool>> expression = null;

    if (typeof(ISoftDelete).IsAssignableFrom(typeof(TEntity)))
    {
        expression = e => !IsSoftDeleteFilterEnabled || !EF.Property<bool>(e, "IsDeleted");
    }

    if (typeof(IMultiTenant).IsAssignableFrom(typeof(TEntity)) && typeof(TEntity) != typeof(OrganizationUnit))
    {
        Expression<Func<TEntity, bool>> multiTenantFilter = e => !IsMultiTenantFilterEnabled || EF.Property<Guid>(e, "TenantId") == CurrentTenantId;
        expression = expression == null ? multiTenantFilter : CombineExpressions(expression, multiTenantFilter);
    }

    return expression;
}

We are fine, thank you. : )

Showing 4501 to 4510 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 07, 2025, 08:20