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.
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.
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,
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.