Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Maui Blazor #12122


User avatar
0
WirelessDynamics created

Dear All,

we need to add a local database for the maui project for offline access, do you have any guidelines?

also we need the right way to access device hardware, like Barcode scanner, NFC and Camera


3 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @WirelessDynamics,

    There are documents for Maui.

    https://learn.microsoft.com/en-us/dotnet/maui/data-cloud/database-sqlite?view=net-maui-8.0 https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device-media/picker?view=net-maui-8.0&tabs=windows

    Also, there is no official NFC library. But they recommend using community libraries. https://github.com/dotnet/maui/issues/5153#issuecomment-1171279580

  • User Avatar
    0
    WirelessDynamics created

    Hello,

    For the database, can't we just use EFCore with SQLite instead of the link mentioned?

    also is there a way to save the credentials locally, so that we don't have to connect to the Host to connect each time?

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @WirelessDynamics,

    I'm not sure about the first question, you can try it. For the second question, the credentials are currently saved in local storage. If you login in one time you will be authenticated for a long time.