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: learn-pr/language/dotnet-introduction/includes/1-introduction.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@ If you're new to the C# programming language, you might be wondering how it rela
2
2
3
3
In this module, you learn about:
4
4
5
-
- .NET and its ecosystem
6
-
- The technical aspects of the system
7
-
- Each part's role in helping you build and deploy your software
8
-
- The .NET ecosystem as a whole, including the resources that can help you learn
9
-
-How to contribute to this ecosystem
5
+
- .NET and its ecosystem.
6
+
- The technical aspects of the system.
7
+
- Each part's role in helping you build and deploy your software.
8
+
- The .NET ecosystem as a whole, including the resources that can help you learn.
9
+
-Ways that you can contribute to this ecosystem.
10
10
11
11
Finally, you write C# code using a web-based editor to better understand how the parts of .NET work together to create a .NET application.
12
12
@@ -16,14 +16,14 @@ By the end of this module, you'll have a good understanding of .NET, and you'll
16
16
17
17
By the end of this module, you're able to:
18
18
19
-
- Describe the major parts of .NET and its ecosystem
20
-
- Explain how .NET languages and the .NET compiler, runtime, and libraries work together to produce a running application
21
-
- Choose when it makes sense to use .NET to build your applications
19
+
- Describe the major parts of .NET and its ecosystem.
20
+
- Explain how .NET languages and the .NET compiler, runtime, and libraries work together to produce a running application.
21
+
- Choose when it makes sense to use .NET to build your applications.
22
22
23
23
## Prerequisites
24
24
25
-
- You should have already written your first lines of C# code
26
-
- You should be able to recognize how to use `Console.WriteLine()` to send text to an output window
27
-
- You should be able to recognize minor issues in your code and fix them
25
+
- You should have already written your first lines of C# code.
26
+
- You should be able to recognize how to use `Console.WriteLine()` to send text to an output window.
27
+
- You should be able to recognize minor issues in your code and fix them.
28
28
29
-
If you haven't already written a simple "Hello World" application in C#, review this learning path's first module, [Write your first C# code](/training/modules/csharp-write-first/?azure-portal=true).
29
+
If you haven't already written a simple "Hello World" application in C#, review the first module in this learning path, [Write your first C# code](/training/modules/csharp-write-first/?azure-portal=true).
Copy file name to clipboardExpand all lines: learn-pr/language/dotnet-introduction/includes/2-what-is-dotnet.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
When someone uses the term *.NET*, what they mean greatly depends on context. In this unit, you'll learn about .NET by looking at it as an ecosystem. In other words, .NET is a collection of many parts and people that together create a powerful environment for building applications.
1
+
When someone uses the term *.NET*, what they mean greatly depends on context. In this unit, you learn about .NET by looking at it as an ecosystem. In other words, .NET is a collection of many parts and people that together create a powerful environment for building applications.
2
2
3
3
## .NET is an ecosystem for application development
4
4
@@ -8,19 +8,20 @@ The term *ecosystem* describes the multiple facets of an application development
8
8
9
9
Software developers use .NET languages like C# and F# to write source code. Each line of code they write expresses an instruction or command the computer should perform while the program is running.
10
10
11
-
Before software developers can run their code, they must first compile it. The *.NET compiler* is a program that converts the source code (in any supported programming language) into a portable language called *intermediate language* (IL). The .NET compiler saves the IL code into a file called a *.NET assembly*. By compiling the code into an intermediate format, you can use the same code base wherever you run the code, whether on Windows or Linux, or on 32-bit or 64-bit computer hardware.
11
+
Before software developers can run their code, they must first compile it. The *.NET compiler* is a program that converts the source code (in any supported programming language) into a portable language called *intermediate language* (IL). The .NET compiler saves the IL code into a file called a *.NET assembly*. By compiling the code into an intermediate format, you can use the same code base wherever you run the code, whether on Windows or Linux, or on 32-bit or 64-bit computer hardware.
12
12
13
-
The *.NET runtime* is an execution environment for your compiled .NET assembly. In other words, the .NET runtime is what executes and manages your application as it runs on a host operating system. We'll talk more about what the .NET runtime does in just a moment.
13
+
The *.NET runtime* is an execution environment for your compiled .NET assembly. In other words, the .NET runtime is what executes and manages your application as it runs on a host operating system. We talk more about what the .NET runtime does in just a moment.
14
14
15
-
Fortunately, as a software developer just getting started with .NET, you don't need to get into details of how these mechanisms work. With experience, you'll come to more fully understand and appreciate the underlying power of .NET languages and compilers and the runtime.
15
+
Fortunately, as a software developer just getting started with .NET, you don't need to get into details of how these mechanisms work. With experience, you come to more fully understand and appreciate the underlying power of .NET languages and compilers and the runtime.
16
16
17
17
> [!TIP]
18
-
> Sometimes people think that the C# programming language *is* .NET. However, C# and .NET are distinct. C# is a programming language syntax. As part of the syntax, you can reference and call methods defined in .NET code libraries, or *assemblies*. Next, you'll use the C# compiler that's installed with the .NET SDK to create a .NET assembly from your C# code. The .NET runtime then runs the .NET assemblies. These distinctions are important concepts as you learn more about .NET and C#.
18
+
> Sometimes people think that the C# programming language *is* .NET. However, C# and .NET are distinct. C# is a programming language syntax. As part of the syntax, you can reference and call methods defined in .NET code libraries, or *assemblies*. Next, you use the C# compiler that's installed with the .NET SDK to create a .NET assembly from your C# code. The .NET runtime then runs the .NET assemblies. These distinctions are important concepts as you learn more about .NET and C#.
19
19
20
20
### Use .NET application frameworks and libraries to harness prebuilt functionality
21
21
22
22
All software is built in layers, meaning software runs at various levels of abstraction on a computer:
23
-
- At the lowest level, software communicates directly with your computer's hardware. It controls the flow of data on the motherboard, processors, memory, and hard drives.
23
+
24
+
- At the lowest level, software communicates directly with your computer's hardware. It controls the flow of data on the motherboard, processors, memory, and hard drives.
24
25
- At the next level, software allows the end user to provide instructions through an operating system.
25
26
- At the next level, software like .NET provides a way for you to develop and run applications.
26
27
- At the next level, application frameworks and libraries of functionality allow you to quickly build rich applications with less effort than older development methods.
@@ -41,8 +42,8 @@ You might wonder which frameworks support which app models. Use the following ta
41
42
|---|---|---|
42
43
| Web | ASP.NET Core | The framework for building server-side logic. |
43
44
| Web | ASP.NET Core MVC | The framework for building server-side logic for web pages or web APIs. |
44
-
| Web | ASP.NET Core Razor Pages | The framework for building server-generated HTML. |
45
-
| Web client | Blazor | Blazor is a part of ASP.NET Core. Its two modes allow for either Document Object Model (DOM) manipulation via sockets as a communication vehicle for running server-side code, or a WebAssembly implementation for running compiled C# on a browser. |
45
+
| Web | ASP.NET Core Razor Pages | The framework for building server-generated HTML. |
46
+
| Web client | Blazor | Blazor is a part of ASP.NET Core. Its two modes allow for either Document Object Model (DOM) manipulation via sockets as a communication vehicle for running server-side code, or a WebAssembly implementation for running compiled C# on a browser. |
46
47
| Desktop | .NET for Mac | Allows .NET developers to build apps for Mac devices with native UI and API access. |
47
48
| Desktop | WinForms | A framework for building "battleship gray" Windows-style applications. |
48
49
| Desktop | Windows Presentation Foundation (WPF) | A framework for building dynamic desktop applications that conform to different form factors. WPF allows form elements to perform movement, fades, glides, and other effects with the help of a rich library of animations. |
0 commit comments