Book Image

Adopting .NET 5

By : Hammad Arif, Habib Qureshi
Book Image

Adopting .NET 5

By: Hammad Arif, Habib Qureshi

Overview of this book

.NET 5 is the unification of all .NET technologies in a single framework that can run on all platforms and provide a consistent experience to developers, regardless of the device, operating system (OS), or cloud platform they choose. By updating to .NET 5, you can build software that can quickly adapt to the rapidly changing demands of modern consumers and stay up to date on the latest technology trends in .NET. This book provides a comprehensive overview of all the technologies that will form the future landscape of .NET using practical examples based on real-world scenarios, along with best practices to help you migrate from legacy platforms. You’ll start by learning about Microsoft’s vision and rationale for the unification of the platforms. Then, you’ll cover all the new language enhancements in C# 9. As you advance, you’ll find out how you can align yourself with modern technology trends, focusing on everything from microservices to orchestrated containerized deployments. Finally, you’ll learn how to effectively integrate machine learning in .NET code. By the end of this .NET book, you’ll have gained a thorough understanding of the .NET 5 platform, together with a readiness to adapt to future .NET release cycles, and you’ll be able to make architectural decisions about porting legacy systems and code bases to a newer platform.
Table of Contents (13 chapters)
1
Section 1: Features and Capabilities
4
Section 2: Design and Architecture
7
Section 3: Migration
10
Section 4: Bonus

Preface

.NET is a hugely successful framework with 20 years of legacy behind it. There are millions of developers using it to build all kinds of applications and solutions. .NET 5 is not just a mere iteration on previous versions; it also signifies the future of .NET technology, which is meant to be run on all platforms and devices with consistent capabilities and language features. .NET 5 unifies the battle-tested reliability and adaptability of .NET Framework with the open source, cross-platform, face-paced, and cloud-first philosophy of .NET Core, answering the ever-evolving needs of the modern application development landscape.

This book provides detailed coverage of all the new .NET 5 features using practical exercises for the reader to understand the tools and technologies that form the .NET 5 tech stack. It provides guidance on when and where to use the .NET 5 features and covers the best practices for architecting, developing, and deploying the applications to the cloud.

A section of the book has been dedicated to transforming the legacy applications to the latest .NET 5 platform. It discusses the scenarios in which the migration does and doesn't make sense for applications that have been built on previous .NET runtimes. The migration guide is written from both a code transformation and an architectural transformation perspective, so you'll learn about upgrading your legacy monolith applications to the cloud and microservices with minimal disruption.

While we couldn't possibly cover machine learning development in full detail in an introductory book, a bonus chapter has been included to enable .NET developers to incorporate intelligent machine learning services in their applications using the ML.NET library. By the end of this book, you will have a foundational understanding of building new and transforming existing applications using .NET 5's features and capabilities.