You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Respond to feedback for deserialization constructors (#21051)
* Fixes#20949. (#21052)
* Add f1-keyword for `class` used as generic type constraint (#21037)
* Add f1-keyword for `class` used as generic type constraint
* Add structconstraint
* Update CS0267 message and simplify example (#21047)
* Update CS0267 message and simplify example
* Update ms.date
* Added a link (#21058)
* Fixes#20958. (#21054)
* fix the source path for retired C# 7.x content (#21059)
The "whats-new" folder was missing.
* Removing redundant pipe character (#20931)
* Update single-file.md (#20925)
update ReadyToRun link now that we have the docs for it.
* Remove statement about TLS 1.3 for .NET Core 3.0 (#20922)
I think, TLS 1.3 won't be supported by .NET Core 3.0 since it's out of support and the implementation is coming with .NET 5, as stated in [Transport Layer Security (TLS) best practices with the .NET Framework](#4675 (comment)).
This info should be removed, so we have no misleading information out there... 😉
* SslStream/NegotiateStream breaking change (#20979)
* Add workload and app model to glossary (#21046)
Co-authored-by: Genevieve Warren <[email protected]>
* Breaking change for key-value pair serialization (#21050)
* Update .NET Standard overview for .NET 5 (#20955)
Co-authored-by: Genevieve Warren <[email protected]>
* Update get-started-vscode.md (#21072)
http to https after verifying link
Co-authored-by: Genevieve Warren <[email protected]>
Co-authored-by: Jon Senchyna <[email protected]>
Co-authored-by: Youssef Victor <[email protected]>
Co-authored-by: David Pine <[email protected]>
Co-authored-by: Bill Wagner <[email protected]>
Co-authored-by: William Whitwell Bailey <[email protected]>
Co-authored-by: Lakshan Fernando <[email protected]>
Co-authored-by: kapsiR <[email protected]>
Co-authored-by: Tom Dykstra <[email protected]>
Co-authored-by: icyfire0573 <[email protected]>
Copy file name to clipboardExpand all lines: docs/core/compatibility/3.1-5.0.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,7 @@ If you're migrating from version 3.1 of .NET Core, ASP.NET Core, or EF Core to v
205
205
206
206
## Core .NET libraries
207
207
208
+
-[FrameworkDescription's value is .NET instead of .NET Core](#frameworkdescriptions-value-is-net-instead-of-net-core)
208
209
-[Assembly-related API behavior changes for single-file publishing format](#assembly-related-api-behavior-changes-for-single-file-publishing-format)
209
210
-[Order of tags in Activity.Tags is reversed](#order-of-tags-in-activitytags-is-reversed)
210
211
-[Thread.Abort is obsolete](#threadabort-is-obsolete)
@@ -226,6 +227,10 @@ If you're migrating from version 3.1 of .NET Core, ASP.NET Core, or EF Core to v
226
227
-[CounterSet.CreateCounterSetInstance now throws InvalidOperationException if instance already exist](#countersetcreatecountersetinstance-now-throws-invalidoperationexception-if-instance-already-exists)
@@ -393,11 +408,16 @@ If you're migrating from version 3.1 of .NET Core, ASP.NET Core, or EF Core to v
393
408
394
409
## Serialization
395
410
411
+
-[PropertyNamingPolicy, PropertyNameCaseInsensitive, and Encoder options are honored when serializing and deserializing key-value pairs](#propertynamingpolicy-propertynamecaseinsensitive-and-encoder-options-are-honored-when-serializing-and-deserializing-key-value-pairs)
396
412
-[Non-public, parameterless constructors not used for deserialization](#non-public-parameterless-constructors-not-used-for-deserialization)
397
413
-[JsonSerializer.Serialize throws ArgumentNullException when type parameter is null](#jsonserializerserialize-throws-argumentnullexception-when-type-parameter-is-null)
-[BinaryFormatter.Deserialize rewraps some exceptions in SerializationException](#binaryformatterdeserialize-rewraps-some-exceptions-in-serializationexception)
Copy file name to clipboardExpand all lines: docs/core/compatibility/corefx.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ The following breaking changes are documented on this page:
11
11
12
12
| Breaking change | Version introduced |
13
13
| - | :-: |
14
+
|[FrameworkDescription's value is .NET instead of .NET Core](#frameworkdescriptions-value-is-net-instead-of-net-core)| 5.0 |
14
15
|[Assembly-related API behavior changes for single-file publishing format](#assembly-related-api-behavior-changes-for-single-file-publishing-format)| 5.0 |
15
16
|[Order of tags in Activity.Tags is reversed](#order-of-tags-in-activitytags-is-reversed)| 5.0 |
16
17
|[Parameter names changed in RC1](#parameter-names-changed-in-rc1)| 5.0 |
@@ -52,6 +53,10 @@ The following breaking changes are documented on this page:
Copy file name to clipboardExpand all lines: docs/core/compatibility/serialization.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,18 @@ The following breaking changes are documented on this page:
9
9
10
10
| Breaking change | Introduced version |
11
11
| - | - |
12
+
|[PropertyNamingPolicy, PropertyNameCaseInsensitive, and Encoder options are honored when serializing and deserializing key-value pairs](#propertynamingpolicy-propertynamecaseinsensitive-and-encoder-options-are-honored-when-serializing-and-deserializing-key-value-pairs)| 5.0 |
12
13
|[Non-public, parameterless constructors not used for deserialization](#non-public-parameterless-constructors-not-used-for-deserialization)| 5.0 |
13
14
|[JsonSerializer.Serialize throws ArgumentNullException when type parameter is null](#jsonserializerserialize-throws-argumentnullexception-when-type-parameter-is-null)| 5.0 |
|[BinaryFormatter.Deserialize rewraps some exceptions in SerializationException](#binaryformatterdeserialize-rewraps-some-exceptions-in-serializationexception)| 5.0 |
Copy file name to clipboardExpand all lines: docs/core/deploying/single-file.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.date: 08/28/2020
9
9
10
10
Bundling all application-dependent files into a single binary provides an application developer with the attractive option to deploy and distribute the application as a single file. This deployment model has been available since .NET Core 3.0 and has been enhanced in .NET 5.0. Previously in .NET Core 3.0, when a user runs your single-file app, .NET Core host first extracts all files to a temporary directory before running the application. .NET 5.0 improves this experience by directly running the code without the need to extract the files from the app.
11
11
12
-
Single File deployment is available for both the [framework-dependent deployment model](index.md#publish-framework-dependent) and [self-contained applications](index.md#publish-self-contained). The size of the single file in a self-contained application will be large since it will include the runtime and the framework libraries. The single file deployment option can be combined with [ReadyToRun](../tools/dotnet-publish.md) and [Trim (an experimental feature in .NET 5.0)](trim-self-contained.md) publish options.
12
+
Single File deployment is available for both the [framework-dependent deployment model](index.md#publish-framework-dependent) and [self-contained applications](index.md#publish-self-contained). The size of the single file in a self-contained application will be large since it will include the runtime and the framework libraries. The single file deployment option can be combined with [ReadyToRun](ready-to-run.md) and [Trim (an experimental feature in .NET 5.0)](trim-self-contained.md) publish options.
Copy file name to clipboardExpand all lines: docs/core/whats-new/dotnet-core-3-0.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -390,7 +390,7 @@ The GPIO packages include APIs for *GPIO*, *SPI*, *I2C*, and *PWM* devices. The
390
390
When available, .NET Core 3.0 uses **OpenSSL 1.1.1**, **OpenSSL 1.1.0**, or **OpenSSL 1.0.2** on a Linux system. When **OpenSSL 1.1.1** is available, both <xref:System.Net.Security.SslStream?displayProperty=nameWithType> and <xref:System.Net.Http.HttpClient?displayProperty=nameWithType> types will use **TLS 1.3** (assuming both the client and server support **TLS 1.3**).
391
391
392
392
> [!IMPORTANT]
393
-
> Windows and macOS do not yet support **TLS 1.3**. .NET Core 3.0 will support **TLS 1.3** on these operating systems when support becomes available.
393
+
> Windows and macOS do not yet support **TLS 1.3**.
394
394
395
395
The following C# 8.0 example demonstrates .NET Core 3.0 on Ubuntu 18.10 connecting to <https://www.cloudflare.com>:
The partial modifier can only appear immediately before 'class', 'struct', or 'interface'
14
-
15
-
The placement of the **partial** modifier was incorrect in the declaration of the class, struct or interface. To fix the error, reorder the modifiers. For more information, see [Partial Classes and Methods](../programming-guide/classes-and-structs/partial-classes-and-methods.md).
16
-
17
-
The following sample generates CS0267:
18
-
19
-
```csharp
20
-
// CS0267.cs
21
-
publicpartialclassMyClass
22
-
{
23
-
publicMyClass()
24
-
{
25
-
}
26
-
}
27
-
28
-
partialpublicclassMyClass// CS0267
29
-
// Try this line instead:
30
-
// public partial class MyClass
31
-
{
32
-
publicvoidFoo()
33
-
{
34
-
}
35
-
36
-
publicstaticvoidMain()
37
-
{
38
-
}
39
-
}
13
+
The partial modifier can only appear immediately before 'class', 'record', 'struct', 'interface', or a method return type.
14
+
15
+
The placement of the **partial** modifier was incorrect in the declaration of the class, record, struct, interface, or method. To fix the error, reorder the modifiers. For more information, see [Partial Classes and Methods](../programming-guide/classes-and-structs/partial-classes-and-methods.md).
0 commit comments