Empower yourself to create modern, cross-platform applications with "C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals" by Mark J. Price. This comprehensive 8th edition equips you with the latest advancements in C# and .NET, guiding you through building websites, services, and desktop applications that run seamlessly across different platforms.
Why choose this book?
Unlock your cross-platform development potential:
More than just a book, this is your development companion:
Invest in your development journey. Order your copy of "C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals" today and:
.NET 8 is a Long Term Support (LTS) release, which means Microsoft provides support for it until November 2026. In contrast, .NET 7 was and .NET 9 will be Standard Term Support (STS) releases, with a support period of just 18 months. If you’re currently working on projects targeting .NET 5, 6, or 7, I recommend upgrading to .NET 8 promptly. During this transition, you can also leverage the new features by learning from my book.
You can expect:
For this eighth edition, I updated the entire book for C# 12 and .NET 8, improving the content from the seventh edition. This ensures that concept introductions and code examples are refined, relevant, and easier to follow.
This book explores the most useful C# 12 features, such as primary constructors for classes and structs, default lambda expression parameter values, and new exception guard clauses. Notably, C# 12 allows aliasing any type, including tuples, streamlining object type declarations.
.NET's latest version brings numerous performance enhancements that require no code changes. Improved native ahead-of-time (AOT) support enhances startup speed and reduces memory usage. This AOT support now extends to more project types, including ASP.NET Core web APIs implemented using minimal APIs. The significant addition to ASP.NET Core 8 is Blazor Full Stack, unifying Blazor and replacing legacy WebAssembly and Server models, explored in a dedicated chapter.
|
|
|
---|---|---|
Native AOT for faster, low-memory minimal API web servicesIn an additional section available online, the author delves into the world of native AOT for minimal APIs. This provides you with an opportunity to explore how to make your web services start faster and use less memory using Minimal APIs, all in a convenient online format. For more information, refer to the end of Chapter 14, Building and Consuming Web Services. |
New tools, such as Visual Studio 2022 HTTP Editor for web service testingVisual Studio 2022 has a new tool, the HTTP Editor, that provides a convenient way to test web APIs. The editor provides a user interface to create and edit .http files, send HTTP requests, and display the responses. It conforms to similar standards as other tools like REST Client for Visual Studio Code. |
Introducing Blazor Full Stack, a unified hosting modelIn a dedicated chapter on building user interfaces with Blazor, the author demonstrates the flexibility to run C# and .NET code either on the server or directly within the browser. He introduces Blazor's unified hosting model, offering developers an expansive playground for their web applications. |