Building Modern Web Applications with ASP.NET Core Blazor: Learn how to use Blazor to create powerful, responsive, and engaging web applications 9789355518798

Key Features: - Explore the ins and outs of Blazor architecture and gain a comprehensive understanding of its components

142 8 2MB

English Pages 303 Year 2023

Report DMCA / Copyright

DOWNLOAD EPUB FILE

Table of contents :
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

2. Choose Your Hosting Model

Introduction

Structure

Objectives

WebSocket

SignalR

Blazor Server

Blazor WebAssembly

Blazor Hybrid

Conclusion

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

4. Advanced Techniques for Blazor Component Enhancement

Introduction

Structure

Component Reference

Components preserving

Template components

CSS Isolation

Conclusion

5. File Uploading in Blazor

Introduction

Structure

Objectives

Build comments for EShop

File transfer

File upload

Tips

Conclusion

6. Serving and Securing Files in Blazor

Introduction

Structure

Objectives

Middleware

Serve Static Files

Serve Dynamic Files

Security Advice

Conclusion

7. Collecting User Input with Forms

Introduction

Structure

Objectives

Forms

EditForm

InputBase

Validation

Custom Validation

Form submission

EditContext And Form State

Conclusion

8. Navigating Over Application

Introduction

Structure

Objectives

Router

RouteAttribute

NavLink

Route parameters

Navigation events and Asynchronous navigation

ASP.NET Core integration

Conclusion

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

10. Connecting to the World with HTTP

Introduction

Structure

Objectives

Front-end and back-end separation

HTTP protocol

CORS

HttpClient

HttpClientFactory

HttpClient again

gRPC

Conclusion

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

12. Protecting Your Application with Identity

Introduction

Structure

Objectives

Authentication

AuthenticationStateProvider

Authorization

Role-based Authorization

Policy-based Authorization

ASP.NET Core Identity

Conclusion

13. Deploying with Docker and Kubernetes

Introduction

Structure

Objectives

What is Docker

Building Docker Image

Image layer

What is K8S

K8S components

Deploy to AKS – K8S on Azure

Conclusion

Index

Building Modern Web Applications with ASP.NET Core Blazor: Learn how to use Blazor to create powerful, responsive, and engaging web applications
 9789355518798

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
Recommend Papers