Skip to content

Balzor - RenderModeAuto #51015

Answered by FM1973
FM1973 asked this question in Q&A
Sep 29, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Is it possible that I have to define an interface and place one implementation in the server- and one in the clientproject?
On the server side an implementation which has access to the repository and on the client side one which has access to the api?
And I then have to implement the page which should be used for both (server and client rendering) in the client project only and inject the service using the just the interface?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FM1973
Comment options

Answer selected by FM1973
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-blazor Includes: Blazor, Razor Components
1 participant