.NET docs: What's new for August 2024
Welcome to what's new in the .NET docs for August 2024. This article lists some of the major changes to docs during this period.
.NET breaking changes
New articles
- .NET 9 container images no longer install zlib
- BigInteger maximum length
- Complex.ToString format changed to
<a; b>
- Deprecated desktop Windows/macOS/Linux MonoVM runtime packages
- HostBuilder enables ValidateOnBuild/ValidateScopes in development environment
- In-box BinaryFormatter implementation removed and always throws
- SafeEvpPKeyHandle.DuplicateHandle up-refs the handle
- Some X509Certificate2 and X509Certificate constructors are obsolete
.NET fundamentals
New articles
- .NET Runtime metrics
- .NET SDK workload sets
- .NET uninstall tool overview
- BinaryFormatter compatibility package
- BinaryFormatter functionality reference
- BinaryFormatter migration guide
- Choose a serializer
- dotnet workload config
- dotnet-core-uninstall dry-run
- dotnet-core-uninstall list
- dotnet-core-uninstall remove
- Dynamic adaptation to application sizes (DATAS)
- Example: Use OpenTelemetry with Azure Monitor and Application Insights
- Example: Use OpenTelemetry with OTLP and the standalone Aspire Dashboard
- Example: Use OpenTelemetry with Prometheus, Grafana, and Jaeger
- IL2071: 'target generic parameter' generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in 'target method or type'. The parameter 'source parameter' of method 'source method' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to
- IL2076: 'target generic parameter' generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in 'target method or type'. The return value of method 'source method' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to
- IL2081: 'target generic parameter' generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in 'target method or type'. The field 'source field' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to
- IL2122: Type 'type' is not assembly qualified. Type name strings used for dynamically accessing a type should be assembly qualified
- Microsoft.Testing.Platform configuration settings
- Migrate to DataContractSerializer (XML)
- Migrate to MessagePack (binary)
- Migrate to protobuf-net (binary)
- Migrate to System.Text.Json (JSON)
- MSTest suppression rules
- MSTEST0018: DynamicData should be valid
- MSTEST0027: Non-nullable reference not initialized suppressor
- MSTEST0028: Non-nullable reference not initialized suppressor
- MSTEST0033: Non-nullable reference not initialized suppressor
- MSTEST0034: Use
ClassCleanupBehavior.EndOfClass
with the[ClassCleanup]
. - MSTEST0035:
[DeploymentItem]
can be specified only on test class or test method. - MSTEST0036: Do not use shadowing inside test class.
- Output extensions
- Read BinaryFormatter (NRBF) payloads
- SYSLIB0056: Assembly.LoadFrom that takes an AssemblyHashAlgorithm is obsolete
- SYSLIB0057: X509Certificate2 and X509Certificate constructors for binary and file content are obsolete
- Windows Forms and Windows Presentation Foundation BinaryFormatter OLE guidance
- Windows Forms migration guide for BinaryFormatter
- Windows Presentation Foundation(WPF) migration guide for BinaryFormatter
Updated articles
- What's new in .NET libraries for .NET 9 - Update What's new in .NET 9 for Preview 7
- What's new in the .NET 9 runtime - Update What's new in .NET 9 for Preview 7
C# language
New articles
- Errors and warnings related to
partial
type andpartial
member declarations - Partial member (C# Reference)
Azure SDK for .NET
New articles
Updated articles
- Additional methods to authenticate to Azure resources from .NET apps - Add Interactive brokered authentication and wam content
ML.NET
Updated articles
- Tutorial: Automated visual inspection using transfer learning with the ML.NET Image Classification API - Update image classification tutorial
.NET Framework
New articles
Updated articles
- .NET Framework data providers - SFI - ROPC: Clean up adonet files
- <system.serviceModel> of workflow - SFI - ROPC: First group of updates
- Caching support for WCF web HTTP services - SFI: ROPC - Fix up WCF docs
- Code access security and ADO.NET - SFI - ROPC: Clean up adonet files
- Code generation in LINQ to SQL - SFI - ROPC: Clean up adonet/sql files
- Configuring Discovery in a Configuration File - Code fence entire element (WCF docs)
- Configuring Services Using Configuration Files - Code fence entire element (WCF docs)
- Connection string syntax - SFI - ROPC: Clean up adonet files
- Connection strings and configuration files - SFI - ROPC: Clean up adonet files
- Create a DataTable from a DataView - SFI - ROPC: Clean up adonet files
- Data retrieval and CUD operations in n-tier applications (LINQ to SQL) - SFI - ROPC: Clean up adonet/sql files
- Date and time data - SFI - ROPC: Clean up adonet/sql files
- Enable multiple active result sets - SFI - ROPC: Clean up adonet/sql files
- GetSchema and Schema Collections - SFI - ROPC: Clean up adonet files
- How to: Create a Federated Client - Code fence entire element (WCF docs)
- How to: Deserialize instance data properties - SFI - ROPC: First group of updates
- How to: Use Transport Security and Message Credentials - Code fence entire element (WCF docs)
- Insert an image from a file - SFI - ROPC: Clean up adonet/sql files
- Integrating with COM+ Applications Overview - Code fence entire element (WCF docs)
- Large UDTs - SFI - ROPC: Clean up adonet/sql files
- Manipulate data - SFI - ROPC: Clean up adonet/sql files
- Message Security with a Certificate Client - Code fence entire element (WCF docs)
- Message Security with Mutual Certificates - SFI: ROPC - Fix up WCF docs
- Obtaining a DbProviderFactory - SFI - ROPC: Clean up adonet files
- Oracle Sequences - SFI - ROPC: Clean up adonet files
- OracleTypes - SFI - ROPC: Clean up adonet files
- Partial Trust Feature Compatibility - Code fence entire element (WCF docs)
- Pause and Resume a workflow - SFI - ROPC: First group of updates
- Perform batch operations using DataAdapters - SFI - ROPC: Clean up adonet files
- Polling in console applications - SFI - ROPC: Clean up adonet/sql files
- Provider statistics for SQL Server - SFI - ROPC: Clean up adonet/sql files
- Required arguments and overload groups - SFI - ROPC: First group of updates
- Schema restrictions - SFI - ROPC: Clean up adonet files
- Security Behaviors in WCF - SFI: ROPC - Fix up WCF docs
- SecurityBindingElement Authentication Modes - Code fence entire element (WCF docs)
- Specify XML values as parameters - SFI - ROPC: Clean up adonet/sql files
- Specifying a Custom Crypto Algorithm - Code fence entire element (WCF docs)
- SQL Server Connection Pooling (ADO.NET) - SFI - ROPC: Clean up adonet files
- SQL Server Express user instances - SFI - ROPC: Clean up adonet/sql files
- SqlClient streaming support - SFI - ROPC: Clean up adonet files
- SqlClient Support for high availability and disaster recovery - SFI - ROPC: Clean up adonet/sql files
- Standard Endpoints - Code fence entire element (WCF docs)
- Synchronous and Asynchronous Operations - Code fence entire element (WCF docs)
- System.Transactions integration with SQL Server - SFI - ROPC: Clean up adonet files
- Tracking Events Reference - SFI - ROPC: First group of updates
- Tracking Participants - SFI - ROPC: First group of updates
- Using the Message Class - Code fence entire element (WCF docs)
- Windows applications using callbacks - SFI - ROPC: Clean up adonet/sql files
Community contributors
The following people contributed to the .NET docs during this period. Thank you! Learn how to contribute by following the links under "Get involved" in the what's new landing page.
- BartoszKlonowski - Bartosz Klonowski
- samwherever - Sam Allen
- Rageking8 -
- udidahan - Udi Dahan
- 8chan-co -
- alkampfergit - Gian Maria
- baonguyen2310 - Bao Nguyen Chi
- bigboybamo - Olabamiji Oyetubo
- boggye -
- ChinoUkaegbu -
- daverayment - Dave Rayment
- dkroderos - David King Roderos
- GeRRy1337 -
- jbrekle - Jonas Brekle
- Progman2002 -
- rmunn - Robin Munn
- samibinsami - Saad Bin Sami
- warrenZY - Xiao.ZY
- xtqqczze -
- YoshiRulz - James Groom
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.