Can I use Avalonia Like FastReport.net?
I have a WinForms desktop app that uses FastReport to show the user reports we designed.
In this case, my app supplies the report template and the report data to the FastReport classes and the user views the report in the application's windows (using a fast report WinForms control).
In need to do the same thing now in a .net maui application for Windows, Android and IOS.
Does Avalonia wotk this way? Some of the descriptions I was reading made it seem like it might be a web-based, not embedded in the app, solution
This discussion has been closed.
Comments
Hello!
FastReport.Avalonia is a desktop package for Avalonia UI, not a web package. It provides the built-in controls AvaloniaPreviewControl (preview) and AvaloniaDesignerControl (designer), and the workflow is the same as in WinForms: the application loads the .frx file itself, calls RegisterData and displays the preview in its own window.
For desktop applications (Windows/Linux/macOS), build your UI using Avalonia and embed the AvaloniaPreviewControl.
There is no control for .NET MAUI: MAUI is not Avalonia. On Android/iOS, generate a PDF or HTML file (either on the server or within the application) and display it in a WebView; the designer and direct printing are not supported on mobile platforms.
An example of such an application:
You can download FastReport .NET Avalonia from our website: https://www.fast-report.com/downloads/fast-report-net