A
admin interface
usable making 184
admin interface, for blog
blog posts, listing and editing 130-141
categories, listing and editing 123-126
tags, listing and editing 126-129
alert component
Angry Bots (Unity)
reference link 6
Angular site
AOT (ahead-of-time) compilation 268, 269
API
adding, to handle blog posts 146-149
adding, to handle categories 149, 150
adding, to handle tags 150, 151
securing 173
API client
API controllers
adding 146
API service
application, for Android
developing 297
running, on physical device 299
application, for iOS
developing 299
hot restart 300
application, for macOS
developing 304
application, for Windows
developing 305
Auth0 160
configuring 173
authentication 159
authorization 159
Azure DevOps 252
B
to components 120
to HTML elements 119
Blazm.Bluetooth 192
Blazm.Components 192
Blazor 7
adding, to Angular site 258-260
adding, to MVC/Razor Pages 261-263
adding, to React site 260, 261
characteristics 2
components 9
Blazor application
creating 20
Blazorators 286
reference link 286
Blazor community 310
Blazor Hybrid 14
Blazor Server 8
advantages 9
CSS, adding to 184
disadvantages 9
hosting 252
roles, adding to 176
Blazor Server App Empty template 21
Blazor Server application
Blazor Server App template 21
Blazor Server Program.cs 36-38
Blazor site
Web components, adding to 263-265
advantages 13
debugging, in web browser 231-233
disadvantages 12
hosting 253
versus Blazor Server 14
Blazor WebAssembly App Empty template 21
Blazor WebAssembly App template 21
BlazorWebAssembly.Client
CSS, adding to 184
BlazorWebAssembly.Server project 144
blog
making 186
BlogApiJsonDirectAccess 89
blog posts
APIs, adding to handle 146-149
URL 44
Bootswatch 183
URL 182
browser storage
Blazor Server, implementing 212-214
implementing 211
interface, creating 212
shared code, implementing 215-218
WebAssembly, implementing 214, 215
built-in components 100
HTML head, influencing 101-104
Virtualization component 104-107
authentication, testing 245, 246
authorization, testing 245, 246
reference link 248
test project, setting up 236-239
C
categories
APIs, adding to handle 149, 150
central processing unit (CPU) 269
ChildContent 97
code block 71
command line
used, for creating projects 34
community projects 286
Blazorators 286
C# source generators 286
InterfaceGenerator 286
Microsoft Learn 287
Roslyn SDK samples 287
components, creating ways 64, 78
class, inheriting 80
in Razor file 78
components library
continuous delivery
Continuous Integration and Continuous Delivery/Deployment (CI/CD) 252
counter page 64
C# source generators 286
reference link 286
adding, to BlazorServer 184
adding, to BlazorWebAssembly.Client 184
Custom Elements 257
custom validation class attributes 115-118
D
data
storing, on server side 208
data project
creating 48
data classes, creating for blog post 49, 50
data, storing in URL 209
reference link 76
scoped 77
service, injecting 77
singleton 76
transient 77
development environment
setting up 17
directives 73
attribute, adding 73
class, inheriting 74
generics 74
interface, adding 73
layout, modifying 74
namespace, setting 75
route, setting 75
using statement, adding 75
Distributed Application Runtime (Dapr) 145
Document Object Model (DOM) 4, 27
Doom
reference link 6
dotnet.exe 33
dotnet.wasm 11
E
emulator 301
reference link 13
explicit Razor expressions 72
F
form elements 109
InputBase<> 111
InputCheckbox 112
InputDate<TValue> 112
InputFile 113
InputNumber<TValue> 112
InputRadio 112
InputRadioGroup 113
InputSelect<TValue> 112
InputText 112
InputTextArea 112
forms
G
generics 74
GitHub Actions 252
H
HeadOutlet 102
hosting, options 252
application, hosting on IIS 253
Blazor Server, hosting 252
Blazor WebAssembly, hosting 253
Hot Reload 233
hot restart 300
HTTP Strict Transport Security (HSTS) 37
I
implicit Razor expressions 72
Index component 89
Index/_host 38
in-memory state container service
real-time updates, implementing on Blazor Server 219-222
real-time updates, implementing on Blazor WebAssembly 222-226
reference link 286
Intermediate Language (IL) 268
Internet Information Server (IIS)
application, hosting on 253
Inversion of Control (IoC) 75
J
JavaScript 3
need for 192
JavaScript, calling from .NET 192
Global JavaScript 193
JavaScript interop, in WebAssembly 202
JavaScript library
L
learnings, from running Blazor in production 307
concurrency problems, solving 309
errors, solving 309
memory problems, solving 308
old browsers 309
LESS 183
lifecycle events 82
OnAfterRender 82
OnAfterRenderAsync 82
OnInitialized 82
OnInitializedAsync 82
OnParametersSet 82
OnParametersSetAsync 82
ShouldRender 82
LOB (Line of Business) 183
local storage 211
M
macOS
Visual Studio 2022, installing on 19, 20
menu
Microsoft Learn 287
reference link 287
Microsoft Visual Studio
URL 18
MVC/Razor Pages
N
.NET 5 6
.NET 6 7
.NET 7 6
.NET CLI
reference link 35
.NET code, calling from JavaScript 195
static .NET method call 195, 196
.NET Core 6
.NET garbage collection
server mode 308
workstation mode 308
.NET MAUI App 291
.NET MAUI Blazor App 291
.NET MAUI Class Library 291
.NET runtimes 6
.NET WebAssembly build tools 268
O
P
parameters 83
prerendering
on server 276
Program.cs 35
Blazor Server Program.cs 36-38
progress indicators 275
Progressive Web Application (PWA) 13, 30, 273
projects
creating, with command line 34
project structure
Index/_host 38
Program.cs 35
Protected Browser Storage 212
Q
query string
using 210
R
Razor component 38
Razor page 38
Razor syntax 70
code blocks 71
directives 73
explicit Razor expressions 72
implicit Razor expressions 72
React site
RenderFragment
alert component, building 97-100
ChildContent 97
default value 97
using 96
REpresentational State Transfer (REST) 143
roles
adding 175
adding, to Blazor Server 176
adding, to Blazor WebAssembly 177-179
Roslyn SDK samples 287
reference link 287
S
SASS 183
Search Engine Optimization (SEO) 104
server side
data, storing on 208
session storage 212
SignalR 8
simulator 301
Single Instruction, Multiple Data (SIMD) 269
Single-Page Application (SPA) 12
state 207
static files
adding 182
stored procedures 282
style
adding 183
T
tags
APIs, adding to handle 150, 151
Tailwind 183
Blazor Server App 21
Blazor Server App Empty 21
Blazor WebAssembly App 21
Blazor WebAssembly App Empty 21
tests
Tizen 305
trimming 270
reference link 270
TypeScript 3
U
user state 207
UWP (Universal Windows Platform) 291
V
ValidationMessage component 114
ValidationSummary component 115
Virtualize component 96, 104-107
Visual Studio 2022 18
editions 18
Visual Studio Code 20
W
wasm-tools 252
WebAssembly 4
Angry Bots (Unity) example 6
Doom example 6
reference link, for projects 6
WebAssembly application
web browser
Blazor WebAssembly, debugging in 231-233
Web components 256
adding, to Blazor site 263-265
Web Forms
migrating from 265
WebSocket call 27
Windows
Visual Studio 2022, installing on 18, 19
WPF (Windows Presentation Foundation) 291
X
Xamarin 290
Y
Yet Another Reverse Proxy (YARP) 265
Thanks for purchasing this book!
Do you like to read on the go but are unable to carry your print books everywhere?Is your eBook purchase not compatible with the device of your choice?
Don’t worry, now with every Packt book you get a DRM-free PDF version of that book at no cost.
Read anywhere, any place, on any device. Search, copy, and paste code from your favorite technical books directly into your application.
The perks don’t stop there, you can get exclusive access to discounts, newsletters, and great free content in your inbox daily
Follow these simple steps to get the benefits:
https://packt.link/free-ebook/9781803241494