Web development with Blazor a practical guide to building interactive UIs with C# 12 and .NET 8

Web Development with Blazor is your essential guide to building and deploying interactive web applications in C# – without relying on JavaScript. Written by an early Blazor adopter and updated for .NET 8, this book takes you through the end-to-end development of an example app, helping you to overco...

Full description

Bibliographic Details
Main Author: Engström, Jimmy
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing Ltd. 2024
Edition:Third edition
Series:Expert insight
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 05489nmm a2200397 u 4500
001 EB002213805
003 EBX01000000000000001350766
005 00000000000000.0
007 cr|||||||||||||||||||||
008 240604 ||| eng
020 |a 9781835466698 
050 4 |a TK5105.875.I6 
100 1 |a Engström, Jimmy 
245 0 0 |a Web development with Blazor  |b a practical guide to building interactive UIs with C# 12 and .NET 8  |c Jimmy Engström 
250 |a Third edition 
260 |a Birmingham, UK  |b Packt Publishing Ltd.  |c 2024 
300 |a 366 pages  |b illustrations 
505 0 |a MacOS and Linux (or Windows) -- Creating our first Blazor application -- Exploring the templates -- Blazor Web App -- Blazor WebAssembly Standalone App -- Creating a Blazor web application -- Using the command line -- Creating projects using the command line -- Figuring out the project structure -- Program.cs (BlazorWebApp project) -- Program.cs (BlazorWebApp.Client) -- App (BlazorWebApp) -- Routes -- MainLayout -- CSS -- Summary -- Chapter 3: Managing State -- Part 1 -- Technical requirements -- Creating a data project -- Creating a new project -- Creating data classes -- Creating an interface 
505 0 |a Includes bibliographical references and index 
505 0 |a Two-way binding -- Actions and EventCallback -- Using RenderFragment -- ChildContent -- Default value -- Building an alert component -- Exploring the new built-in components -- Setting the focus of the UI -- Influencing the HTML head -- Component virtualization -- Error boundaries -- Sections -- Summary -- Chapter 6: Building Forms with Validation -- Technical requirements -- Exploring form elements -- EditForm -- InputBase -- InputCheckbox -- InputDate -- InputNumber -- InputSelect -- InputText -- InputTextArea -- InputRadio -- InputRadioGroup -- InputFile 
505 0 |a Cover -- Copyright -- Foreword -- Contributors -- Table of Contents -- Preface -- Chapter 1: Hello Blazor -- Technical requirements -- Why Blazor? -- Preceding Blazor -- Introducing WebAssembly -- Introducing .NET 8 -- Introducing Blazor -- Blazor Server -- Blazor WebAssembly -- Blazor WebAssembly versus Blazor Server -- Blazor Hybrid/.NET MAUI -- Server-Side Rendering (SSR) -- The feature formerly known as Blazor United -- Summary -- Further reading -- Chapter 2: Creating Your First Blazor App -- Technical requirements -- Setting up your development environment -- Windows 
505 0 |a Implementing the interface -- Adding the API to Blazor -- Summary -- Chapter 4: Understanding Basic Blazor Components -- Technical requirements -- Exploring components -- Counter -- Weather -- Learning Razor syntax -- Razor code blocks -- Implicit Razor expressions -- Explicit Razor expressions -- Expression encoding -- Directives -- Adding an attribute -- Adding an interface -- Inheriting -- Generics -- Changing the layout -- Setting a namespace -- Setting a route -- Adding a using statement -- Understanding dependency injection -- Singleton -- Scoped -- Transient -- Injecting the service 
505 0 |a Changing the render mode -- Figuring out where to put the code -- In the Razor file -- In a partial class -- Inheriting a class -- Only code -- Lifecycle events -- OnInitialized and OnInitializedAsync -- OnParametersSet and OnParametersSetAsync -- OnAfterRender and OnAfterRenderAsync -- ShouldRender -- Parameters -- Cascading parameters -- Writing our first component -- Creating a components library -- Using our components library -- Creating our own component -- Summary -- Chapter 5: Creating Advanced Blazor Components -- Technical requirements -- Exploring binding -- One-way binding 
653 |a Microsoft .NET Framework / http://id.loc.gov/authorities/names/n2017043838 
653 |a Applications Web 
653 |a Web site development / http://id.loc.gov/authorities/subjects/sh98004795 
653 |a Sites Web / Développement 
653 |a Web applications / http://id.loc.gov/authorities/subjects/sh2012001728 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
490 0 |a Expert insight 
776 |z 9781835465912 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781835465912/?ar  |x Verlag  |3 Volltext 
082 0 |a 331 
082 0 |a 005.3/76 
520 |a Web Development with Blazor is your essential guide to building and deploying interactive web applications in C# – without relying on JavaScript. Written by an early Blazor adopter and updated for .NET 8, this book takes you through the end-to-end development of an example app, helping you to overcome common challenges along the way. You’ll pick up both Blazor Server and Blazor WebAssembly and discover cutting-edge tools to enrich your development experience. Responding to evolving needs, this edition introduces flexible hosting models, allowing you to mix and match hosting approaches to create flexible and scalable Blazor applications. It also presents the new Blazor templates, which provide ready-made solutions to simplify and expedite development. You'll learn about the game-changing server-side rendering (SSR), a hybrid hosting model blending the strengths of Blazor Server and Blazor WebAssembly, as well as streaming rendering, a new technique that boosts the performance and user experience of Blazor apps. By the end of this book, you'll have the confidence you need to create and deploy production-ready Blazor applications using best practices, along with a big-picture view of the Blazor landscape