توضیحاتی در مورد کتاب ASP.NET Core 9.0 Essentials: Explore the .NET Core web stack, including Razor Pages, Blazor, and MVC, to build cloud-ready apps
نام کتاب : ASP.NET Core 9.0 Essentials: Explore the .NET Core web stack, including Razor Pages, Blazor, and MVC, to build cloud-ready apps
ویرایش : 1
عنوان ترجمه شده به فارسی : ASP.NET CORE 9.0 Essentials: پشته وب .NET Core ، از جمله صفحات Razor ، Blazor و MVC را برای ساخت برنامه های آماده ابر کشف کنید
سری :
نویسندگان : Albert S. Tanure
ناشر : packt publishing Pvt Ltd
سال نشر : 2024
تعداد صفحات : 0
ISBN (شابک) : 9781835469064 , 9781835460788
زبان کتاب : English
فرمت کتاب : epub درصورت درخواست کاربر به PDF تبدیل می شود
حجم کتاب : 12 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
ASP.NET Core 9.0 Essentials
Contributors
About the author
About the reviewers
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Share Your Thoughts
Download a free PDF copy of this book
Part 1: ASP.NET Core 9 Fundamentals
1
Introducing ASP.NET Core 9 Concepts
Technical requirements
Why ASP.NET Core 9?
Comparing .NET and .NET Framework
Preparing our development environment
The development tool
SDK and runtime
CLI (Command-Line Interface)
Windows installation
macOS installation
Linux installation
Visual Studio Code
Testing the development environment
What is new in ASP.NET Core 9?
Summary
2
Building Dynamic UIs with Razor Pages, MVC, and Blazor
Technical requirements
Learning about the ASP.NET Core UI
Rendering the UI
Implementing a UI server render model with Razor Pages and ASP.NET MVC
ASP.NET Core Razor Pages
ASP.NET Core MVC
Exploring UI client rendering with Blazor and JavaScript frameworks
Rich UIs with Blazor
ASP.NET Core 9 and JavaScript frameworks
Working with hybrid solutions
Summary
3
Crafting Web APIs for Service Delivery
Technical requirements
Delivering business as a service
HTTP verbs and conventions
REST
HTTP status codes
Exploring minimal APIs
Implementing APIs using the controller-based approach
Creating a controller-based API
Understanding the product controller
ControllerBase utilities
Working with binding
Performing validations
Working with documentation
Documenting APIs with Swagger
Summary
4
Real-Time Interactions with SignalR
Technical requirements
What is SignalR?
Understanding the concepts of Servers and Clients
Working with a task management application
Creating the Hub
Preparing the server application
Preparing the client application
Understanding the client and server communication flow
Working with streaming
Implementing basic streaming
Hosting the ASP.NET Core SignalR application
The basics of hosting a SignalR application
Summary
Part 2: Data and Security
5
Working with Data and Persistence
Technical requirements
Docker installation
Azure Data Studio
Connecting to a SQL database
Preparing SQL Server
Using the SQL client
Understanding SQL, NoSQL, ORM, and Micro ORM
SQL versus NoSQL
ORM and Micro ORM
Working with EF Core and Dapper
EF Core
Dapper
Summary
6
Enhancing Security and Quality
Technical requirements
Understanding the security principles of web-based applications
Security topics in web applications
Comparing authorization and authentication
Authentication
Authorization
Understanding OAuth 2.0 and OIDC
Working with the ASP.NET Core Identity framework
Understanding the ASP.NET Core Identity architecture
Getting started with integrating ASP.NET Core Identity
Configuring the database context
Updating the database
Adding ASP.NET Core Identity services and routes
Securing APIs with ASP.NET Core Identity
Securing application routes
Requesting an API with the access token
Strengthening application security
Managing secrets properly
Enforcing HTTPS and working with CORS
Preventing common vulnerabilities
Summary
Part 3: Applying Best Practices
7
Adding Capabilities to Applications
Technical requirements
Working with ASP.NET Core 9 best practices
HTTP request best practices
Asynchronous requests and I/O optimization
Improving performance with a cache strategy and making the application resilient
Caching strategies
Integrating Redis in our application
Working with cache in the controller class
Configuring Redis Insight
Resilience mechanisms
Understanding and implementing logging and monitoring
Introduction to logging and monitoring
Summary
8
Enhancing Applications with Middleware in ASP.NET Core 9
Technical requirements
Knowing the middleware pipeline
Understanding middleware flow
Benefits of middleware and best practices
Implementing custom middleware
Working with factory-based middleware
Adding capabilities to applications using middleware
Global error handling
Adding request logging
Rate limiting
Creating an extension method for middleware registration
Summary
9
Managing Application Settings
Technical requirements
Understanding IConfiguration concepts and abstractions
IConfiguration interface
Working with configuration providers
Adding configuration providers
Creating a custom configuration provider
Learning the Options pattern
What is the Options pattern?
Implementing the Options pattern
Working with dynamic configurations and behaviors
Working with dynamic settings
Connecting an ASP.NET Core 9 application to Azure App Configuration
Summary
Part 4: Hosting, Deploying, and Preparing to the Cloud
10
Deploying and Hosting Applications
Technical requirements
Preparing to publish your application and host locally
The importance of the publishing process
Generating a publishing package
Publishing the solution in a cloud environment
Creating Azure app services and database resources
Configuring Azure SQL Server
Publishing an application with Visual Studio Code
Understanding the Docker principles and how to package the application in a container
Understanding what a container is
Understanding Docker fundamentals
Packing the UrlShortener application
Generating a container image
Running a Docker container
Understanding the DevOps approach with CI/CD
CI
CD
Automating with GitHub Actions
Summary
11
Cloud-Native Development with ASP.NET Core 9
Technical requirements
Creating a cloud-native mindset
Understanding the service layers in a cloud environment
Cloud-native development best practices
Going beyond code development
Working with cloud-native tools
Getting to know CNCF
Working with CNCF
The twelve-factor app principles
Code base
Dependencies
Config
Backing services
Build, release, run
Processes
Port binding
Concurrency
Disposability
Dev/prod parity
Logs
Admin process
The importance of the twelve-factor app methodology
Understanding cloud architecture principles
Working with modern design architecture
Event-driven architectures
Understanding microservices
Considering deployment strategies
Summary
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share Your Thoughts
Download a free PDF copy of this book