<span>Intermediate to Advance</span>
Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types
✍ Scribed by Roger Villela
- Publisher
- Apress
- Year
- 2020
- Tongue
- English
- Leaves
- 122
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Leverage .NET 5, Microsoft’s bold new cross-platform implementation, for developing your very own cross-platform custom data types and libraries for Windows, Linux, and macOS.
The book starts with the purpose and benefits of a custom cross-platform model of .NET data types and its architectural implementation in detail. Next, you will learn fundamental operations such as the equality and inequality operations in .NET 5, demonstrated with sample projects in C#. Implementation of comparison and sorting operations is discussed next followed by a discussion on cloning operations. Here you will learn details of overriding the clone virtual method and its implementation. Moving forward, you will understand custom formatting with specialized .NET data types in various functions and how to implement it. You will then go through .NET reference types along with developing a custom library for working with the software project. Finally, you will explore .NET 5 assemblies and modules followed by their APIs.
After reading Pro .NET 5 Custom Libraries, you will be able to work on fundamental operations for productivity and quality in your designs of .NET 5 custom data types.
What You Will Learn
- Work with .NET 5 assemblies
- Work with .NET 5 modules
- Understand the logical and physical organization of .NET 5 modules
- Implement custom .NET reference types from scratch
- Implement a custom .NET value type from scratch
✦ Table of Contents
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: .NET Platform
Acronyms
ECMA-335 and .NET
ECMA-335
.NET Platform
About the Common Type System
Fundamental Types and Hardware Platform
The Organization of Fundamental Data Types
CTS for Fundamental Types
Virtual Execution System
.NET Module
.NET Assemblies
Static Assemblies
Dynamic Assemblies
Working with Assemblies and Modules
Organization of Elements in a Module (Physical File)
Using the ILDASM Tool
Implementing the entrypoint Method
Chapter 2: Custom .NET Data Type
Management of Data Types
Working with System.Object, the Root of .NET Reference Types
System.ValueType, the Root of .NET Value Types
Methods
Working with System.Object.Equals()
Operators == and != for Equality and Inequality Behaviors
Working with System.Object.GetHashCode()
Chapter 3: .NET Methods: Implementation Details
Methods
About the Use of Operators
Operator Overloading: Programming Language Semantics and Syntaxes
Working with System.Object.GetType()
Constructors in a .NET Data Type
Chapter 4: .NET Special Members: Constructors in a Managed Environment
Acronyms
Special Members
About Constructors in a Managed Execution Environment
Default Constructor
Reflection APIs
Rules, Requirements, and MSIL
Metadata: MSIL Attributes in a Special Member
MSIL “Hide by Signature” Keyword (hidebysig)
MSIL “Special Name” Keyword (specialname)
MSIL “Runtime Special Name” Keyword (rtspecialname)
Summary
Chapter 5: Finalizer Method: The .NET Special Member
Special Members
Special Member Destructor
Special Member Finalizer Method (Destructor)
System.Object.Finalize() Method
Chapter 6: .NET Manifest and Versioning for Managed Libraries
Assemblies, Modules, Manifest, Versioning
Assembly
Manifest
Module
Versioning
Chapter 7: .NET Assemblies in a Managed Execution Environment
Managed Libraries
Data Types, Components, and Functionalities
Native Code and Managed Code
Index
📜 SIMILAR VOLUMES
The intent of this book is to teach .NET developers the skills necessary to create their own leading edge custom controls. The art of creating custom controls has never been truly explored in detail, often the examples provided are trivial and do not begin to explore the requirements need for a comm
<p><b>A guide to discovering the hidden behaviors of ASP.NET Core that can be customized to optimize your .NET 5 applications</b></p><h4>Key Features</h4><ul><li>Customize the default behavior of ASP.NET Core to get the most out of the framework</li><li>Enhance the app configuration, change the defa
A guide to discovering the hidden behaviors of ASP.NET Core that can be customized to optimize your .NET 5 applications ASP.NET Core is the most powerful Microsoft web framework. Although it's full of rich features, sometimes the default configurations can be a bottleneck and need to be customized
<p><p>Renowned author <strong>Matthew MacDonald</strong> combines careful treatment of the API with detailed user-interface design principles. Further, this book incorporates C# and the final beta of .NET 2.0. The result: thorough coverage of Windows Forms and GDI+ namespaces for .NET programmers! Y