Skip to content

Commit 811a2d9

Browse files
jamesmontemagnojongallowayrichlandermaumarKathleenDollard
authored
.NET 10 Preview 1 - Release Notes (#9708)
* Add .NET 10 P1 release note base files * add get started * add base binary file * revert links for build * fix links * update last link * Apply suggestions from code review Co-authored-by: Rich Lander <[email protected]> * Fix linter errors * add languages * add ef core 10 documentation * add more efcore release notes * fix lint issue in ef docs * update efcore * Preview 1 F# release notes (#9737) * Initial F# entry with links-needs cleanup * Remove template comments from F# release notes * Apply suggestions from code review Thanks! All these changes are great. Co-authored-by: Tomas Grosup <[email protected]> * a bit of consistency here to jump down layers * Fix typo in F# release notes --------- Co-authored-by: Tomas Grosup <[email protected]> Co-authored-by: James Montemagno <[email protected]> * Update release-notes/10.0/get-started.md Co-authored-by: Jon Galloway <[email protected]> * Update release-notes/10.0/preview/preview1/10.0.0-preview.1.md Co-authored-by: Jon Galloway <[email protected]> * update wpf * C# and VB release notes for Preview 1 (#9739) * First draft of C# and VB release notes * Apply suggestions from code review Co-authored-by: Martin Costello <[email protected]> * Update release-notes/10.0/preview/preview1/visualbasic.md Co-authored-by: Kathleen Dollard <[email protected]> * Add additional features My first draft had missed a few features. * Apply suggestions from code review Co-authored-by: Kathleen Dollard <[email protected]> * Update release-notes/10.0/preview/preview1/csharp.md --------- Co-authored-by: Martin Costello <[email protected]> Co-authored-by: James Montemagno <[email protected]> Co-authored-by: Kathleen Dollard <[email protected]> * .NET 10 Preview 1 - WinForms Release Notes (#9722) * First draft First draft of release nites * Added AI message I did use AI to translate to markdown from docx formats. * Update release-notes/10.0/preview/preview1/winforms.md Co-authored-by: Loni Tra <[email protected]> * Applying feedback Applying the latest feedback and correcting a couple mistakes. * Applying final feedback Adding a few tweaks based on Tanya's feedback. * Best Practices * Final round of feedback * Update release-notes/10.0/preview/preview1/winforms.md * a bit of cleanup * Update winforms.md Duplicated text. * duplicated content --------- Co-authored-by: Loni Tra <[email protected]> Co-authored-by: Rich Lander <[email protected]> Co-authored-by: Rich Lander <[email protected]> Co-authored-by: Tanya Solyanik <[email protected]> Co-authored-by: James Montemagno <[email protected]> * small tweaks to ef preview 1 release notes * one more tiny tweak to ef core notes * release notes for PrunePackageReferences (#9744) * Fix markdown lint * Add containers release notes for .NET 10 Preview 1 (#9746) * Update containers section on main 10p1 readme * Add release notes for containers * Change Docker to container Co-authored-by: Matt Thalman <[email protected]> * Put Ubuntu announcement first * Apply suggestions from code review Co-authored-by: Rich Lander <[email protected]> * Remove extra newlines * Update haedings and links --------- Co-authored-by: Matt Thalman <[email protected]> Co-authored-by: Rich Lander <[email protected]> * .NET 10 P1 -- Runtime and Libraries changes (#9715) * Create runtime branch * Add cryptography notes * Fix typo * Add ISOWeek overloads for DateOnly type * ZipArchive * Remove duplicate ISOWeek method overloads section * Add String Normalization APIs for Span<char> * Fix formatting in String Normalization APIs section * Fix formatting for String Normalization APIs section * Fix formatting for String Normalization APIs section * Update String Normalization APIs section * Update String Normalization APIs section * Doc formatting fix * Adding TimeSpan note * Add JIT notes * Convert tabs to spaces * Better ZipArchive stats * Fix stack allocation description * Feedback Co-authored-by: Andy Ayers <[email protected]> * Add AVX10.2 experimental note, and feedback * "C-style" -> "typical" Co-authored-by: Rich Lander <[email protected]> * Add stack allocation example * Numeric ordering, ordered dictionary, json options, matrix operations * Apply suggestions from code review * Update release-notes/10.0/preview/preview1/libraries.md Apply Rich's suggestion Co-authored-by: Rich Lander <[email protected]> * Update release-notes/10.0/preview/preview1/libraries.md * Fix linter issues --------- Co-authored-by: Jeremy Barton <[email protected]> Co-authored-by: Tarek Mahmoud Sayed <[email protected]> Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Aman Khalid <[email protected]> Co-authored-by: Andy Ayers <[email protected]> Co-authored-by: Pranav Senthilnathan <[email protected]> * Add ASP.NET Core release notes for .NET 10 Preview 1 (#9740) * Remove extra line in release notes. * Add link to install packages on Chiseled images * Update C# 14 release notes * Remove extra newlines in release notes. * update md * .NET MAUI in .NET 10 Preview 1 (#9727) * [Draft] .NET MAUI in .NET 10 Preview 1 * Update release-notes/10.0/preview/preview1/dotnetmaui.md Co-authored-by: Rolf Bjarne Kvinge <[email protected]> * Update release-notes/10.0/preview/preview1/dotnetmaui.md Co-authored-by: Rolf Bjarne Kvinge <[email protected]> * Apply suggestions from code review Co-authored-by: Rolf Bjarne Kvinge <[email protected]> * cleanup * add info about handlers * Update dotnetmaui.md added Android notes * Update dotnetmaui.md removed community contributions section since we don't have any yet. * cleanup * add ios information --------- Co-authored-by: James Montemagno <[email protected]> Co-authored-by: Rolf Bjarne Kvinge <[email protected]> * update md * trailing * Update wpf.md * Update release-notes/10.0/preview/preview1/10.0.0-preview.1.md Co-authored-by: Jon Galloway <[email protected]> * Update release-notes/10.0/preview/preview1/README.md Co-authored-by: Jon Galloway <[email protected]> * updates * Call out pruning warnings in P1 release notes (#9752) * Call out pruning warnings * Update release-notes/10.0/preview/preview1/sdk.md Co-authored-by: Martin Costello <[email protected]> * Update release-notes/10.0/preview/preview1/sdk.md --------- Co-authored-by: Martin Costello <[email protected]> * Update 10.0.0-preview.1.md * Add files via upload * Update releases-index.json * Add files via upload * Update release-notes/10.0/preview/preview1/10.0.0-preview.1.md Co-authored-by: Logan Bussell <[email protected]> --------- Co-authored-by: Jon Galloway <[email protected]> Co-authored-by: Rich Lander <[email protected]> Co-authored-by: Rich Lander <[email protected]> Co-authored-by: maumar <[email protected]> Co-authored-by: Kathleen Dollard <[email protected]> Co-authored-by: Tomas Grosup <[email protected]> Co-authored-by: Bill Wagner <[email protected]> Co-authored-by: Martin Costello <[email protected]> Co-authored-by: Kathleen Dollard <[email protected]> Co-authored-by: Merrie McGaw <[email protected]> Co-authored-by: Loni Tra <[email protected]> Co-authored-by: Tanya Solyanik <[email protected]> Co-authored-by: Chet Husk <[email protected]> Co-authored-by: Logan Bussell <[email protected]> Co-authored-by: Matt Thalman <[email protected]> Co-authored-by: Jeremy Barton <[email protected]> Co-authored-by: Tarek Mahmoud Sayed <[email protected]> Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Aman Khalid <[email protected]> Co-authored-by: Andy Ayers <[email protected]> Co-authored-by: Pranav Senthilnathan <[email protected]> Co-authored-by: Daniel Roth <[email protected]> Co-authored-by: David Ortinau <[email protected]> Co-authored-by: Rolf Bjarne Kvinge <[email protected]> Co-authored-by: Nikolche Kolev <[email protected]> Co-authored-by: Rahul Bhandari <[email protected]>
1 parent 01914ed commit 811a2d9

23 files changed

+2756
-0
lines changed

release-notes/10.0/get-started.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
# Get Started
3+
4+
To get started, [install the .NET 10 SDK](https:/get.dot.net/10).
5+
6+
If you're on Windows using Visual Studio, we recommend installing the latest [Visual Studio 2022 preview](https://visualstudio.microsoft.com/vs/preview/), or get started with Visual Studio Code and the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension.
7+
8+
## .NET Workloads
9+
10+
After installing .NET 10 previews, you can install workloads by following these instructions. For more information read through the [documentation](https://learn.microsoft.com/dotnet/core/tools/dotnet-workload).
11+
12+
### .NET MAUI
13+
14+
Install the .NET MAUI workload:
15+
16+
```console
17+
> dotnet workload install maui
18+
...
19+
Successfully installed workload(s) maui.
20+
```
21+
22+
Verify installation:
23+
24+
```console
25+
> dotnet workload list
26+
27+
Installed Workload Id Manifest Version Installation Source
28+
--------------------------------------------------------------------------------------------
29+
maui 10.0.0-preview.1.9973/10.0.100-preview.1 SDK 10.0.100-preview.1
30+
```
31+
32+
Installing the `maui` workload includes `android`, `ios`, and `maccatalyst` workloads which may be installed independently. Run `dotnet workload search` for a full list of available workload configurations.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# .NET 10 installation instructions for Linux
2+
3+
The following instructions demonstrate installing .NET 10 on Linux. These instructions augment the more general [.NET install instructions](install.md), including installing with `.tar.gz` files, that work on multiple operating systems.
4+
5+
[.NET 10 Required Packages](os-packages.md) describes the set of packages required to run .NET on Linux.
6+
7+
## Distributions
8+
9+
The following distributions are available for Linux:
10+
11+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
12+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
13+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
14+
15+
We recommend you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to exclusively run applications.
16+
17+
## Downloads
18+
19+
Each of the distributions can be downloaded from:
20+
21+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/10.0)
22+
- [.NET 10 release notes](README.md)
23+
24+
[Container images](https://hub.docker.com/_/microsoft-dotnet) are provided for Linux (Alpine, Debian, and Ubuntu).
25+
26+
## Installing from a binary archive
27+
28+
You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily.
29+
30+
The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system.
31+
32+
```bash
33+
~# curl -Lo dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/ed3f7a1c-0aeb-4bff-8f93-db1b48c13dbc/dbd62e4564414b7de38e32ca47a0e9e3/dotnet-sdk-10.0.100-preview.1.25120.13-linux-x64.tar.gz
34+
~# mkdir dotnet
35+
~# tar -C dotnet -xf dotnet.tar.gz
36+
~# rm dotnet.tar.gz
37+
~# export DOTNET_ROOT=~/dotnet
38+
~# export PATH=$PATH:~/dotnet
39+
~# dotnet --version
40+
10.0.100-preview.1.25120.13
41+
```
42+
43+
The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional.
44+
45+
You can add your .NET install location permanently to your path if you'd like.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# .NET 10 installation instructions for macOS
2+
3+
The following instructions demonstrate installing .NET 10 on macOS. These instructions augment the more general [.NET install instructions](install.md), including installing with `.tar.gz` files, that work on multiple operating systems.
4+
5+
## Distributions
6+
7+
The following distributions are available for Linux:
8+
9+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
10+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
11+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
12+
13+
We recommend you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to exclusively run applications.
14+
15+
## Downloads
16+
17+
Each of the distributions can be downloaded from:
18+
19+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/10.0)
20+
- [.NET 10 release notes](README.md)
21+
22+
[Container images](https://hub.docker.com/_/microsoft-dotnet) are provided for Linux (Alpine, Debian, and Ubuntu).
23+
24+
## Install using PKG
25+
26+
You can install any of the distributions with PKG. The following image demonstrates installing the .NET SDK. After launching the PKG, click "Continue" and you will be taken through the process of installing the SDK.
27+
28+
![image](https://user-images.githubusercontent.com/2608468/112776700-355d5280-8ff5-11eb-979c-8cab273f5f97.png)
29+
30+
## Installing from a binary archive
31+
32+
You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily.
33+
34+
The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system.
35+
36+
```bash
37+
~# curl -Lo dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/8462c34b-dc1e-4793-aab0-449bd1419d1c/bac3f5d229638e0d8600b9d4b304c26e/dotnet-sdk-10.0.100-preview.1.25120.13-osx-x64.tar.gz
38+
~# mkdir dotnet
39+
~# tar -C dotnet -xf dotnet.tar.gz
40+
~# rm dotnet.tar.gz
41+
~# export DOTNET_ROOT=~/dotnet
42+
~# export PATH=$PATH:~/dotnet
43+
~# dotnet --version
44+
10.0.100-preview.1.25120.13
45+
```
46+
47+
The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional.
48+
49+
You can add your .NET install location permanently to your path if you'd like.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# .NET 10 installation instructions for Windows
2+
3+
The following instructions demonstrate installing .NET 10 on Windows. These instructions augment the more general [.NET install instructions](install.md), including installing with `.zip` files, that work on multiple operating systems.
4+
5+
## Distributions
6+
7+
The following distributions are available for Windows:
8+
9+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
10+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
11+
- .NET Desktop Runtime: includes the .NET runtime and Windows desktop libraries, enabling running console, Windows Forms, and Windows Presentation Framework (WPF) applications.
12+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
13+
- ASP.NET Core Hosting Bundle: includes the ASP.NET Core runtime and IIS support (for running both in- and out-of-process with IIS).
14+
15+
We recommend you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to exclusively run applications.
16+
17+
## Downloads
18+
19+
Each of the distributions can be downloaded from:
20+
21+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/10.0)
22+
- [.NET 10 release notes](README.md)
23+
24+
[Container images](https://hub.docker.com/_/microsoft-dotnet) are provided for Windows (Nano Server and Server Core) and Linux (Alpine, Debian, and Ubuntu).
25+
26+
## Windows Package Manager CLI (winget)
27+
28+
You can now install .NET updates using the Windows Package Manager CLI (winget):
29+
30+
- To install the .NET 10 runtime: `winget install dotnet-runtime-10`
31+
- To install the .NET 10 SDK: `winget install dotnet-sdk-10`
32+
- To update an existing installation: `winget upgrade`
33+
34+
See [Install with Windows Package Manager (winget)](https://learn.microsoft.com/dotnet/core/install/windows?tabs=net70#install-with-windows-package-manager-winget) for more information.
35+
36+
## Install using MSI
37+
38+
You can install any of the distributions with MSI. The following image demonstrates installing the .NET SDK. After launching the MSI, click "Install" and you will be taken through the process of installing the SDK.
39+
40+
![dotnet installer](https://github.com/dotnet/core/assets/44339330/62cbf002-89ab-4d63-9f0a-69460a6ab3d0)
41+
42+
## Windows Server Hosting with IIS
43+
44+
You should install the Hosting Bundle MSI if you want to enable hosting ASP.NET Core with IIS.
45+
46+
## Installing from a binary archive
47+
48+
You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily.
49+
50+
The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system.
51+
52+
```console
53+
C:\>curl -Lo dotnet.zip https://download.visualstudio.microsoft.com/download/pr/f8fc17aa-29b7-4a34-b164-3c91e2d5a728/9dfcf0628bcd2b6f53d573a100b4e3ca/dotnet-sdk-10.0.100-preview.1.25120.13-win-x64.exe
54+
C:\>tar -C dotnet -xf dotnet.zip
55+
C:\>del dotnet.zip
56+
C:\>set DOTNET_ROOT=C:\dotnet
57+
C:\>set PATH=%PATH%;C:\dotnet
58+
C:\>dotnet --version
59+
10.0.100-preview.1.25120.13
60+
```
61+
62+
The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional.
63+
64+
You can add your .NET install location permanently to your path if you'd like.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .NET Workloads
2+
3+
After installing .NET 10 previews, you can install workloads by following these instructions. For more information read through the [documentation](https://learn.microsoft.com/dotnet/core/tools/dotnet-workload).
4+
5+
## .NET MAUI
6+
7+
Install the .NET MAUI workload:
8+
9+
```console
10+
> dotnet workload install maui
11+
...
12+
Successfully installed workload(s) maui.
13+
```
14+
15+
Verify installation:
16+
17+
```console
18+
> dotnet workload list
19+
20+
Installed Workload Id Manifest Version Installation Source
21+
--------------------------------------------------------------------------------------------
22+
maui 10.0.100-preview.1.25120/10.0.100-preview.1 SDK 10.0.100-preview.1
23+
```
24+
25+
Installing the `maui` workload includes `android`, `ios`, and `maccatalyst` workloads which may be installed independently. Run `dotnet workload search` for a full list of available workload configurations.

release-notes/10.0/install.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# .NET 10 installation instructions
2+
3+
Concise install instructions are provided in this document and may be augmented in [release notes](README.md) for a given update. Complete [.NET installation instructions for Windows, macOS, and Linux](https://learn.microsoft.com/dotnet/core/install/) are provided for supported releases in [.NET documentation](https://learn.microsoft.com/dotnet).
4+
5+
Operating system specific instructions:
6+
7+
- [Linux](install-linux.md)
8+
- [macOS](install-macos.md)
9+
- [Windows](install-windows.md)
10+
11+
## [Using dotnet-install-scripts](https://learn.microsoft.com/dotnet/core/tools/dotnet-install-script)
12+
13+
### Install the latest preview version of the 10.0.1xx SDK to the specified location
14+
15+
Windows:
16+
17+
```console
18+
./dotnet-install.ps1 -Channel 10.0.1xx -Quality preview -InstallDir C:\cli
19+
```
20+
21+
macOS/Linux:
22+
23+
```console
24+
./dotnet-install.sh --channel 10.0.1xx --quality preview --install-dir ~/cli
25+
```
26+
27+
### Install the latest preview version of the 10.0.0 runtime to the specified location
28+
29+
Windows:
30+
31+
```console
32+
.\.dotnet\dotnet-install.ps1 -Channel 10.0 -Runtime dotnet -Quality preview -InstallDir c:\cli
33+
```
34+
35+
macOs/Linux:
36+
37+
```console
38+
./dotnet-install.sh --runtime dotnet --channel 10.0 --quality preview --install-dir ~/cli
39+
```
40+
41+
## Distributions
42+
43+
The following distributions are available for all operating systems:
44+
45+
- .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow.
46+
- .NET Runtime: includes the .NET runtime and libraries, enabling running console applications.
47+
- ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications.
48+
49+
We recommend that you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to (exclusively) run applications.
50+
51+
## Downloads
52+
53+
Download links are provided for each of the distributions at:
54+
55+
- [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/10.0)
56+
- [.NET 10 release notes](README.md)
57+
58+
[Container images](https://hub.docker.com/_/microsoft-dotnet) are provided for Linux (Alpine, Debian, Ubuntu, Azure Linux, and distroless variants of Ubuntu and Azure Linux) and Windows (Nano Server and Server Core).
59+
60+
## What's installed?
61+
62+
You can determine what is installed on your machine (assuming .NET is installed) using the following approach, with `dotnet --info`.
63+
64+
```console
65+
C:\>dotnet --info
66+
.NET SDK (reflecting any global.json):
67+
Version: 10.0.100-preview.1.25120.13
68+
Commit: 0a5360315a
69+
70+
Runtime Environment:
71+
OS Name: Mac OS X
72+
OS Version: 12.6
73+
OS Platform: Darwin
74+
RID: osx.12-x64
75+
Base Path: /usr/local/share/dotnet/x64/sdk/10.0.100-preview.1.25120.13/
76+
77+
Host:
78+
Version: 10.0.100-preview.1.25120.13
79+
Architecture: x64
80+
Commit: 550605cc93
81+
82+
.NET SDKs installed:
83+
10.0.100-preview.1.25120.13 [/usr/local/share/dotnet/x64/sdk]
84+
85+
.NET runtimes installed:
86+
Microsoft.AspNetCore.App 10.0.100-preview.1.25120.13 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
87+
Microsoft.NETCore.App 10.0.100-preview.1.25120.13 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
88+
```
89+
90+
If you have the .NET SDK installed, you can also use `dotnet --version` as demonstrated in the following example:
91+
92+
```console
93+
C:\>dotnet --version
94+
10.0.100-preview.1.25120.13
95+
```

0 commit comments

Comments
 (0)