Du er ikke logget ind
Beskrivelse
Develop modern web UIs with Blazor Server and Blazor WebAssembly - now introducing Streaming and Static Server-Side Rendering (SSR) and flexible hosting models in .NET 8
Purchase of the print or Kindle book includes a free eBook in PDF format
Key FeaturesCreate a production-ready Blazor application from start to finishFind out how, when, and why to use Blazor Server and Blazor WebAssembly, as well as Blazor HybridExplore crucial new coverage of streaming rendering, server-side rendering (SSR), flexible hosting models, and Blazor templatesBook DescriptionWeb 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.
What you will learnUnderstand how and when to use Blazor Server, Blazor WebAssembly, and Blazor HybridLearn how to build simple and advanced Blazor componentsExplore how Minimal APIs work and build your own APIDiscover how to use streaming rendering and server-side rendering (SSR)Mix and match different hosting models to create flexible and scalable Blazor appsFamiliarise yourself with the new Blazor templates that simplify developmentDebug your Blazor Server and Blazor WebAssembly applicationsWho this book is forThis book is for .NET web developers and software developers who want to use their existing C# skills to build interactive web applications running either inside the web browser using Blazor WebAssembly, on the server using Blazor Server, or a combination of the two.
You'll need basic knowledge of C# and prior exposure to .NET web development before you get started; the book will guide you through the rest.
Table of ContentsHello BlazorCreating Your First Blazor AppManaging State - Part 1Understanding Basic Blazor ComponentsCreating Advanced Blazor ComponentsBuilding Forms with ValidationCreating an APIAuthentication and AuthorizationSharing Code and ResourcesJavaScript InteropManaging State - Part 2Debugging the CodeTestingDeploying to ProductionMoving from, or Combining, an Existing SiteGoing Deeper into WebAssemblyExamining Source GeneratorsVisiting .NET MAUIWhere to Go from Here