
عنوان:
Web Development with Blazor - Third Edition
نویسنده:
Jimmy Engström
انتشارات:
Packt Publishing
تاریخ انتشار:
2024
حجم:
6.5MB
معرفی کتاب:" توسعه وب با Blazor: راهنمای عملی ساخت رابطهای تعاملی با C# 12 و .NET 8 "
این کتاب راهنمایی جامع برای توسعه برنامههای وب تعاملی با Blazor است — با استفاده از #C و بدون نیاز به JavaScript. از ساخت پروژه تا استقرار نهایی، گامبهگام همراه شماست.
ویژگیهای کلیدی
- ساخت پروژه Blazor آماده تولید از صفر
- آشنایی با Blazor Server، WebAssembly و Hybrid
- پوشش SSR، رندر استریمشده و قالبهای جدید Blazor
- میزبانی انعطافپذیر و ترکیبی برای مقیاسپذیری بالا
آنچه خواهید آموخت
- انتخاب مدل مناسب بین Blazor Server و WebAssembly
- ساخت کامپوننتهای ساده تا پیشرفته
- ایجاد API با Minimal APIs
- درک کامل از SSR و Stream Rendering
- کار با قالبهای Blazor برای توسعه سریعتر
- اشکالزدایی برنامههای Blazor
مخاطبان کتاب
مناسب توسعهدهندگان وب .NET و #C که قصد دارند با مهارتهای خود اپلیکیشنهای تحت مرورگر، سرور یا هیبریدی بسازند. دانش پایهای #C و آشنایی اولیه با وب کافی است.
نسخه چاپی و دیجیتال
با خرید نسخه چاپی یا کیندل، یک نسخه PDF رایگان نیز دریافت خواهید کرد.
فهرست مطالب
- Cover
- Copyright
- Foreword
- Contributors
- Table of Contents
- Preface
- Chapter 1: Hello Blazor
- Technical requirements
- Why Blazor?
- Preceding Blazor
- Introducing WebAssembly
- Introducing .NET 8
- Introducing Blazor
- Summary
- Further reading
- Chapter 2: Creating Your First Blazor App
- Technical requirements
- Setting up your development environment
- Creating our first Blazor application
- Using the command line
- Figuring out the project structure
- Summary
- Chapter 3: Managing State – Part 1
- Technical requirements
- Creating a data project
- Adding the API to Blazor
- Summary
- Chapter 4: Understanding Basic Blazor Components
- Technical requirements
- Exploring components
- Learning Razor syntax
- Understanding dependency injection
- Figuring out where to put the code
- Lifecycle events
- Parameters
- Writing our first component
- Summary
- Chapter 5: Creating Advanced Blazor Components
- Technical requirements
- Exploring binding
- Actions and EventCallback
- Using RenderFragment
- Exploring the new built-in components
- Summary
- Chapter 6: Building Forms with Validation
- Technical requirements
- Exploring form elements
- Adding validation
- Custom validation class attributes
- Looking at bindings
- Building an admin interface
- Enhanced Form Navigation
- Summary
- Chapter 7: Creating an API
- Technical requirements
- Creating the service
- Creating the client
- Summary
- Chapter 8: Authentication and Authorization
- Technical requirements
- Setting up authentication
- Securing our Blazor app
- Securing Blazor WebAssembly
- Adding roles
- Summary
- Chapter 9: Sharing Code and Resources
- Technical requirements
- Adding static files
- CSS isolation
- Summary
- Chapter 10: JavaScript Interop
- Technical requirements
- Why do we need JavaScript?
- .NET to JavaScript
- JavaScript to .NET
- Implementing an existing JavaScript library
- JavaScript interop in WebAssembly
- Summary
- Chapter 11: Managing State – Part 2
- Technical requirements
- Storing data on the server side
- Storing data in the URL
- Implementing browser storage
- Using an in-memory state container service
- Root-level cascading values
- Summary
- Chapter 12: Debugging the Code
- Technical requirements
- Making things break
- Debugging Blazor Server
- Debugging Blazor WebAssembly
- Debugging Blazor WebAssembly in the web browser
- Hot Reload
- Summary
- Chapter 13: Testing
- Technical requirements
- What is bUnit?
- Setting up a test project
- Mocking the API
- Writing tests
- Blazm extension
- Summary
- Chapter 14: Deploying to Production
- Technical requirements
- Continuous delivery options
- Hosting options
- Summary
- Chapter 15: Moving from, or Combining with, an Existing Site
- Technical requirements
- Introducing web components
- Exploring custom elements
- Exploring the Blazor component
- Adding Blazor to an Angular site
- Adding Blazor to a React site
- Adding Blazor to MVC/Razor Pages
- Adding web components to a Blazor site
- Migrating from Web Forms
- Summary
- Chapter 16: Going Deeper into WebAssembly
- Technical requirements
- Exploring the WebAssembly template
- .NET WebAssembly build tools
- AOT compilation
- WebAssembly SIMD
- Trimming
- Lazy loading
- Progressive web apps
- Native dependencies
- Common problems
- Summary
- Chapter 17: Examining Source Generators
- Technical requirements
- What a source generator is
- How to get started with source generators
- Community projects
- Summary
- Chapter 18: Visiting .NET MAUI
- Technical requirements
- What is .NET MAUI?
- Creating a new project
- Looking at the template
- Developing for Android
- Developing for iOS
- Developing for macOS
- Developing for Windows
- Developing for Tizen
- Summary
- Chapter 19: Where to Go from Here
- Take-aways from running Blazor in production
- The next steps
- Summary
- Packt Page
- Other Books You May Enjoy
- Index
مشخصات
نام کتاب
Web Development with Blazor - Third Edition
نویسنده
Jimmy Engströmn
انتشارات
Packt Publishing
تاریخ انتشار
2024
ISBN
9781835465912
تعداد صفحات
367
زبان
انگلیسی
فرمت
حجم
6.5MB
موضوع
web development