.NET im Allgemeinen: Ein Überblick von Scott Hanselman



Scott Hanselman ist eine Schlüsselperson für die .NET-Community: Auf der Microsoft Build-Konferenz hält er beispielsweise Entwicklern eine Präsentation, und sein Microblog auf Twitter hat etwa 250.000 Abonnenten.



.NET . 2003- C#, . 13 Microsoft, .



: , , , . DotNext , - , .NET — . , , .



.NET



. « .NET», «.NET 5», « .NET», « .NET». , , : .NET , , . ASP.NET, -, , , , iPhone, Android, Apple Watch. C# Unity, .NET. .NET Raspberry Pi. , .NET . .NET .



, ASP.NET, - -. - , , — -. — .NET-, C#-. - .NET, .NET Raspberry Pi, . Windows Forms, .





.NET , . , C# 5 GitHub. .NET ASP.NET , , . , 40% .NET — . , . , , .NET: Visual Studio 1 Linux. .NET Linux , , . .NET , .NET 3 , . . , Stack Overflow .NET Core 3.1.



.NET-



.NET-, . , Visual Studio, . , : , . , myweirddemo dotnet new. . , , File — New Project Visual Studio. , , scott, dotnet new scott. dotnet new WPF, Windows Forms, Worker, , .





dotnet new console, .





Console.ReadLine().





. . , Hello world 2–3 . , . ( dir): , bin. bin\Debug\net5.0\myweirddemo.exe. , Hello world . dotnet run - . , myweirddemo.dll. dotnet .\myweirddemo.dll, Hello world. , , exe- . .NET exe- publish.



, dotnet run. ? , dotnet restore, dotnet build dll- . .ReadLine(). , Hello world, . , Process Explorer — Task Manager, Sysinternals.





, .



, .NET , . , , , , . , , , , .



, , .NET C:\Program Files\dotnet\dotnet.exe.





. , z, cd, , . , start ., Explorer, C:\Program Files\dotnet\sdk. . .NET Windows, .



.NET



.NET: .NET Windows, Xamarin , - .NET Core. .NET , .NET , .NET, . Xamarin Mono, .NET, .NET. . .NET Core , .



, .NET, , , — . , .NET. sdk .NET.





.NET 5.0, .NET 2 3, 3.1 — . dotnet --version.





, .NET 5. , myweirddemo2, , , , .NET 5.





: C:\Program Files\dotnet\dotnet.exe. .NET. dotnet new globaljson. , , .NET.





, , global.json. (dotnet --version), , .NET 3.1.300. (myweirddemo) : - 5.0.100. , ? : 5.0.100. , .NET. .



.NET 5 6 SDK, BCL ( ) . .NET - UI, Kubernetes. .NET 5 6, , . .NET 5, .NET 6.



DotNext: .NET 5 ( System.Text.Json API ) .


.NET



. , myweirddemo dll- . .NET? C:\Program Files\dotnet. , sdk shared . , . .NET . , , . ? , . publish, , , .NET .



publish, dotnet run. , .





, , , . dll-, . , dll, .





, . dotnet publish -r win-x64.





, .





, , : .NET, dll-. .NET . , . , System.Drawing.dll System.Globalization.Calendars.dll. , : 65 . 65 Hello world . , .



publish, : publish -r win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true. .





, , 65 23. , C, Hello world - , : .NET. , 20 . . , , .NET .



, dotnet new, WPF, Windows Forms, Workers . , , . Windows Forms. , , . , dotnet new winforms : dotnet run. Windows Forms. , , , 10 15 . .NET Core . . , .NET , . .NET 5 (, , ) WPF Windows Forms, , , , .



.NET , Hanselminutes. , 700 . , : Powered by .NET Core 3.1.8 and deployed from commit 5bbc4d via build 20200930.1. .NET: .NET , , . Visual Studio .





, .NET. git hash. .



Windows, .NET Core, Razor Pages. Linux, , .





Visual Studio , : hanselminutes.core hanselminutes.core.tests. PowerShell. , , .NET. , hanselminutes.core, .\dockerbuild.ps1, . Docker, Windows. , .NET Windows, SDK docker-. , .NET . Windows dotnet run, Linux , Linux . . Windows .\dockerrun.psl, Linux. , Azure. , . , , . Linux Hanselminutes.





. - 30%. , Linux Windows, , , . , .NET .



, .NET, . , , , .NET . , - C#. . - C#, .NET . , Azure. .NET Microservices: Architecture for Containerized .NET Applications. , , Azure. .NET Azure .



, . , Razor. .NET Core, . 18 .NET 2.0, .NET Core, 18 . Web Forms, Windows, , , , URL-. staging.hanselman.com, , .NET Core. , www staging, .



. , . , .





(das Blog — «» -). , Windows. : Console.WriteLine(), Windows. , -, , Windows — , C:. .NET Portability Analyzer, Visual Studio, . , . , . Model — View — Controller.



, . , , Razor, Web Forms. , . , Linux, Windows. , , .



, .NET 5 6 , -, . , .NET , . , . Kubernetes, Docker Docker Compose, . Project Tye. , IIS, Apache, nginx Azure.



.NET MAUI



, , .NET MAUI (Multi-Platform App UI, UI ). , Build, . MAUI , UI .NET . (, Xamarin) — Android, iPhone . , MAUI — Xamarin.Forms. MAUI, .NET 6. , dotnet new maui. MAUI Xamarin, API Android iOS. Xamarin, MAUI.



, .NET . .NET Conf 2020, .NET 5. , . .NET 5, , . , . .NET 3.1 — , . .NET 5, — dot.net/get-dotnet5. .NET 5 6 .



.NET



.NET . .NET -. . .NET , Xamarin, - . MAUI Xamarin, - .NET, .



.NET, : . , , Unity C#. MonoGame. .NET, , . . , , , TensorFlow ONNX .NET. Python, , .NET. , .NET Core WPF WinForms.



.NET Core — IoT, , Raspberry Pi. dotnet raspberry pi , Kubernetes Raspberry Pi.



ASP.NET. , .NET ARM. , publish -r linux-arm.





Windows .NET Raspberry Pi, . .NET , , . , , . Community .NET . , Twitter Stack Overflow. , .NET- -, , , . - .NET, . , .



.NET , , DotNext, . : .NET 5 , .NET GC Microsoft. , , best practices — .NET- - .



All Articles