ASP. NET Core 9. 0 Essentials: Explore the . NET Core Web Stack, Including Razor Pages, Blazor, and MVC, to Build Cloud-Ready Apps 🔍
Albert S. Tanure packt publishing Pvt Ltd, 1, 2024
英语 [en] · EPUB · 12.1MB · 2024 · 📘 非小说类图书 · 🚀/lgli/lgrs · Save
描述
Explore the .NET Core web stack, includingMake the most of the ASP.NET Core platform to create robust, high-quality solutions using approaches adopted by leading companies
Key Features
• Create robust, web-based solutions optimized for continuous delivery using key cloud computing principles and practices
• Explore advanced concepts and techniques to create resilient and secure applications
• Adopt a cloud-native mindset to build applications leveraging Docker, CI/CD, and more
Book Description
Build cutting-edge web applications using ASP.NET Core 9 with this comprehensive guide from Microsoft MVP Albert Tanure, a seasoned .NET expert with over 20 years of experience as a cloud solutions architect. Albert brings unparalleled expertise in building modern web applications to ASP.NET Core 9.0 Essentials to help you kickstart your journey on the right foot. Starting with the platform’s fundamental concepts, you’ll work through practical exercises to develop web applications with powerful UI frameworks, deliver flexible and scalable solutions through an API approach, and explore advanced topics such as customizing request flows and implementing robust security measures. You’ll get to grips with cloud-native practices to prepare your applications for cloud environments. Whether you’re a beginner or an experienced developer, this book is your guide to building modern, secure, and adaptable web applications with ASP.NET Core. By the end of this book, you’ll be proficient in leveraging the advanced features of ASP.NET Core 9 to create cloud-ready web applications for diverse market segments.
Who is this book for?
ASP.NET Core 9.0 Essentials is for developers engaged in both backend and frontend solution development as well as software engineers who want to craft innovative web-based solutions using ASP.NET Core technology. To fully benefit from this book, you should be familiar with software development, object-oriented programming, and high-level languages such as C# and Java, and have some experience with HTML and CSS.
What you will learn
• Deliver UI solutions using client-side, server-side, and hybrid model approaches with Razor Pages, MVC, and Blazor
• Implement real-time solutions and manage data streaming using SignalR
• Connect applications to a data persistence model using Entity Framework and Dapper
• Apply logging and monitoring strategies to maintain control over your applications
• Understand how .NET Aspire enhances your experience of building .NET cloud-native apps
• Find out how to test and debug your code effectively Razor Pages, Blazor, and MVC, to build cloud-ready apps
备用文件名
lgrsnf/asp.net core 9.0 essentials_albert s. tanure.epub
备选标题
Blazor Web Development Cookbook: Tested Recipes for Advanced Single-Page Application Scenarios In . NET 9
备选标题
Minimal APIs in ASP. NET 9: Design, Implement, and Optimize Robust APIs in C# With . NET 9
备选作者
Pawel Bazyluk
备选作者
Nick Proud
备用出版商
Packt Publishing, Limited
备用版本
United Kingdom and Ireland, United Kingdom
备用版本
2025
备用描述
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
开源日期
2025-01-14
更多信息……
We strongly recommend that you support the author by buying or donating on their personal website, or borrowing in your local library.

🚀 快速下载

成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
如果您在本月捐款,您将获得双倍的快速下载次数。

🐢 低速下载

由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)

所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
  • 对于大文件,我们建议使用下载管理器以防止中断。
    推荐的下载管理器:JDownloader
  • 您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
    推荐的电子书阅读器:Anna的档案在线查看器ReadEraCalibre
  • 使用在线工具进行格式转换。
    推荐的转换工具:CloudConvertPrintFriendly
  • 您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
    推荐的工具:亚马逊的“发送到 Kindle”djazz 的“发送到 Kobo/Kindle”
  • 支持作者和图书馆
    ✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
    📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。