My Account Log in

1 option

C# 13 and .NET 9 : modern cross-platform development fundamentals : start building websites and services with ASP.NET Core 9, Blazor, and EF Core 9 / Mark J. Price.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Price, Mark J., author.
Series:
Expert insight.
Expert insight
Language:
English
Subjects (All):
Microsoft Visual studio.
Microsoft .NET Framework.
C (Computer program language).
Application software--Development.
Application software.
Internet programming.
Physical Description:
1 online resource (828 pages) : illustrations
Edition:
Ninth edition.
Place of Publication:
Packt Publishing 2024
Summary:
This Packt bestseller continues to be the definitive guide to modern cross-platform development. The 9th edition of C# 13 and .NET 9 – Modern Cross-Platform Development Fundamentals has been updated to cover the latest features and improvements in .NET 9 and C# 13. You'll start by mastering object-oriented programming, learning how to write, test, and debug functions, and implementing interfaces. You'll then dive into .NET APIs for data management, filesystem operations, and serialization. This latest edition integrates .NET 9 enhancements into its examples: faster exceptions and new LINQ methods. New ASP.NET Core 9 features include optimized static assets, built-in OpenAPI document generation, and the HybridCache. Practical examples, such as building websites and services with ASP.NET Core, have been refreshed to utilize the latest .NET 9 features. The book also introduces Blazor, with its new unified hosting model for unparalleled code reusability. With these updates, you'll learn how to build robust applications and services efficiently and effectively. By the end of this book, you'll have the knowledge and confidence to create professional and high-performance web applications using the latest technologies in C# 13 and .NET 9.
Contents:
Cover
Contributors
Copyright
Table of Contents
Preface
Chapter 1: Hello, C#! Welcome, .NET!
Introducing this book and its contents
Setting up your development environment
Understanding .NET
Building console apps using Visual Studio
Building console apps using VS Code
Making good use of the GitHub repository for this book
Looking for help
Practicing and exploring
Summary
Chapter 2: Speaking C#
Introducing the C# language
Discovering your C# compiler version
Understanding C# grammar and vocabulary
Working with variables
Exploring more about console apps
Chapter 3: Controlling Flow, Converting Types, and Handling Exceptions
Operating on variables
Understanding selection statements
Understanding iteration statements
Storing multiple values in an array
Casting and converting between types
Handling exceptions
Checking for overflow
Chapter 4: Writing, Debugging, and Testing Functions
Writing functions
Debugging during development
Hot reloading during development
Unit testing
Throwing and catching exceptions in functions
Chapter 5: Building Your Own Types with Object-Oriented Programming
Talking about OOP
Building class libraries
Storing data in fields
Working with methods and tuples
Controlling access with properties and indexers
Pattern matching with objects
Working with record types
Chapter 6: Implementing Interfaces and Inheriting Classes
Setting up a class library and console application
Static methods and overloading operators
Making types safely reusable with generics
Raising and handling events
Implementing interfaces
Working with null values.
Inheriting from classes
Casting within inheritance hierarchies
Inheriting and extending .NET types
Summarizing custom type choices
Chapter 7: Packaging and Distributing .NET Types
The road to .NET 9
Understanding .NET components
Publishing your code for deployment
Native ahead-of-time compilation
Packaging your libraries for NuGet distribution
Working with preview features
Chapter 8: Working with Common .NET Types
Working with numbers
Working with text
Pattern matching with regular expressions
Storing multiple objects in collections
Working with spans, indexes, and ranges
Chapter 9: Working with Files, Streams, and Serialization
Managing a filesystem
Reading and writing with streams
Encoding and decoding text
Serializing object graphs
Chapter 10: Working with Data Using Entity Framework Core
Understanding modern databases
Setting up EF Core in a .NET project
Defining EF Core models
Querying EF Core models
Chapter 11: Querying and Manipulating Data Using LINQ
Writing LINQ expressions
LINQ in practice
Sorting and more
Using LINQ with EF Core
Joining, grouping, and lookups
Chapter 12: Introducing Modern Web Development Using .NET
Understanding ASP.NET Core
Structuring projects
Building an entity model for use in the rest of the book
Understanding web development
Chapter 13: Building Websites Using ASP.NET Core
Exploring ASP.NET Core
History of Blazor
Exploring Blazor static SSR
Using Entity Framework Core with ASP.NET Core
Summary.
Chapter 14: Building Interactive Web Components Using Blazor
Reviewing the Blazor Web App project template
Building components using Blazor
Defining forms using the EditForm component
Chapter 15: Building and Consuming Web Services
Building web services using ASP.NET Core
Creating a web service for the Northwind database
Documenting and trying out web services
Consuming web services using HTTP clients
Epilogue
Next steps on your C# and .NET learning journey
The tenth edition for .NET 10
Good luck!
Index.
Notes:
OCLC-licensed vendor bibliographic record.
Description based on publisher supplied metadata and other sources.
ISBN:
9781835881231
1835881238
9781835881224
183588122X
1-83588-123-8
1-83588-122-X
OCLC:
1472091314

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account