Activities of "Spospisil"

Hi,

Also what's confusing to me is that the link you provided is not specific to a Blazor WASM project, so it's confusing to know which of the classes mentioned in the link your provided go into which project in our tiered solution structure. As a reminder we are running a Blazor WASM project hosted in the abp generated 'public' website module. If you could also demonstrate where these classes go in terms of which project.

Is it possible you can generate a sample project of how to do what I originally asked for but using a Blazor WASM project?

Hi,

Would I use the method in this link (https://abp.io/docs/latest/framework/data/entity-framework-core#replacedbcontext-attribute) to achieve my requirement of having all the other DBContext objects, across all my modules in my solution applying this new data filter?

Hi,

I appreciate this link and it contains some helpful information however, I still do not see how this would be applied to all my DBContext implementations across all my modules as I indicated in my initial message.

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?

I'll give it a try

Yes, I am aware of how to do that, but that's not one of the questions I'm asking.

I want to be able to apply a different layout (our own layout) to all the ABP module's pages without overriding every page specifying which layout to use

Just to be clear,

  • We are using the LexptonX theme
  • I want to be able to apply a different layout (our own layout) to all the ABP module's pages without overriding everypage specifying which layout to use
  • I want to be able to apply a different layout to all my 'application' pages that is different from the layout I specify for the ABP module's pages.

Theme? Why are you asking me about the theme when I talking about layouts? As stated previously "The sample in the ticket you referenced shows how to change LeptonX theme layouts at runtime not my own defined layouts."

Hi,

You also didn't address how I change the layout to my own layouts. The sample in the ticket you referenced shows how to change LeptonX theme layouts at runtime not my own defined layouts.

Showing 1 to 10 of 265 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35