C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals - Mark J. Price

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

(Autor)

Buch | Softcover
828 Seiten
2023 | 8th Revised edition
Packt Publishing Limited (Verlag)
978-1-83763-587-0 (ISBN)
47,35 inkl. MwSt
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.

Purchase of the print or Kindle book includes a free PDF eBook

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 DescriptionThis 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. 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.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 forThis 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.

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.

Mark J. Price is a Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with over 20 years' experience. Since 1993, he has passed more than 80 Microsoft programming exams and specializes in preparing others to pass them. Between 2001 and 2003, Mark was employed to write official courseware for Microsoft in Redmond, USA. His team wrote the first training courses for C# while it was still an early alpha version. While with Microsoft, he taught "train-the-trainer" classes to get other MCTs up-to-speed on C# and .NET. Mark holds a Computer Science BSc. Hons. Degree.

Table of Contents

Hello, C#! Welcome, .NET!
Speaking C#
Controlling Flow, Converting Types, and Handling Exceptions
Writing, Debugging, and Testing Functions
Building Your Own Types with Object-Oriented Programming
Implementing Interfaces and Inheriting Classes
Packaging and Distributing .NET Types
Working with Common .NET Types
Working with Files, Streams, and Serialization
Working with Data Using Entity Framework Core
Querying and Manipulating Data Using LINQ
Introducing Web Development Using ASP.NET Core
Building Websites Using ASP.NET Core Razor Pages
Building and Consuming Web Services
Building User Interfaces Using Blazor

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Objektorientierung
ISBN-10 1-83763-587-0 / 1837635870
ISBN-13 978-1-83763-587-0 / 9781837635870
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Entwicklung von GUIs für verschiedene Betriebssysteme

von Achim Lingott

Buch (2023)
Hanser, Carl (Verlag)
39,99
objektorientierte Entwicklung modularer Maschinen für die digitale …

von Thomas Schmertosch; Markus Krabbes; Christian Zinke-Wehlmann

Buch | Hardcover (2024)
Hanser (Verlag)
44,99
Grundlagen, Objektorientierung und fortgeschrittene Konzepte

von Christian Kohls; Alexander Dobrynin

Buch (2023)
Carl Hanser (Verlag)
39,99