Reputation: 9221
There are plenty of mentions to "Blazor circuit" term on the documentation, however I cannot find a definition of the term. I guess it is something like some kind of state associated to the user session.
Please, could you provide a more precise definition of what a Blazor circuit really is?
Upvotes: 9
Views: 1401
Reputation: 2158
It's simply a fancy name for a web socket. Ofcourse the data sent is specialized to Blazor apps, but at the end of the day it's just a web socket connection.
Upvotes: -1
Reputation: 6035
From MS docs :
Blazor Server is a stateful framework. While users interact with an app, they maintain a connection to the server known as a circuit. The circuit holds active component instances, plus many other aspects of state, such as:
- The most recent rendered output of components.
- The current set of event-handling delegates that could be triggered by client-side events.
Upvotes: 3