Book description
Now in its tenth edition, this industry-leading guide to ASP.NET Core teaches everything you need to know to create easy, extensible, and cloud-native web applications.Inside Pro ASP.NET Core 7 you will learn how to:
- Configure the ASP.NET Core request pipeline to handle requests
- Create RESTful web services with MVC controllers
- Create HTML responses with Razor and Razor Pages
- Create richly interactive web applications with Blazor
- Access data using Entity Framework Core
- Authenticate requests using ASP.NET Core Identity
Pro ASP.NET Core is an acclaimed bestseller, and a bible for .NET web developers. Tens of thousands of readers have benefited from its comprehensive coverage of ASP.NET’s key tools and techniques. Now in its tenth edition, this revised guide has been fully updated to .NET 7, with extensive chapters on Razor Pages, Blazor, and the MVC framework. It maintains the style and structure of popular previous editions, with content updated for ASP.NET Core’s latest evolution.
About the Technology
ASP.NET Core 7 gives you everything you need to create awesome web apps in C#. This powerful framework handles anything you throw at it, from high-volume HTTP requests and RESTful web services, to efficient HTML and CSS round trips and WebAssembly for rich user interactions.
About the Book
Pro ASP.NET Core 7 is the industry-leading guide to building web applications with ASP.NET Core. In it, you’ll build a realistic online store as you learn about web services, authentication and authorization, container deployment, and more. Author Adam Freeman’s comfortable style mentors you through advanced topics like RESTful web services, Razor Pages for HTML responses, and data access with Entity Framework Core. Engaging hands-on examples show you how each tool works in action.
What's Inside
- The ASP.NET Core request pipeline
- RESTful web services with MVC controllers
- Rich interactive applications with Blazor
- Authenticate requests using ASP.NET Core Identity
About the Reader
For web developers experienced with C# and the basics of .NET.
About the Author
Adam Freeman has written over a dozen bestselling books on software development. He has held numerous senior IT positions, most recently as CTO and COO of a global bank. The technical editor on this book is Fabio Claudio Ferracchiati.
Quotes
A masterpiece that exceeds all expectations. My ultimate guide for the world of ASP.NET Core.
- Juan Luis Barreda, Senior Software Developer, Pearson.com
Go from scratch all the way into ASP.NET Core. The complete guide.
- Ernesto Cardenas Cangahuala, Microsoft MVP and Technical Architect at Interbank
This tome has been helping developers learn ASP.NET for years and this edition builds upon that success.
- Jeffrey Smith, IT Engineering Manager, TJ Maxx
A complete tour of the ASP.NET Core framework.
- David Paccoud, Solution Architect, Clario
If you’re looking for breadth and depth coverage of ASP.NET Core development, this is the book for you.
- Greg White, Software Development Manager, PicoBrew Inc.
A must have book for the .NET developer/engineer.
- Foster Haines, Consultant, Foster’s Website Company
The book for web development professionals.
- Renato Gentile, Solutions Architect, S3K S.p.A.
This book guides you as a beginner and will remain your for-ever reference book.
- Werner Nindl, Partner, Nova Advisory
An encyclopedic journey.
- Richard Young, IT Director, Design Synthesis, Inc
From tiny throw-away sites to large production websites, this book teaches all you need to know.
- Samuel Bosch, Team Lead, ILVO
By the end of this book you should be able to write code for real-world projects.
- Rich Yonts, Senior Software Engineer, Teradata
Table of contents
- Praises from reviewers of Pro ASP.NET Core 7, Tenth Edition
- Pro ASP.NET Core 7
- Copyright
- dedication
- contents
- front matter
-
1 Putting ASP.NET Core in context
- 1.1 Understanding the application frameworks
-
1.2 Understanding this book
- 1.2.1 What software do I need to follow the examples?
- 1.2.2 What platform do I need to follow the examples?
- 1.2.3 What if I have problems following the examples?
- 1.2.4 What if I find an error in the book?
- 1.2.5 What does this book cover?
- 1.2.6 What doesn’t this book cover?
- 1.2.7 How do I contact the author?
- 1.2.8 What if I really enjoyed this book?
- 1.2.9 What if this book has made me angry and I want to complain?
- Summary
- Part 1.
- 2 Getting started
- 3 Your first ASP.NET Core application
- 4 Using the development tools
-
5 Essential C# features
- 5.1 Preparing for this chapter
- 5.2 Understanding top-level statements
- 5.3 Understanding global using statements
- 5.4 Understanding null state analysis
- 5.5 Using string interpolation
- 5.6 Using object and collection initializers
- 5.7 Using target-typed new expressions
- 5.8 Pattern Matching
- 5.9 Using extension methods
- 5.10 Using lambda expressions
- 5.11 Using type inference and anonymous types
- 5.12 Using default implementations in interfaces
- 5.13 Using asynchronous methods
- 5.14 Getting names
- Summary
- 6 Testing ASP.NET Core applications
-
7 SportsStore: A real application
-
7.1 Creating the projects
- 7.1.1 Creating the unit test project
- 7.1.2 Opening the projects
- 7.1.3 Configuring the HTTP port
- 7.1.4 Creating the application project folders
- 7.1.5 Preparing the services and the request pipeline
- 7.1.6 Configuring the Razor view engine
- 7.1.7 Creating the controller and view
- 7.1.8 Starting the data model
- 7.1.9 Checking and running the application
- 7.2 Adding data to the application
- 7.3 Displaying a list of products
- 7.4 Adding pagination
- 7.5 Styling the content
- Summary
-
7.1 Creating the projects
- 8 SportsStore: Navigation and cart
- 9 SportsStore: Completing the cart
- 10 SportsStore: Administration
- 11 SportsStore: Security and deployment
- Part 2.
- 12 Understanding the ASP.NET Core platform
- 13 Using URL routing
- 14 Using dependency injection
-
15 Using the platform features, part 1
- 15.1 Preparing for this chapter
-
15.2 Using the configuration service
- 15.2.1 Understanding the environment configuration file
- 15.2.2 Accessing configuration settings
- 15.2.3 Using the configuration data in the Program.cs file
- 15.2.4 Using configuration data with the options pattern
- 15.2.5 Understanding the launch settings file
- 15.2.6 Using the environment service
- 15.2.7 Storing user secrets
- 15.3 Using the logging service
- 15.4 Using static content and client-side packages
- Summary
- 16 Using the platform features, part 2
- 17 Working with data
- Part 3.
- 18 Creating the example project
- 19 Creating RESTful web services
- 20 Advanced web service features
- 21 Using controllers with views, part I
- 22 Using controllers with views, part II
- 23 Using Razor Pages
- 24 Using view components
- 25 Using tag helpers
- 26 Using the built-in tag helpers
-
27 Using the forms tag helpers
- 27.1 Preparing for this chapter
- 27.2 Understanding the form handling pattern
- 27.3 Using tag helpers to improve HTML forms
- 27.4 Working with input elements
- 27.5 Working with label elements
- 27.6 Working with select and option elements
- 27.7 Working with text areas
- 27.8 Using the anti-forgery feature
- Summary
- 28 Using model binding
- 29 Using model validation
- 30 Using filters
- 31 Creating form applications
- Part 4.
- 32 Creating the example project
- 33 Using Blazor Server, part 1
- 34 Using Blazor Server, part 2
- 35 Advanced Blazor features
- 36 Blazor forms and data
- 37 Using Blazor WebAssembly
- 38 Using ASP.NET Core Identity
- 39 Applying ASP.NET Core Identity
- index
Product information
- Title: Pro ASP.NET Core 7, Tenth Edition
- Author(s):
- Release date: November 2023
- Publisher(s): Manning Publications
- ISBN: 9781633437821
You might also like
book
ASP.NET Core in Action, Third Edition
Build professional-grade full-stack web applications using C# and ASP.NET Core. In ASP.NET Core in Action, Third …
video
The Complete Guide to ASP.NET Core MVC (.NET 6)
This is a beginner to an advanced-level course on .NET 6 that will take you from …
book
Pro ASP.NET Core 6: Develop Cloud-Ready Web Applications Using MVC, Blazor, and Razor Pages
Professional developers will produce leaner applications for the ASP.NET Core platform using the guidance in this …
book
Architecting ASP.NET Core Applications - Third Edition
Backend design like you've never seen it before – a guide to building SOLID ASP.NET Core …