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
Copy file name to clipboardExpand all lines: docs/els-for-languages/dotnet/README.md
+60-10Lines changed: 60 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Endless Lifecycle Support (ELS) for .NET 6 from TuxCare provides security fixes
13
13
14
14
## Supported .NET 6 Versions
15
15
16
-
**SDK 6.0.428**
16
+
**SDK 6.0.x**
17
17
The .NET SDK (Software Development Kit) is the recommended option if you plan to develop, build, test, or publish .NET 6 applications. It includes:
18
18
19
19
* The .NET Runtime, which is required to run .NET apps.
@@ -22,15 +22,15 @@ The .NET SDK (Software Development Kit) is the recommended option if you plan to
22
22
23
23
With the SDK, you won't need to install separate runtimes for ASP.NET Core or the Desktop environment - everything is bundled together to streamline development and deployment.
24
24
25
-
**ASP.NET Core Runtime 6.0.36**
25
+
**ASP.NET Core Runtime 6.0.x**
26
26
The ASP.NET Core Runtime contains the components needed to run ASP.NET Core web applications on .NET 6. It includes libraries and features for building dynamic web pages, RESTful APIs, and real-time communication with SignalR.
27
27
28
28
*Note:* If you install the full .NET SDK, you already get the ASP.NET Core Runtime.
29
29
30
-
**.NET Desktop Runtime 6.0.36**
30
+
**.NET Desktop Runtime 6.0.x**
31
31
The .NET Desktop Runtime allows you to run Windows desktop applications built with Windows Forms or WPF (Windows Presentation Foundation). It focuses on providing a smooth experience for traditional graphical apps on Windows platforms.
32
32
33
-
**.NET Runtime 6.0.36**
33
+
**.NET Runtime 6.0.x**
34
34
The .NET Runtime is the base runtime required to run console or server-based .NET applications. It's more lightweight than the SDK, since it does not include compilers, build tools, or additional libraries for web or desktop development.
35
35
36
36
TuxCare applies security patches to .NET 6 for the above OS versions, ensuring continued stability and security even beyond the official end-of-life date.
@@ -89,10 +89,14 @@ Note: This feature is under consideration for future development and may be avai
89
89
* Check if you have .NET already installed on your system:
90
90
* Open *Command Prompt* (type `cmd` in the search bar) or *PowerShell* (type `powershell` in the search bar) and run the following command:
91
91
92
+
<CodeWithCopy>
93
+
92
94
```text
93
95
dotnet --version
94
96
```
95
97
98
+
</CodeWithCopy>
99
+
96
100
* If .NET is already installed, the command will return the version number. If it’s not installed, you’ll see an error message.
97
101
* It’s recommended that you first install the latest version of .NET before uninstalling the old one. This ensures a smooth transition without breaking the dependencies.
98
102
@@ -127,14 +131,18 @@ Note: The following steps use the .NET SDK installation as an example. If you ar
127
131
* Once the installation is finished, click **Close**.
128
132
* Verify the installation. Open *Command Prompt* (type `cmd` in the search bar) or *PowerShell* (type `powershell` in the search bar) to confirm that .NET was installed successfully:
129
133
134
+
<CodeWithCopy>
135
+
130
136
```text
131
137
dotnet --version
132
138
```
133
139
140
+
</CodeWithCopy>
141
+
134
142
Example output:
135
143
136
144
```text
137
-
6.0.428
145
+
6.0.429
138
146
```
139
147
140
148
## Start Using .NET
@@ -150,16 +158,20 @@ For a quick start, you can follow this example to create and run a simple consol
150
158
* Open *Command Prompt* (type `cmd` in the search bar) or *PowerShell* (type `powershell` in the search bar).
151
159
* Run the following command to create a new console application:
The template "Console App" was created successfully.
@@ -173,16 +185,24 @@ For a quick start, you can follow this example to create and run a simple consol
173
185
174
186
* Navigate to the newly created folder:
175
187
188
+
<CodeWithCopy>
189
+
176
190
```text
177
191
cd MyTestApp
178
192
```
179
193
194
+
</CodeWithCopy>
195
+
180
196
* Build and run the application:
181
197
198
+
<CodeWithCopy>
199
+
182
200
```text
183
201
dotnet run
184
202
```
185
203
204
+
</CodeWithCopy>
205
+
186
206
When executed, you should see the following output:
187
207
188
208
```text
@@ -195,10 +215,14 @@ The following commands are useful for managing and troubleshooting .NET installa
195
215
196
216
*`where.exe` dotnet locates the dotnet executable on the system. The output shows the exact path where the dotnet command is installed. By default, the .NET installation is placed in the Program Files\dotnet folder, unless a different destination is chosen during setup.
197
217
218
+
<CodeWithCopy>
219
+
198
220
```text
199
221
where.exe dotnet
200
222
```
201
223
224
+
</CodeWithCopy>
225
+
202
226
Example output:
203
227
204
228
```text
@@ -207,23 +231,27 @@ The following commands are useful for managing and troubleshooting .NET installa
207
231
208
232
*`dontet --info` displays information about the installed .NET SDKs, runtimes and your OS. It also verifies the .NET is correctly set up.
209
233
234
+
<CodeWithCopy>
235
+
210
236
```text
211
237
dotnet --info
212
238
```
213
239
240
+
</CodeWithCopy>
241
+
214
242
Example output:
215
243
216
244
```text
217
245
.NET SDK (reflecting any global.json):
218
-
Version: 6.0.428
246
+
Version: 6.0.429
219
247
Commit: ef6f5ce48c
220
248
221
249
Runtime Environment:
222
250
OS Name: Windows
223
251
OS Version: 10.0.22631
224
252
OS Platform: Windows
225
253
RID: win10-x64
226
-
Base Path: C:\Program Files\dotnet\sdk\6.0.428\
254
+
Base Path: C:\Program Files\dotnet\sdk\6.0.429\
227
255
228
256
global.json file:
229
257
Not found
@@ -234,7 +262,7 @@ The following commands are useful for managing and troubleshooting .NET installa
@@ -250,16 +278,38 @@ The following commands are useful for managing and troubleshooting .NET installa
250
278
251
279
*`dotnet –list-sdks` command lists all the .NET SDKs installed on your system. It’s recommended to uninstall the old .NET version after you install a new one.
252
280
281
+
<CodeWithCopy>
282
+
253
283
```text
254
284
dotnet --list-sdks
255
285
```
256
286
287
+
</CodeWithCopy>
288
+
257
289
Example output:
258
290
259
291
```text
260
-
6.0.428 [C:\Program Files\dotnet\sdk]
292
+
6.0.429 [C:\Program Files\dotnet\sdk]
261
293
```
262
294
295
+
## NuGet Repository (Optional)
296
+
297
+
Developers working on .NET projects may need a NuGet repository to manage and share packages across projects. TuxCare provides a shared NuGet repository, which you can add with a simple command:
0 commit comments