Chapter 1. Blazing into Blazor
Node.js reshaped the world of modern web app development. Its success is attributed in part to the popularity of JavaScript, of course. JavaScript now runs on both the client and the server alike, thanks to Node. This is why Blazor will be so successful—C# is now capable of running in the browser with WebAssembly. To .NET developers, there is a huge potential because there are a great many C# server apps in existence today. There are many opportunities for .NET developers to create amazing user experiences with Blazor.
For the first time, .NET developers can use their existing C# skills to build all sorts of apps on the web. This blurs the lines between backend and frontend developers and expands app development for the web. With modern web app development, you want your apps to be responsive on both desktop and mobile browsers. Modern web apps are much more sophisticated and rich in content than their predecessors and boast real-time web functionality, progressive web app (PWA) capabilities, and beautifully orchestrated user interactions.
In this chapter, you’ll learn about the origins of .NET web app development and the birth of Blazor. You’ll explore the variations of single-page application (SPA) frameworks and see how .NET solidified its place in the web ecosystem. I’ll answer many of the questions you may have about why Blazor is a viable option and discuss its hosting models. Finally, you’ll get your first look at the Learning Blazor sample ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access