Code Monkey home page Code Monkey logo

Comments (15)

vnbaaij avatar vnbaaij commented on July 4, 2024

Hi,

No, we do not replace the original blazor.server.js file. We hook into the Blazor startup events to inject scripts and styles. I'm assuming that is were things go wrong.

You say it works correctly when commenting out the Fluent packages, etc. But is Blazor still doing anything then?

As you can imagine, we do not have any testing capabilities lined up and ready to roll on a Pi with Bookworm, nor de we have capacity to set up something like that. Not really sure how we can help you with this.

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

You say it works correctly when commenting out the Fluent packages, etc. But is Blazor still doing anything then?

Yes, Blazor works correctly in both cases. I can confirm that by checking with my PC's Chrome browser.

As you can imagine, we do not have any testing capabilities lined up and ready to roll on a Pi with Bookworm, nor de we have capacity to set up something like that. Not really sure how we can help you with this.

I understand. Well, I am not sure if this can be replicated on a Linux machine.
Thanks anyway...

from fluentui-blazor.

vnbaaij avatar vnbaaij commented on July 4, 2024

Yes, Blazor works correctly in both cases. I can confirm that by checking with my PC's Chrome browser.

How did you check? By connecting to the site on the PI?

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

How did you check? By connecting to the site on the PI?

Exactly

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

The funny thing is that even when we don't use any components from FluentUI (all commented out) and just leave the NuGet package active in the project file, it creates the same issue.

from fluentui-blazor.

vnbaaij avatar vnbaaij commented on July 4, 2024

Like I said, we hook into the Blazor startup sequence. Just having the DLL in the bin folder is enough

from fluentui-blazor.

c0g1t8 avatar c0g1t8 commented on July 4, 2024

@melihercan

Out of curiosity, have you tried using another browser?

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

@melihercan

Out of curiosity, have you tried using another browser?

I'm sorry for not getting back to you sooner. As I mentioned above, I have tried Chrome on my PC (Windows) and the default browser of the desktop PRi OS which is Firefox I guess.

from fluentui-blazor.

c0g1t8 avatar c0g1t8 commented on July 4, 2024

@melihercan
Out of curiosity, have you tried using another browser?

I'm sorry for not getting back to you sooner. As I mentioned above, I have tried Chrome on my PC (Windows) and the default browser of the desktop PRi OS which is Firefox I guess.

Sorry, it's still unclear to me. From the description above, I assumed that you have .net 8 Blazor application running on a Raspberry Pi 4 that is server rendered. This application is being accessed by a browser on the same Pi via a localhost connection.

My first instinct is to eliminate the WPE/COG browser as a factor. Open a port on the Raspberry Pi and attempt to access the application from a PC or MAC with Chrome, Edge, Firefox, or Safari. From your last statement above, it appears that is what you did. Were these tests successful?

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

Sorry, it's still unclear to me. From the description above, I assumed that you have .net 8 Blazor application running on a Raspberry Pi 4 that is server rendered. This application is being accessed by a browser on the same Pi via a localhost connection.

Correct

My first instinct is to eliminate the WPE/COG browser as a factor. Open a port on the Raspberry Pi and attempt to access the application from a PC or MAC with Chrome, Edge, Firefox, or Safari. From your last statement above, it appears that is what you did. Were these tests successful?

Yes, they were all successful. It is only the WPE/COG browser that is failing.

from fluentui-blazor.

vnbaaij avatar vnbaaij commented on July 4, 2024

Then it seams to be an issue in that browser and not necissarily in the library.

As it is a very hard issue to replicate (for us), I don't think we will be able to do anything with it in a short term.

I'm sorry we can't help with this but I don't think we need to keep this issue open. Agreed?

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

Yes, I understand and agree. Thanks for your support anyway.

As a side note, the other two UI frameworks, AntDesign and Radzen work without any issues.

from fluentui-blazor.

vnbaaij avatar vnbaaij commented on July 4, 2024

As a side note, the other two UI frameworks, AntDesign and Radzen work without any issues.

Yes, but with those you probably have to add scripts and stylesheets manually to make them work. We do that for you and my guess is that is where the issue originates from.

from fluentui-blazor.

c0g1t8 avatar c0g1t8 commented on July 4, 2024

@melihercan

This issue has piqued my interest 😄. Your results confirmed my suspicion that the issue was likely due to some interaction in the WPE/COG browser.

If you have the time or interest, you could build the fluentui-blazor library locally. There is a server version of the demo site included. Attempt to connect to that from the WPE/COG browser from the Raspberry Pi. A quicker test would be to point the browser at www.fluentui-blazor.net but that is the web assembly version and is not be representative of your application.

The rationale for this additional test is to see if the issue is specifically due to fluentui-blazor working in the WPE/COG browser. If there is an issue, isolating the issue would be much easier.

from fluentui-blazor.

melihercan avatar melihercan commented on July 4, 2024

Sure, I will give it a shot when I find some time and provide feedback here.

from fluentui-blazor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.