Learn Blazor from the ground up, with step-by-step instructions and code examples. Key Features: - Explore the ins and outs of Blazor architecture and gain a comprehensive understanding of its components. - Dive deep into the intricacies of Blazor deployment, ensuring smooth and successful laun
Web Applications with ASP.NET Core Blazor: Create Powerful, Responsive, and Engaging Web Applications
โ Scribed by Brian Ding
- Publisher
- Mercury Learning and Information
- Year
- 2024
- Tongue
- English
- Leaves
- 308
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
This book covers many different aspects of developing Blazor applications, a modern way to build rich UI web apps. It also introduces methods to leverage .NET and its eco-systems to build a modern enterprise application. It features WebAssembly and how it can be written in any programming language. The book also compares different Blazor hosting models and the strategy to select a model that suits specific business requirements. It is designed for web developers, software engineers, and tech enthusiasts looking to build robust, interactive web applications using ASP.NET Core Blazor. Using a demonstrative approach for Blazor learners, every chapter includes numerous code examples and a Blazor source code analysis. It covers basic Blazor directives and components and how these concepts can be combined together to build a more complex customized component. Master modern deployment techniques with Docker and Kubernetes. This book also explains some advanced techniques to control component rendering and improve performance. Companion files with code samples and color figures are available for downloading from the publisher(with Amazon proof of purchase).
FEATURES
โข Features code examples and detailed analysis to help you grasp Blazor concepts effectively
โข Learn advanced component enhancement, performance optimization, and secure file handling
โข Master modern deployment techniques with Docker and Kubernetes, ensuring your applications are production-ready
โข Download companion files with code samples and color figures from the publisher(with Amazon proof of purchase)
โฆ Table of Contents
Cover
Half Title
Title
Copyright
Dedication
Contents
Preface
Acknowledgments
About the Author
About the Reviewer
Chapter 1: WebAssembly Introduction
Introduction
Structure
Objectives
What Is WebAssembly
History of WebAssembly
Hello World! with WebAssembly
Call WebAssembly from JavaScript
WebAssembly in the Future
Popular WebAssembly Languages
.NET Core
ASP.NET Core
When to Choose ASP.NET Core Blazor
Conclusion
Chapter 2: Choose Your Hosting Model
Introduction
Structure
Objectives
WebSocket
SignalR
Blazor Server
Blazor WebAssembly
Blazor Hybrid
Conclusion
Chapter 3: Implementing Razor and Other Components
Introduction
Structure
Objectives
Razor Components
Directive
Directive Attribute
One-Way Binding
Binding Event
Binding Format
Unparsed Value
Two-Way Binding
Cascading
Event Handling
Lifecycle
Layout
Libraries
Fast-Blazor
MatBlazor
Ant Design Blazor
BootstrapBlazor
Conclusion
Chapter 4: Advanced Techniques for Blazor Component Enhancement
Introduction
Structure
Component Reference
Components Preserving
Template Components
CSS Isolation
Conclusion
Chapter 5: File Uploading in Blazor
Introduction
Structure
Objectives
Build Comments for EShop
File Transfer
File Upload
Tips
Conclusion
Chapter 6: Serving and Securing Files in Blazor
Introduction
Structure
Objectives
Middleware
Serve Static Files
Serve Dynamic Files
Security Advice
Conclusion
Chapter 7: Collecting User Input with Forms
Introduction
Structure
Objectives
Forms
EditForm
InputBase
Validation
Custom Validation
Form Submission
EditContext and Form State
Conclusion
Chapter 8: Navigating Over Application
Introduction
Structure
Objectives
Router
RouteAttribute
NavLink
Route Parameters
Navigation Events and Asynchronous Navigation
ASP.NET Core Integration
Conclusion
Chapter 9: .NET and JavaScript Interop
Introduction
Structure
Objectives
Serialization
Loading JavaScript
Initializer
Calling JavaScript from .NET
JavaScript Isolation
Calling .NET from JavaScript
Cache
Element Reference
Type Safety
Conclusion
Chapter 10: Connecting to the World with HTTP
Introduction
Structure
Objectives
Front-End and Back-End Separation
HTTP Protocol
Cross-Origin Resource Sharing
HTTPClient
HTTPClientFactory
HTTPClient Again
gRPC
Conclusion
Chapter 11: Data Persistence with EF Core
Introduction
Structure
Objectives
Stateless and Stateful
EntityFramework Core
Context Object
Data Entities
Database Migration
Data Update
Data Query
Conclusion
Chapter 12: Protecting Your Application with Identity
Introduction
Structure
Objectives
Authentication
AuthenticationStateProvider
Authorization
Role-Based Authorization
Policy-Based Authorization
ASP.NET Core Identity
Conclusion
Chapter 13: Deploying with Docker and Kubernetes
Introduction
Structure
Objectives
What Is Docker?
Building a Docker Image
Image Layer
What Is K8S?
K8S Components
Deploy to AKSโK8S on Azure
Conclusion
Index
๐ SIMILAR VOLUMES
Key Features: - Explore the ins and outs of Blazor architecture and gain a comprehensive understanding of its components. - Dive deep into the intricacies of Blazor deployment, ensuring smooth and successful launches. - Uncover valuable tips and tricks for optimizing performance, ensuring scalabi
Create powerful applications for the modern web About This Book Build a complete single page application with two of the most impressive frameworks in modern development Find out how to bring together the capabilities and features of both Angular 2 and ASP.NET Core From managing data, to application
Design and develop an ASP.NET Core web application using .NET Core 3.0. This book shows you how to publish a web application to a web server and connect the published web application to a production database. <b> <i>Creating ASP.NET Core Web Application</i> </b><i> <b>s</b> </i> starts by settin
Learn how to create the basic, dynamic, and advanced ASP.NET pages in C# Packed with tips, tricks, and workarounds, this book covers every aspect of developing a Web application for the enterprise using ASP.NET and C#. Written by Microsoft insiders, it shows readers how to create the basic, dynamic,