Unleash the power of C# 12 and .NET 8 to create cutting-edge applications that work seamlessly across platforms. This comprehensive 8th edition of C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals by Mark J. Price equips you with the skills and knowledge to build dynamic web applications, services, and more, for any device, anywhere.
Here's what sets this book apart:
Whether you're a beginner programmer, an experienced developer seeking to upgrade your skills, or anyone looking to build modern and versatile applications, this book is for you.
Here's why you'll love this book:
Don't miss out on this opportunity to master the latest advancements in C# and .NET development. Get your copy of C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals today and embark on your path to becoming a well-rounded cross-platform developer!
.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. |
“Your go-to resource for mastering new language features through real-world examples and unlocking the full potential of technologies like keyed services, collection expressions, frozen collections, and primary constructors”
Pavle Davitkovic, Software Developer at Ingsoftware
“If you're a new .NET developer or looking for a refresher, I couldn't recommend this book enough.”
Milan Jovanovic, Microsoft MVP
“Whether you're just starting out or looking to level up your skills, 'C# 12 and .NET 8 Modern Cross-Platform Development Fundamentals' is your essential guide to mastering the latest advancements in C# and .NET, making it a must-read for both beginners and experienced developers alike”
Stefan Dokic, Top Software Development Voice, Senior Developer at EXLRT
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.