Forever Waiting
banner
foreverwait.ing
Forever Waiting
@foreverwait.ing
Forever Waiting (for good software) 🇬🇧 London based senior .NET developer.

C# | .NET | Half Life | Trains | Additional ramblings can be found on my seldom updated blog: https://blog.foreverwait.ing
I love this game
March 30, 2025 at 8:05 PM
Try setting the 'Url' property to your base64 string, The PdfFile property shouldn't be exposed as it is an internal representation, I will make it `protected` in a future release
March 23, 2025 at 3:19 PM
Certainly is 👍
March 23, 2025 at 8:23 AM
Have pushed a new version to nuget (1.0.2-alpha) www.nuget.org/packages/Got...

This should now work with MAUI Blazor Hybrid applications. You will need to place the pdf worker file in your wwwroot folder and set `UseProjectWorker="true"`.

Sample app with more info: github.com/tgothorp/Mau...
GitHub - tgothorp/MauiSample.BlazorPdf
Contribute to tgothorp/MauiSample.BlazorPdf development by creating an account on GitHub.
github.com
March 23, 2025 at 8:22 AM
Created a MAUI test app and managed to get it working, I had to place the PDF worker in the MAUI wwwroot folder and make a change to the library so that it loads that instead of the bundled worker.

Will push a beta package to nuget soon (Probably tomorrow as it's getting late here!)
March 22, 2025 at 10:17 PM
To be honest with you, I haven't tested it with MAUI 😬 I have created a test project locally and I think the error is because MAUI doesn't support web works (which is used by the underlying pdf.js library that I am wrapping). Let me do some testing and I'll get back to you 👍
March 22, 2025 at 9:15 PM
That's the old package from before the dependency was removed. I created new packages that should be used going forward; www.nuget.org/packages/Got...
Gotho.BlazorPdf 1.0.1
A simple, yet powerful Blazor PDF viewer
www.nuget.org
March 22, 2025 at 3:41 PM
I have moved the MudBlazor specific code into a separate package if you want to use it (and you should, because MudBlazor is awesome!) blazorpdf.info/docs/mudblazor
Blazor PDF | MudBlazor Version
blazorpdf.info
March 21, 2025 at 10:18 PM
I'm afraid so as I built this specifically for MudBlazor. If I end up adding enough features, I'll consider making it a standalone package with a separate MudBlazor integration but have no plans to do so (for now!)
February 24, 2025 at 4:09 PM