Real-World Web Development with .NET 9

by Mark J. Price

Programming

Book Details

Book Title

Real-World Web Development with .NET 9

Author

Mark J. Price

Publisher

Packt Publishing

Publication Date

2024

ISBN

9781835880388

Number of Pages

579

Language

English

Format

PDF

File Size

5.6MB

Subject

Programming Languages

Table of Contents

  • Cover
  • Copyright
  • Contributors
  • Table of Contents
  • Preface
  • Chapter 1: Introducing Web Development Using Controllers
  • Understanding ASP.NET Core
  • Structuring projects and managing packages
  • Making good use of the GitHub repository for this book
  • Building an entity model for use in the rest of the book
  • Practicing and exploring
  • Summary
  • Chapter 2: Building Websites Using ASP.NET Core MVC
  • Setting up an ASP.NET Core MVC website
  • Exploring an ASP.NET Core MVC website
  • Prototyping with Bootstrap
  • Customizing an ASP.NET Core MVC website
  • Practicing and exploring
  • Summary
  • Chapter 3: Model Binding, Validation, and Data Using EF Core
  • Model binding and validation
  • Modifying data using EF Core and ASP.NET Core
  • Improving scalability using asynchronous tasks
  • Practicing and exploring
  • Summary
  • Chapter 4: Building and Localizing Web User Interfaces
  • Defining web user interfaces with Razor Views
  • Defining web user interfaces with Tag Helpers
  • Localizing web user interfaces with ASP.NET Core
  • Practicing and exploring
  • Summary
  • Chapter 5: Authentication and Authorization
  • Introducing authentication and authorization
  • Securing controller action methods using filters
  • Practicing and exploring
  • Summary
  • Chapter 6: Performance Optimization Using Caching
  • Introducing caching with ASP.NET Core
  • Output caching
  • Object caching
  • More techniques to improve scalability
  • Practicing and exploring
  • Summary
  • Chapter 7: Web User Interface Testing Using Playwright
  • Introducing web user interface testing
  • Testing web user interfaces using Playwright
  • Interacting with a web user interface
  • Generating tests with the Playwright Inspector
  • Practicing and exploring
  • Summary
  • Chapter 8: Configuring and Containerizing ASP.NET Core Projects
  • Configuring dependency services
  • Configuring the HTTP pipeline
  • Configuring options
  • Containerizing ASP.NET Core projects
  • Practicing and exploring
  • Summary
  • Chapter 9: Building Web Services Using ASP.NET Core Web API
  • Introducing web services
  • Creating a web service for the Northwind database
  • Documenting and trying out web services
  • Caching and logging
  • Consuming web services using HTTP clients
  • Relaxing the same origin security policy using CORS
  • Understanding identity services
  • Practicing and exploring
  • Summary
  • Chapter 10: Building Web Services Using ASP.NET Core OData
  • Understanding OData
  • Building a web service that supports OData
  • Exploring OData services using HTTP/REST tools
  • Implementing versions and data modifications
  • Building clients for OData services
  • Practicing and exploring
  • Summary
  • Chapter 11: Building Web Services Using FastEndpoints
  • Introducing FastEndpoints
  • Implementing FastEndpoints
  • Configuring FastEndpoints
  • Practicing and exploring
  • Summary
  • Chapter 12: Web Service Integration Testing
  • Basics of integration testing
  • Integration testing with data stores
  • Testing web services using xUnit
  • Mocking in tests
  • Testing services using dev tunnels
  • Practicing and exploring
  • Summary
  • Chapter 13: Web Content Management Using Umbraco
  • Understanding the benefits of a CMS
  • Introducing Umbraco CMS
  • Defining document types
  • Working with media
  • Practicing and exploring
  • Summary
  • Chapter 14: Customizing and Extending Umbraco
  • Techniques for customizing and extending Umbraco
  • Customizing Umbraco behavior using settings
  • Working with views and Razor syntax
  • The UmbracoHelper class
  • Practicing and exploring
  • Summary
  • Epilogue
  • Index