Blazor Web Development Cookbook Tested Recipes for Advanced Single-Page Application Scenarios In . NET 9.
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited
2024.
|
Edición: | 1st ed |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009872236306719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Dedicated
- Contributor
- Table of Contents
- Preface
- Chapter 1: Working with Component-Based Architecture
- Technical requirements
- Initializing a project
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating your first basic component
- Getting ready
- How to do it...
- How it works...
- There's more...
- Declaring parameters on a component
- Getting ready
- How to do it...
- How it works...
- There's more...
- Detecting render mode at runtime
- Getting ready
- How to do it...
- How it works...
- Ensuring that a parameter is required
- Getting ready
- How to do it...
- How it works...
- Passing values from the parent component with CascadingParameter
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating components with customizable content
- Getting ready
- How to do it...
- How it works...
- There's more...
- Making components generic
- Getting ready
- How to do it...
- How it works...
- There's more...
- Decoupling components with DynamicComponent
- Getting ready
- How to do it...
- How it works...
- Chapter 2: Synchronous and Asynchronous Data Binding
- Technical requirements
- Binding values with markup elements
- Getting ready
- How to do it…
- How it works…
- Binding to a specific DOM event
- Getting ready
- How to do it…
- How it works…
- There's more…
- Performing asynchronous actions after binding
- Getting ready
- How to do it…
- How it works…
- There's more…
- Customizing get and set binding logic
- Getting ready
- How to do it…
- How it works…
- There's more…
- Simplifying binding with the bind-Value pattern
- Getting ready
- How to do it…
- How it works…
- Binding with an external data provider
- Getting ready
- How to do it…
- How it works….
- Chapter 3: Taking Control of Event Handling
- Technical requirements
- Hooking into event delegates
- Getting ready
- How to do it…
- How it works…
- There's more…
- Delegating with lambda expressions
- Getting ready
- How to do it…
- How it works…
- See also
- Delegating with EventCallback
- Getting ready
- How to do it…
- How it works…
- There's more…
- Preventing default event actions
- Getting ready
- How to do it…
- How it works…
- There's more…
- Controlling event propagation
- Getting ready
- How to do it…
- How it works…
- There's more…
- Introducing custom events
- Getting ready
- How to do it…
- How it works…
- There's more…
- Handling long-running events
- Getting ready
- How to do it…
- How it works…
- There's more…
- Chapter 4: Enhancing Data Display with Grids
- Technical requirements
- Refactoring a table to a grid component
- Getting ready
- How to do it…
- How it works…
- There's more…
- Attaching actions to parts of a grid
- Getting ready
- How to do it…
- How it works…
- There's more…
- Implementing pagination
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Implementing sorting
- Getting ready
- How to do it…
- How it works…
- Implementing infinite scrolling
- Getting ready
- How to do it…
- How it works…
- There's more…
- Utilizing QuickGrid
- Getting ready
- How to do it…
- How it works…
- Chapter 5: Managing Application State
- Technical requirements
- Having bookmarkable state
- Getting ready
- How to do it…
- How it works…
- There's more…
- Implementing an in-memory state container
- Getting ready
- How to do it…
- How it works…
- There's more…
- Injecting application state as a service
- Getting ready
- How to do it…
- How it works…
- See also
- Invoking state changes from anywhere
- Getting ready.
- How to do it…
- How it works…
- There's more…
- Persisting state
- Getting ready
- How to do it…
- How it works…
- There's more…
- Resolving persisted state
- Getting ready
- How to do it…
- How it works…
- There's more…
- Sharing state across interactive render mode boundaries
- Getting ready
- How to do it…
- How it works…
- There's more…
- Chapter 6: Building Interactive Forms
- Technical requirements
- Binding a simple model to a form
- Getting ready
- How to do it…
- How it works…
- There's more
- Submitting static forms without full page reload
- Getting ready
- How to do it…
- How it works…
- There's more…
- Binding nested models to a form
- Getting ready
- How to do it…
- How it works…
- There's more…
- Utilizing built-in input components
- Getting ready
- How to do it…
- How it works…
- Handling file uploads with a form
- Getting ready
- How to do it…
- How it works…
- There's more…
- Securing a form with an anti-forgery token
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Chapter 7: Validating User Input Forms
- Technical requirements
- Adding validation to a form
- Getting ready
- How to do it…
- How it works…
- There's more…
- Leveraging data annotations for form validation
- Getting ready
- How to do it…
- How it works…
- There's more…
- Implementing custom validation attributes
- Getting ready
- How to do it…
- How it works…
- There's more…
- Validating complex data models
- Getting ready
- How to do it…
- How it works…
- There's more…
- Styling validation messages
- Getting ready
- How to do it…
- How it works…
- There's more…
- Displaying a toast when validation fails
- Getting ready
- How to do it…
- How it works…
- Enabling a submit option based on the form state
- Getting ready
- How to do it…
- How it works….
- There's more…
- Chapter 8: Keeping the Application Secure
- Technical requirements
- Scaffolding identity
- Getting ready
- How to do it…
- How it works…
- There's more…
- Securing pages
- Getting ready
- How to do it…
- How it works…
- There's more…
- Securing markup areas
- Getting ready
- How to do it…
- How it works…
- There's more…
- Creating roles
- Getting ready
- How to do it…
- How it works…
- Modifying a user's identity
- Getting ready
- How to do it…
- How it works…
- See also
- Supporting roles' and policies' authorization
- Getting ready
- How to do it…
- How it works…
- There's more…
- Resolving authentication state in procedural logic
- Getting ready
- How it works…
- Chapter 9: Exploring Navigation and Routing
- Technical requirements
- Enabling routes from multiple assemblies
- Getting ready
- How to do it…
- How it works…
- Working with parameterized routes
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Working with query parameters
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Implementing unified deep linking
- Getting ready
- How to do it…
- How it works…
- There's more…
- Handling incorrect navigation requests
- Getting ready
- How to do it…
- How it works…
- See also
- Executing an asynchronous operation with navigation
- Getting ready
- How to do it…
- How it works…
- See also
- Canceling a long-running task when users navigate away
- Getting ready
- How to do it…
- How it works…
- Controlling navigation history
- Getting ready
- How to do it…
- How it works…
- Chapter 10: Integrating with OpenAI
- Technical requirements
- Setting up an Azure OpenAI service
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Implementing smart pasting
- Getting ready.
- How to do it…
- How it works…
- There's more…
- Implementing a smart text area
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Adding a ChatBot
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Connecting an Azure OpenAI service to an existing data index
- Getting ready
- How to do it…
- How it works…
- There's more…
- See also
- Index
- Other Books You May Enjoy.