Click here to Skip to main content
15,886,110 members
Articles / Web Development / ASP.NET / ASP.NET Core

Developing Single Page Applications with C# Code and Blazor

Rate me:
Please Sign up or sign in to vote.
4.99/5 (33 votes)
11 May 2018CPOL17 min read 54.5K   853   45  
Most of the examples using Blazor I've seen so far include some simple pages, buttons and forms. So I decided to investigate whether it would work with my old Bricks game to help explore WebAssembly.
This article uses a bricks game written (almost) entirely in C#, and with the help of Blazor will explore WebAssembly, discussing what it does and what it does not, how it interacts with JavaScript and how it is generated from the good old C# language. The article covers basics like, what Blazor and Razor are, gives a Blazor demo, and explains how the brick game implements Blazor concepts, one piece at a time (Layout, Lifecycle, Data Binding, Components, and Event Binding).

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Instructor / Trainer Alura Cursos Online
Brazil Brazil

Comments and Discussions