Build web applications in Microsoft .NET that run in any modern browser, helping you to transfer your .NET experience and skills to a new environment and build browser-based applications using a robust and type-safe language and runtime. Developing a web site with rich client-side behavior means most developers need to learn a transpiled language like JavaScript or TypeScript. But today you can also develop rich browser applications using the .NET runtime and C# using Blazor. With Blazor you can use all that experience you have amassed over the years, and can use thousands of already existing libraries, right in the browser.

Blazor Revealed will allow you to create a rich web site experience in no time. You will learn how to build user interfaces, and present data to a user for display and modification, capturing the user's changes via data binding. The book shows you how to access a rich library of .NET functionality such as a component model for building a composable user interface, including how to develop reusable components that can be used across many pages and web sites. Also covered is data exchange with a server, giving you access to microservices and database services.

Blazor provides a fresh take on web development by eliminating the need for you to learn different languages and frameworks for client- and server-side development. Blazor allows C# and .NET to be used on all sides, providing a robust feature set that is well suited toward scalable, enterprise-level applications. Blazor Revealed gets you started in using this important new toolkit for web application development.

What You'll Learn

Build user interfaces and display data for users to edit

Capture the user's changes via data binding

Transfer data back and forth between server and client

Communicate with microservices and database services

Develop reusable components and assemble them into bigger components

Use routing to build single page applications (SPAs)

Build Blazor libraries that are reusable across applications

Who This Book Is For

Experienced .NET developers who want to apply their existing skills to building professional quality, client-side web applications that run in any browser. The book is for web developers who want to step away from JavaScript and its complexities, and instead use a proven technology (.NET) that is robust toward creating enterprise-quality applications that scale and are reliable and that provide good user experience. The book is for intermediate to advanced .NET web developers with no experience using Blazor.

Peter Himschoot works as a lead trainer, architect, and strategist at U2U. He has a wide interest in software development that includes applications for the web, Windows, and mobile devices. Peter has trained thousands of developers, is a regular speaker at international conferences, and has been involved in many web and mobile development projects as a software architect. He is also a Microsoft Regional Director, a group of trusted advisors to the developer and IT professional audiences, and to Microsoft.