
Web Development with Blazor: A hands-on guide for .NET developers to build interactive UIs with C#
Author(s): Jimmy Engström (Author)
- Publisher: Packt Publishing
- Publication Date: 18 Jun. 2021
- Language: English
- Print length: 310 pages
- ISBN-10: 1800208723
- ISBN-13: 9781800208728
Book Description
Learn modern web user interface (UI) development with server-side Blazor and Blazor WebAssembly
Key Features
- Get up to speed with Blazor fundamentals, actionable insights, and best practices
- Learn how to create and deploy a production-ready Blazor application
- Find out how, when, and why to use server-side Blazor and Blazor WebAssembly
Book Description
Until now, creating interactive web pages meant involving JavaScript. But with Blazor, Microsoft’s new way to create .NET web applications, developers can easily build interactive and rich web applications using C#. Web Development with Blazor will guide you through the most common challenges in getting started with Blazor.
You’ll start by learning how to leverage the power of Blazor and learn what you can do with both Blazor Server and Blazor WebAssembly. By showing you how all the elements work together practically, the book will help you solve some of the common roadblocks that developers face. As you advance, you’ll learn how to create Blazor Server and Blazor WebAssembly projects, how Razor syntax works, and how to validate forms and create your own components. Later, the book introduces you to key concepts involved in web development with Blazor, which you will be able to put into practice straight away.
By the end of this Blazor book, you’ll have gained the confidence you need to create and deploy production-ready Blazor applications.
What you will learn
- Understand the different technologies that can be used with Blazor, such as Blazor Server and Blazor WebAssembly
- Find out how to build simple and advanced Blazor components
- Explore the differences between Blazor Server and Blazor WebAssembly projects
- Discover how Entity Framework works and build a simple API
- Get up to speed with components and find out how to create basic and advanced components
- Explore existing JavaScript libraries in Blazor
- Use techniques to debug your Blazor Server and Blazor WebAssembly applications
- Test Blazor components using bUnit
Who this book is for
This web development book is for web developers and software developers who want to explore Blazor for building dynamic web UIs. This book assumes beginner-level knowledge of C# programming and intermediate-level web development skills.
Table of Contents
- Hello Blazor
- Creating Your First Blazor App
- Introducing Entity Framework Core
- Understanding Basic Blazor Components
- Creating Advanced Blazor Components
- Building Forms with Validation
- Creating an API
- Authentication and Authorization
- Sharing Code and Resources
- JavaScript Interop
- Managing State
- Debugging
- Testing
- Deploying to Production
- Where to Go from Here
Editorial Reviews
Review
“It’s been about six years since I first met Jimmy at an event in Stockholm and quickly noticed his passion for technology, user experience, and pop-culture. We spent the better part of an hour debating Marvel vs DC comic characters and storylines and I knew this was a personality who studied for his craft and hobbies. His presentations regarding Blazor, Hololens, and delivering better applications for our users are always cutting edge and leading the audience to the best practices with each technology.
The author is a Microsoft MVP and community leader for almost a decade. The Swedish developer community has grown under his leadership and benefitted from his insights to build better applications and services. The Blazm components library that he has written and made available is a prime example of helping other developers in his local community and world-wide.
This book has been written for the practical Blazor developer. Clear definitions of why you need to consider each feature of the framework are followed by examples and clear solutions that will make you immediately successful. You’ll learn with a blog engine, very relatable sample throughout the book. From user-interface topics, through API design, and security considerations the blog engine you will build with Blazor and ASP.NET Core in this book will run in production and can easily serve your blog. The final chapter of this book is an awesome reference for new and seasoned developers with answers to typical problems that will surface during the lifetime of your application, and should be kept as a desktop reference for years to come.”
—
Jeff Fritz,
Principal Program Manager at Microsoft and Leader in Live Video Technical Community Engagement
About the Author
Jimmy Engström has been developing ever since he was 7 years old and got his first computer. He loves to be on the cutting edge of technology, trying new things. When he got wind of Blazor, he immediately realized the potential and adopted it already when it was in beta. He has been running Blazor in production since it was launched by Microsoft.
His passion for the .NET industry and community has taken him around the world, speaking about development. Microsoft has recognized this passion by awarding him the Microsoft Most Valuable Professional award 8 years in a row.
Wow! eBook


