Activities of "Spospisil"

Hi,

It appears you do not understand what I am asking for here, so I'll repeat what I said in the initial request.

"I want the Blazor WASM to be able to automatically popup a model window when some event happens in the system. For example if a separate application calls my applications API (ABP generated), and publishes and 'event' using the distributedeventbus, can I have the Blazor WASM UI 'listen/handle' that event and make something visually happen"

You're sample code DOES NOT give an example of how to do this as it expects the blazor UI component to 'send' the message to the UI of which it is already located in and quite honestly the code for the Chat module only shows how to do this with a separate signalR host which is NOT what I want to do here.

It is extremally confusing as to what code needs to go where in a tiered application templates solution structure and of course there is no documentation that details this....unless you just want to use the 'chat' module which I do not and even at that it's not what I'm asking for an example here.

Use .Blazor.WebAssembly if your project is Blazor WebAssembly UI

For WHAT? What am I suppose to use this for? Again, my project is based on the application template type so there isn't even a Blazor.WebAssembly project in my solution!!!

Hi,

Again, you're not understanding. In my application there is no .WebAssembly project type because it was was generated as an Application template type, however in the 'Module' template type's generated code there is a .WebAssembly project. So I'll ask again, what is the purpose of this project type and more importantly why is it not mentioned anywhere in the documentation?

You say things should be 'easily understood' but you are assuming an expert knowledge of your framework and with documentation is less than sufficient at explaining how all the dots are connected, users of your framework are forced to search support questions and blog posts for a better understanding of how things are connected. Even example source code examples provide vary in their implementation and not well explained. "just do it like this" is the general message that often gets communicated without any detailed explanation.

Very frustrating!

Hi,

I'm not sure you understand my question. In ABP generated module project there is a project named xxxx.WebAssembly which appears the solution. For example below is a screenshot of the Chat modules solution structure. What is the purpose of this project and what sort of code would you put in there? There is no documentation on what this project is and what it should be used for.

  • 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

What is the purpose of the .WebAssembly project in each ABP's module (both standard and commercial) solution structure? I see that the blazor WASM project has a reference to the associated .WebAssemly project but it's not clear what it's purpose is.

Hi,

Note sure why you're referring me to a link that shows signalR with a MVC/Web project vs a Blazor WASM project.

Hi,

I'm not sure if that module's source is exactly what I'm looking for. What purpose does the Volo.Chat.SignalR project server in a Blazor WASM project? The chat module's source code is extremally confusing in terms of just what is needed and needs to be referenced and where.

  • 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

Hi,

I am trying to remove the General Settings component from the LeptonX theme as we don't want the user to be able to change any of these options and just have the theme default/show a custom theme that I've applied in the Module's configuration.

if I attempt to do this as descripted in https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=BlazorServer it appears to remove my custom these which I've set as the default theme via the code below.

Is there a way to just hide the component vs trying to override it or is there another way I can accomplish what I'm trying to do without the default theme from removed?

    Configure<LeptonXThemeOptions>(options =>
    {
        options.Styles.Add("salesdemo",
                new LeptonXThemeStyle(
                LocalizableString.Create<StructureCloudResource>("Theme:SalesDemo"),
                "bi bi-circle-fill"));
        options.DefaultStyle = "salesdemo";

    });

Hi,

Running abp bundle in the Blazor project folder fixed this remaining issue. Thank you for your help.

Steve

Hi,

Running abp bundle in the Blazor project folder fixed this remaining issue. Thank you for your help on both these issues.

Steve

Showing 11 to 20 of 245 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11