'Cloudflare Workers with Webassembly

i managed today to get cloudflare workers working with my c# wasm. My question is, how safe this is if i want to serve a api on workers with webassembly? I want to connect a database to that, so if i now have the webassemly uploaded at cloudflare workers, if i open it, does my browser run the db request, when i run it in the code? Or does Cloudflare manage it somehow, that the user dont get the database logins?

I am trying to have a fast scaleable Api for my WebApp and i was interested, if this could be used for a backend?

Thanks!



Solution 1:[1]

So i researched a lot and currently it seems that doesn't work. The Only way is via Cloudflare Pages and Blazor for a static site, there you could make routes and requests, but they are client sided... Maybe this changes in .Net 7

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 flo2000ace