All project updates are published on its Discord Server; it's also the best place for Q/A.
![]()
![]()
![]()
This is an interactive tutorial for [Fusion] - a .NET library trying to make real-time a new normal for any connected apps. And although you can simply browse it, you can also run and modify any C# code featured here. All you need is Try .NET or Docker.
The simplest way to run this tutorial:
- Install Docker and Docker Compose
- Run
docker-compose up --build tutorial
in the root folder of this repository - Open https://localhost:50005/README.md.
Alternatively, you can run it with dotnet try
CLI tool:
- Install both .NET 6.0 SDK and .NET Core 3.1 SDK
- Install Try .NET. If its release version fails to run the code, install its preview version.
- Run
dotnet try --port 50005 docs/tutorial
in the root folder of this repository - Open https://localhost:50005/README.md.
The code based on Fusion might look completely weird at first - that's because it is based on abstractions you need to learn about before starting to dig into the code.
Understanding how they work will also eliminate a lot of questions you might get further, so we highly recommend you to complete this tutorial before digging into the source code of Fusion samples.
Without further ado:
- QuickStart: Learn 80% of Fusion by walking through HelloCart sample
- Part 0: NuGet packages
- Part 1: Compute Services
- Part 2: Computed Values: Computed<T>
- Part 3: State: IState<T> and Its Flavors
- Part 4: Replica Services
- Part 5: Caching and Fusion on Server-Side Only
- Part 6: Real-time UI in Blazor Apps
- Part 7: Real-time UI in JS / React Apps
- Part 8: Scaling Fusion Services
- Part 9: CommandR
- Part 10: Multi-Host Invalidation and CQRS with Operations Framework
Part 11: Authentication in Fusion
- Epilogue
Finally, check out:
Fusion Cheat Sheet - consider adding it to Favorites :)
- Overview - a high-level description of Fusion abstractions.
Join our Discord Server to ask questions and track project updates.