C# 12 and .NET 8 modern cross-platform development fundamentals : start building websites and services with ASP.NET Core 8, Blazor, and EF Core 8

An accessible guide for beginner-to-intermediate programmers to the concepts, real-world applications, and latest features of C# 12 and .NET 8, with hands-on exercises using Visual Studio 2022 and Visual Studio Code. Key Features Explore the latest additions to C# 12, the .NET 8 class libraries, and...

Full description

Bibliographic Details
Main Author: Price, Mark J.
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing Ltd. 2023
Edition:Eighth edition
Series:Expert insight
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 07653nmm a2200529 u 4500
001 EB002187591
003 EBX01000000000000001325076
005 00000000000000.0
007 cr|||||||||||||||||||||
008 231204 ||| eng
020 |a 9781837631988 
050 4 |a QA76.73.C154 
100 1 |a Price, Mark J. 
245 0 0 |a C# 12 and .NET 8  |b modern cross-platform development fundamentals : start building websites and services with ASP.NET Core 8, Blazor, and EF Core 8  |c Mark J. Price 
250 |a Eighth edition 
260 |a Birmingham, UK  |b Packt Publishing Ltd.  |c 2023 
300 |a 826 pages  |b illustrations 
505 0 |a Includes bibliographical references and index 
505 0 |a Logging during development and runtime -- Unit testing -- Throwing and catching exceptions in functions -- Practicing and exploring -- Summary -- 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 -- Practicing and exploring -- Summary -- Chapter 6: Implementing Interfaces and Inheriting Classes -- Setting up a class library and console application 
505 0 |a Cover -- Copyright -- Contributors -- 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 2022 -- Building console apps using Visual Studio 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 
505 0 |a Static methods and overloading operators -- Making types safely reusable with generics -- Raising and handling events -- Implementing interfaces -- Managing memory with reference and value types -- Working with null values -- Inheriting from classes -- Casting within inheritance hierarchies -- Inheriting and extending .NET types -- Summarizing custom type choices -- Practicing and exploring -- Summary -- Chapter 7: Packaging and Distributing .NET Types -- The road to .NET 8 -- Understanding .NET components -- Publishing your code for deployment -- Native ahead-of-time compilation 
505 0 |a Decompiling .NET assemblies -- Packaging your libraries for NuGet distribution -- Working with preview features -- Practicing and exploring -- Summary -- 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 -- Practicing and exploring -- Summary -- Chapter 9: Working with Files, Streams, and Serialization -- Managing the filesystem -- Reading and writing with streams -- Encoding and decoding text -- Serializing object graphs 
505 0 |a Exploring more about console apps -- Understanding async and await -- Practicing and exploring -- Summary -- 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 -- Practicing and exploring -- Summary -- Chapter 4: Writing, Debugging, and Testing Functions -- Writing functions -- Debugging during development -- Hot reloading during development 
653 |a Logiciels d'application / Développement 
653 |a Microsoft .NET Framework / http://id.loc.gov/authorities/names/n2017043838 
653 |a C (Computer program language) / fast 
653 |a Application software / Development / fast 
653 |a C (Langage de programmation) 
653 |a Microsoft Visual studio / fast 
653 |a Microsoft .NET Framework / fast 
653 |a Programmation Internet 
653 |a Internet programming / http://id.loc.gov/authorities/subjects/sh96009904 
653 |a Internet programming / fast 
653 |a Microsoft Visual studio / http://id.loc.gov/authorities/names/n98043868 
653 |a C (Computer program language) / http://id.loc.gov/authorities/subjects/sh85018532 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
490 0 |a Expert insight 
776 |z 9781837635870 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781837635870/?ar  |x Verlag  |3 Volltext 
082 0 |a 331 
082 0 |a 005.13/3 
520 |a An accessible guide for beginner-to-intermediate programmers to the concepts, real-world applications, and latest features of C# 12 and .NET 8, with hands-on exercises using Visual Studio 2022 and Visual Studio Code. Key Features Explore the latest additions to C# 12, the .NET 8 class libraries, and Entity Framework Core 8 Create professional websites and services with ASP.NET Core 8 and Blazor Build your confidence with step-by-step code examples and tips for best practices Book Description This latest edition of the bestselling Packt series will give you a solid foundation to start building projects using modern C# and .NET with confidence. You'll learn about object-oriented programming; writing, testing, and debugging functions; and implementing interfaces. You'll take on .NET APIs for managing and querying data, working with the fi lesystem, and serialization.  
520 |a If you already have some C# and .NET skills and want to focus on developing practical apps, you can pick up Mark's other .NET book, Apps and Services with .NET 8, instead 
520 |a As you progress, you'll explore examples of cross-platform projects you can build and deploy, such as websites and services using ASP.NET Core. This latest edition integrates .NET 8 enhancements into its examples: type aliasing and primary constructors for concise and expressive code. You'll handle errors robustly through the new built-in guard clauses and explore a simplified implementation of caching in ASP.NET Core 8. If that's not enough, you'll also see how native ahead-of-time (AOT) compiler publish lets web services reduce memory use and run faster. You'll work with the seamless new HTTP editor in Visual Studio 2022 to enhance the testing and debugging process. You'll even get introduced to Blazor Full Stack with its new unified hosting model for unparalleled web development flexibility.  
520 |a What you will learn Discover C# 12's new features, including aliasing any type and primary constructors Try out the native AOT publish capability for ASP.NET Core 8 Minimal APIs web services Build rich web experiences using Blazor Full Stack, Razor Pages, and other ASP.NET Core features Integrate and update databases in your apps using Entity Framework Core models Query and manipulate data using LINQ Build and consume powerful services using Web API and Minimal API Who this book is for This book is for beginners as well as intermediate-level C# and .NET programmers who have worked with C# in the past and want to catch up with the changes made in the last few years. Prior exposure to C# or .NET is not a prerequisite. A general understanding of programming will help you to work through the book more comfortably, though the content is suitable for those completely new to programming.