Activities of "Spospisil"

  • ABP Framework version: v7.3.0
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

When I implemented the suggestion for this ticket (https://abp.io/support/questions/7615/Different-Layouts-for-Admin-Pages-vs-Blazor-Application-Pages#answer-3a142526-dea6-14ec-9136-67f84bcec9bd), the application just freezes. If I put a console write statement in the code I see that this method just gets called thousands of times hence why it appears to be frozen.

How can I fix this?

@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout
@using Volo.Abp.DependencyInjection
@inherits SideMenuLayout

@attribute [ExposeServices(typeof(SideMenuLayout))]
@attribute [Dependency(ReplaceServices = true)]

<LayoutView Layout="GetLayout()">
    @Body
</LayoutView>

@code
{
    [Inject] private NavigationManager _navManager { get; set; }

    private Type GetLayout()
    {
        var currentUrl = _navManager.Uri;

        //Console.WriteLine($"***** CURRENT URL: {currentUrl} *****");

        // if (currentUrl == "xxx")
        //{
        //     return typeof(AdminLayout);
        // }else if (currentUrl == xxxx)
        // {
        //     return typeof(ApplicationLayout);
        // }

        return typeof(SideMenuLayout);
    }
}
  • ABP Framework version: v7.3.0
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We are using Blazor WASM and for our application we have unique layout requirements for some of our application pages that are not in line with the 3 layouts available(Account, Application, Empty) in LeptonX. I have tried creating a new layout page in the Blazor WASM app and then setting the @Layout NewDefaultLayout at the top of the page I want to use that layout, but I am experiencing an issue with all the css loading several times as I navigate through my side including going to pages of ABP created modules.

What is the best/only way to create new base layouts that I can utilize ABP components in (&lt;MainMenu>, &lt;PageAlert>, &lt;UiNotificationAlert>, etc) that gives me the flexibility to create unique base layouts that differ from LeptonX but that utilizes all the underlying functionality that an LeptonX layout give me, such as localizations.

Can you give me a practical example of how this can be done?

Question
  • ABP Framework version: v9.0.3
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

While ABP Suite has a screen that allows us to generate a Domain, UI, backend, etc for specified table in the DB, it only appears to be able to do so one table at a time. Is there an option or better yet a ABP CLI command that will allow us to do this for specified tables (more than 1 at a time)? We have a legacy system with several hundred tables that are converting over to the ABP framework and want to generate all of our domain objects, with associated DTO's and CRUD pages for all the tables in the DB.

How can this be accomplished?

ABP Framework version: v9.0.3

  • UI Type: ABlazor WASM
  • Database System: EF Core (PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

In your documentation you state that any implementation of the FeatureDefinitionProvider is "Generally created in the Application.Contracts project of your solution", but if I look at ABP's source code (we have purchased a commercial licence and all the source), I see that more times than not you folks have the implementation of this class in the Domian.Shared project of your solutions. Why is that? What's the advantage of it being in one project or another?

https://abp.io/docs/latest/framework/infrastructure/features?_redirected=B8ABF606AA1BDF5C629883DF1061649A

  • ABP Framework version: v7.3.0
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We are running a Blazor WASM app hosed in the public MVC app generated by ABP Suite. In our local docker environment we don't have any issues running the Blazor WASM environment but when we deploy it to our Azure, Kubernetes environment we get the below error. While we won't be able to re-produce the issue for you, my question is really on how best to troubleshoot this error. What are the things we can look at? We're already look at the logs and various other things in the debug tools of the browser.

The error appears to be happening api/abp/applicatioon-configuration* https endpoint as the screenshot at the end of this post if from when we run locally but when we run in the deployed environment it never gets that far as shown in the 2nd screenshot

System.AggregateException: AggregateException\_ctor\_DefaultMessage (An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule, Volo.Abp.AspNetCore.Components.WebAssembly, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null: Remote service 'AbpMvcClient' was not found and there is no default configuration.. See the inner exception for details.)
\-\-\-\> Volo\.Abp\.AbpInitializationException: An error occurred during the initialize Volo\.Abp\.Modularity\.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo\.Abp\.AspNetCore\.Components\.WebAssembly\.AbpAspNetCoreComponentsWebAssemblyModule\, Volo\.Abp\.AspNetCore\.Components\.WebAssembly\, Version=7\.3\.0\.0\, Culture=neutral\, PublicKeyToken=null: Remote service 'AbpMvcClient' was not found and there is no default configuration\.\. See the inner exception for details\.
\-\-\-\> Volo\.Abp\.AbpException: Remote service 'AbpMvcClient' was not found and there is no default configuration\.
at Volo.Abp.Http.Client.RemoteServiceConfigurationDictionary.GetConfigurationOrDefault(String name)
at Volo.Abp.Http.Client.RemoteServiceConfigurationProvider.GetConfigurationOrDefaultAsync(String name)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.&lt;RequestAsync&gt;d__36[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.d\_\_35`1[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.d\_\_33\`1[[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto, Volo.Abp.AspNetCore.Mvc.Contracts, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options)
at Volo.Abp.AspNetCore.Components.WebAssembly.WebAssemblyCachedApplicationConfigurationClient.InitializeAsync()
at Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule.OnApplicationInitializationAsync(ApplicationInitializationContext context)
at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module)
at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context)
Exception\_EndOfInnerExceptionStack
at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context)
at Volo.Abp.AbpApplicationBase.InitializeModulesAsync()
at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider)
at Microsoft.AspNetCore.Components.WebAssembly.Hosting.AbpWebAssemblyHostBuilderExtensions.InitializeApplicationAsync(IAbpApplicationWithExternalServiceProvider application, IServiceProvider serviceProvider)
at CFDataSystems.StructureCloud.Blazor.Program.Main(String[] args) in /src/StructureCloud.NET/aspnet-core/src/CFDataSystems.StructureCloud.Blazor/Program.cs:line 19
Exception\_EndOfInnerExceptionStack
callEntryPoint @ global.js?\_v=638653629455785961:1
await in callEntryPoint
Vt @ global.js?\_v=638653629455785961:1
await in Vt
(anonymous) @ global.js?\_v=638653629455785961:1
(anonymous) @ global.js?\_v=638653629455785961:1

Screenshot from our local deployment

Screenshot from our deployed environment

  • ABP Framework version: v8.3.3
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi,

While creating a new solution to demonstrate to support an issue I'm having with implementing a custom data filter I am getting a Connection Refused error on the sample project. I created this project using ABP Studio and then using ABP Suite to add the MaintenanceModule's project to my solution. I've create a github repo for this sample project and have given maliming access to it.

Please let me know what the issue is so I can continue working on it to demonstrate the other issue I already have a ticket open for.

Steve

Question
  • ABP Framework version: v7.3.0
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I need to implement a new datafilter called ICompany which will hold a guid for the current company a user has chosen. This filter needs to be used across several abp modules each with their own DBContext. What's the best way to implement this given my use case and how would I go about setting the CompanyId for this filter when a user changes the current company guid they are wanting to filter the data with.

public interface ICompany { Guid CompanyId { get; set; } }

Yes, I have look at the following documentation (https://abp.io/docs/latest/framework/infrastructure/data-filtering#defining-custom-filters), but this implies I need to do this for every DBContext in every module I create which seems like too much to accomplish this.

  • ABP Framework version: v7.3.2
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I am using an ABP Blazor WASM generated application. I would like to somehow hook into it an MVC page either contained in the Blazor WASM project itself or a seperate project that the Blazor WASM application can render a page from. My core issue is I have an ASP.NET core control that has no Blazor equivalent but still want to put it on a razor page (mvc based) so it looks like a page running within the Blazor WASM application.

How can I accomplish this?

  • ABP Framework version: v7.3.3
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I have the need to have different layouts for my application depending on if you are in the 'admin' pages (users, saas tenants, editions, etc) vs the main application's pages. As shown below are the main applications page as well as the desired layout for my 'admin' pages, which in this case I'm showing the ABP user maintenance page. How can I accomplish this? I want all ABP 'admin' pages to be based on one layout and my application's pages to be based on another layout.

Thanks

Application Page Layout

<br> 'Admin' Page Layout

<br> <br>

  • ABP Framework version: v7.3.3
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Is it possible to create a tenant permission that is not visible in the permission management ui? I want to create a permission for a specific tenant facing page, but don't want the tenant to ever be able to see/change the value of that permission.

Thanks.

Showing 11 to 20 of 87 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20