Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor .Net Core 8: How to use Server Side Component on the Client side?

$
0
0

I want to use the InteractiveAuto feature of WASM. So I want to create my pages on the client side.

But I also want to access server side components that have access to my SQL database.

It seems though only the server project can access the server components.

I tried to @inject in the _imports file, but that did not work.

I also tried to reference the Server Project in the Client Project, but I receive an error of circularity.

enter image description here


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>