Skip to content

Commit d43414f

Browse files
authored
respond to uuf feedback (#41878)
1 parent b1f869a commit d43414f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/core/compatibility/core-libraries/6.0/hosting-exception-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In previous versions, when a <xref:Microsoft.Extensions.Hosting.BackgroundServic
99

1010
## Change description
1111

12-
In previous .NET versions, when an exception is thrown from a <xref:Microsoft.Extensions.Hosting.BackgroundService.ExecuteAsync(System.Threading.CancellationToken)?displayProperty=nameWithType> override, the host continues to run, and no message is logged.
12+
In previous .NET versions, when an exception is thrown from a <xref:Microsoft.Extensions.Hosting.BackgroundService.ExecuteAsync(System.Threading.CancellationToken)?displayProperty=nameWithType> override, the exception is lost and the service appears unresponsive. The host continues to run, and no message is logged.
1313

1414
Starting in .NET 6, when an exception is thrown from a <xref:Microsoft.Extensions.Hosting.BackgroundService.ExecuteAsync(System.Threading.CancellationToken)?displayProperty=nameWithType> override, the exception is logged to the current <xref:Microsoft.Extensions.Logging.ILogger>. By default, the host is stopped when an unhandled exception is encountered.
1515

docs/core/porting/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
title: Port from .NET Framework to .NET 7
33
description: Understand the porting process and discover tools you might find helpful when porting a .NET Framework project to .NET 7.
44
author: adegeo
5-
ms.date: 02/28/2023
6-
ms.custom: devdivchpfy22
5+
ms.date: 07/23/2024
6+
ms.custom: devdivchpfy22, updateeachrelease
77
no-loc: ["package.config", PackageReference]
88
---
99
# Overview of porting from .NET Framework to .NET
1010

11-
This article provides an overview of what you should consider when porting your code from .NET Framework to .NET (formerly named .NET Core). Porting to .NET from .NET Framework for many projects is relatively straightforward. The complexity of your projects dictates how much work you'll do after the initial migration of the project files.
11+
This article provides an overview of what you should consider when porting your code from .NET Framework to .NET (formerly named .NET Core). Porting to .NET from .NET Framework is relatively straightforward for many projects. The complexity of your projects dictates how much work you'll need to do after the initial migration of the project files.
1212

1313
Projects where the app model is available in .NET, such as libraries, console apps, and desktop apps, usually require little change. Projects that require a new app model, such as moving to [ASP.NET Core from ASP.NET](/aspnet/core/migration/proper-to-2x/), require more work. Many patterns from the old app model have equivalents that can be used during the conversion.
1414

@@ -161,9 +161,9 @@ When porting your application to .NET, consider the following suggestions in ord
161161

162162
✔️ DO retarget your .NET Framework project to at least .NET Framework 4.7.2. This ensures the availability of the latest API alternatives for cases where .NET Standard doesn't support existing APIs.
163163

164-
✔️ CONSIDER targeting .NET 6, which is a long-term support (LTS) release.
164+
✔️ CONSIDER targeting .NET 8, which is a long-term support (LTS) release.
165165

166-
✔️ DO target .NET 6+ for **Windows Forms and WPF** projects. .NET 6 contains many improvements for Desktop apps.
166+
✔️ DO target .NET 6+ for **Windows Forms and WPF** projects. .NET 6 and later versions contain many improvements for Desktop apps.
167167

168168
✔️ CONSIDER targeting .NET Standard 2.0 if you're migrating a library that might also be used with .NET Framework projects. You can also multitarget your library, targeting both .NET Framework and .NET Standard.
169169

docs/standard/serialization/system-text-json/snippets/how-to-contd/csharp/HttpClientExtensionMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ public static async Task Main()
3939
//Id: 1
4040
//Name: Tyler King
4141
//Username: Tyler
42-
//Email: Tyler @contoso.com
42+
4343
//Success - Created

docs/standard/serialization/system-text-json/snippets/how-to-contd/vb/HttpClientExtensionMethods.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ End Namespace
4040
'Id: 1
4141
'Name: Tyler King
4242
'Username: Tyler
43-
'Email: Tyler @contoso.com
43+
4444
'Success - Created

0 commit comments

Comments
 (0)