Over 10 mio. titler Fri fragt ved køb over 499,- Hurtig levering Forlænget returret til 31/01/25

C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals - Eighth Edition

Bog
  • Format
  • Bog, paperback
  • Engelsk
  • 826 sider

Beskrivelse

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 FeaturesExplore the latest additions to C# 12, the .NET 8 class libraries, and Entity Framework Core 8Create professional websites and services with ASP.NET Core 8 and BlazorBuild your confidence with step-by-step code examples and tips for best practicesBook 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 learnDiscover C# 12's new features, including aliasing any type and primary constructorsTry out the native AOT publish capability for ASP.NET Core 8 Minimal APIs web servicesBuild rich web experiences using Blazor Full Stack, Razor Pages, and other ASP.NET Core featuresIntegrate and update databases in your apps using Entity Framework Core modelsQuery and manipulate data using LINQBuild and consume powerful services using Web API and Minimal APIWho 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.

Table of ContentsHello, C#! Welcome, .NET!Speaking C#Controlling Flow, Converting Types, and Handling ExceptionsWriting, Debugging, and Testing FunctionsBuilding Your Own Types with Object-Oriented ProgrammingImplementing Interfaces and Inheriting ClassesPackaging and Distributing .NET TypesWorking with Common .NET TypesWorking with Files, Streams, and SerializationWorking with Data Using Entity Framework CoreQuerying and Manipulating Data Using LINQIntroducing Web Development Using ASP.NET CoreBuilding Websites Using ASP.NET Core Razor PagesBuilding and Consuming Web ServicesBuilding User Interfaces Using Blazor

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal826
  • Udgivelsesdato14-11-2023
  • ISBN139781837635870
  • Forlag Packt Publishing
  • FormatPaperback
  • Udgave8. Auflage
Størrelse og vægt
  • Vægt1514 g
  • Dybde4,4 cm
  • coffee cup img
    10 cm
    book img
    19,1 cm
    23,5 cm

    Findes i disse kategorier...

    Machine Name: SAXO083