7

Packaging and Distributing .NET Types

This chapter is about how C# keywords are related to .NET types, and about the relationship between namespaces and assemblies. You’ll also become familiar with how to package and publish your .NET apps and libraries for cross-platform use, how to use legacy .NET Framework libraries in .NET libraries, and the possibility of porting legacy .NET Framework code bases to modern .NET.

This chapter covers the following topics:

  • The road to .NET 7
  • Understanding .NET components
  • Publishing your applications for deployment
  • Decompiling .NET assemblies
  • Packaging your libraries for NuGet distribution
  • Porting from .NET Framework to modern .NET
  • Working with preview features

The road to .NET 7

This part of the book is ...

Get C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals - Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.