ESC-POS-.NET on Blazor WebAssembly #110
arponcedeleon
started this conversation in
General
Replies: 1 comment
-
need Blazor server, imposible for Blazor client (web assembly) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to use this ESC-POS-.NET in a WebAssembly Client Blazor project
but I am having problem when try to use it
first about the @using (need to do this to try to compile)
@using ESCPOS_NET
@using ESCPOS_NET.Extensions
@using ESCPOS_NET.DataValidation
@using ESCPOS_NET.Utilities
@using ESCPOS_NET.Emitters
but when try to run I have:
System.PlatformNotSupportedException: System.IO.Ports is currently only supported on Windows.
at System.IO.Ports.SerialPort..ctor(String portName, Int32 baudRate)
at ESCPOS_NET.SerialPrinter..ctor(String portName, Int32 baudRate)
questions:
Is it possible to use this ESC-POS-.NET on Blazor Client project (.NET Core 5) ??
do you have some suggestion how to to this??
thanks in advanced
Beta Was this translation helpful? Give feedback.
All reactions