Skip to content

DotmimSync with a Blazor WebAssembly App - are there other SQLite libraries required/recommended #975

Answered by ethhill
Sean-URS asked this question in Q&A
Discussion options

You must be logged in to vote

We have a similar project that's released to production. SQL Server on the server with several hundred thousand rows to sync (many more than that on the server) synchronizing to a Blazor WASM PWA/SPA.

We do use SQLitePCLRaw.bundle_e_sqlite3 and use Entity Framework with SQLite, which works fine. We are also switching to SQLitePCLRaw.provider.e_sqlcipher (encrypted) shortly.

A few things to note...

  • Asp.NET sessions: Blazor WASM does not natively support Asp.NET sessions, which Dotmim Sync requires on the server. We worked around this by adding a Dotmim interceptor on WebRemoteOrchestrator.OnHttpSendingRequest and setting Request.SetBrowserRequestCredentials to BrowserRequestCredentials.I…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Mimetis
Comment options

@ethhill
Comment options

Answer selected by Sean-URS
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants