Fusion Tutorial
All project updates are published on its Discord Server; it’s also the best place for Q/A.
Welcome to Fusion Tutorial! It used to be interactive, but thanks to Microsoft’s inability to maintain dotnet try
tool, this nice feature currently doesn’t work.
Tutorial
- 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: Compute Service Clients
- Part 5: 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
- Part 12: Stl.Rpc in Fusion 6.1+
- Part 13: Migration to Fusion 6.1+
- 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.
Running Tutorial
NOTE: Currently you can’t run the Tutorial, and Microsoft is the one to blame: they don’t maintain dotnet try
tool, which still targets only .NET Core 3.1. But if you want, you can still try.
Running with Docker:
- Install 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 8.0 Preview 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.