Server Size Blazor (6)
This is an amazing piece of technology where your interactive web UI is handled via C# and streamed back and forth using web socket via SignalR.
The source code to Razor Component is here.
All the samples in this section runs on SSL. If you have not gotten your local self-sign SSL in order yet, please read this instruction.
This is the simplest Razor component app you can create. It will show you clearly the building block of a Razor component application.
There are two extra settings for dotnet watch to monitor
*.razorfile changes on two projects to make your development experience better.
<Watch Include="**\*.cshtml" /> <Watch Include="**\*.razor" />
This sample demonstrates that you can use normal server side packages with your Razor Component as it is a truly server side system. This sample uses
Microsoft.SyndicationFeed.ReaderWriterpackage to parse an external RSS feed and display it.
This sample shows you that the 'Transient' and 'Scoped' Dependency Injection method have different practical impact on Razor Component.
This sample shows how to use layout and nested layouts.
In this example we demonstrates how three different Razor Pages endpoints act as starting points for different path of your Server Side Blazor.