An example of showing shared components and pages with Blazor server and client side.
📖 Blog article (DE) Blazor Tipp: Komponenten unabhängig vom Hosting-Model aufbauen
Install the following things:
Program | Version | Link | Info |
---|---|---|---|
Visual Studio Community | Version 16.5.0 Preview 5.0 | https://visualstudio.microsoft.com/vs/preview/ | Workloads to install: ASP.NET and web development, .NET Core cross-platform development |
.NET Core SDK | 3.1.201 | https://dotnet.microsoft.com/download/dotnet-core/3.1#3.1.3 | N/A |
Download this repository and use the Visual Studio Solution that it contains.
Set BlazorSharedComponents.ClientSide
or BlazorSharedComponents.ServerSide
as startup project to start the Blazor application.
This section explains that this project is only an example to show how such an approach could be realized.
- Thierry Iseli - Inital work - databinding
This project is licensed under the MIT License - see the LICENSE file for details.