4. 1. .NET 5 概要
4
.NET Standard Library
WPF
Windows Forms
ASP.NET
WPF (Windows)
Windows Forms
(Windows)
UWP (Windows)
ASP.NET
iOS
Android
Windows
macOS
12. Getting Started with Entity Framework Core: Database-First Development - CodeProject
• .NET 5 に含まれないものがある
• WCF (Windows Communication Foundation)
• WF (Workflow Foundation)
• ASP.NET Web Forms
.NET 5 採用の注意点
12
13. • ASP.NET や EntityFramework などは、変更されていて互換性がやや低い
ASP.NET 4.x と ASP.NET Core の選択 | Microsoft Docs
EF6 と EF Core を比較する | Microsoft Docs
.NET 5 採用の注意点
13
22. 2. .NET Framework との違い
22
WPF
Windows Forms
ASP.NET
.NET Standard Library
WPF (Windows)
Windows Forms
(Windows)
UWP (Windows)
ASP.NET
iOS
Android
Windows
macOS
23. .NET Framework と .NET
23
.NET Framework .NET 5 .NET 6
動作OS Windows Windows, Mac, Linux (*) Windows, Mac, Linux, iOS,
Android (*)
開発OS Windows Windows, Mac, Linux Windows, Mac, Linux
主な開発ツール Visual Studio Visual Studio, Visual Studio for
Mac, Visual Studio Code
Visual Studio, Visual Studio for
Mac, Visual Studio Code
C# 7.3 (8.0 の一部もサポート) 9.0 C# Next?
(*) プロジェクトの種類による
28. Shos.Chatter.NetFramework: Web API, SignalR, Web Client (WPF and Web) for .NET Framework 4.8
| github.com
Shos.Chatter: Web API, SignalR, Web Client (WPF and Web) for .NET 5 | github.com
【サンプル】 チャット ツール “Chatter” ソースコー
ド
28
51. .NET プロジェクトの作成
51
C:¥20210315¥HelloNetConsole>cd ..
C:¥20210315>dotnet new webapp --auth Windows -o HelloNetWeb
The template "ASP.NET Core Web App" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/5.0-
third-party-notices for details.
Processing post-creation actions...
Running 'dotnet restore' on HelloNetWeb¥HelloNetWeb.csproj...
復元対象のプロジェクトを決定しています...
C:¥20210315¥HelloNetWeb¥HelloNetWeb.csproj を復元しました (82 ms)。
Restore succeeded.
C:¥20210315>devenv HelloNetWeb¥HeloNetWeb.csproj
52. .NET プロジェクトの作成
52
C:¥20210315>dotnet new wpf -o HelloNetWpf
The template "WPF Application" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on HelloNetWpf¥HelloNetWpf.csproj...
復元対象のプロジェクトを決定しています...
C:¥20210315¥HelloNetWpf¥HelloNetWpf.csproj を復元しました (127 ms)。
Restore succeeded.
C:¥20210315>cd HelloNetWpf
C:¥20210315¥HelloNetWpf>dotnet publish -c Release -r win10-x64 --self-contained true
…結果省略…
C:¥20210315¥HelloNetWpf>dir bin¥Release¥net5.0-windows¥win10-x64¥publish
…結果省略…
C:¥20210315¥HelloNetWpf>bin¥Release¥net5.0-windows¥win10-x64¥publish¥HelloNetWpf.exe
54. .NET | Free. Cross-platform. Open Source. (microsoft.com)
Download .NET 5.0 (Linux, macOS, and Windows) (microsoft.com)
Announcing .NET 5.0 | .NET Blog (microsoft.com)
What's new in .NET 5 | Microsoft Docs
Performance Improvements in .NET 5 | .NET Blog (microsoft.com)
Breaking changes in .NET 5 - .NET | Microsoft Docs
.NET 5.0 の破壊的変更 - .NET | Microsoft Docs
.NET 5 Breaking Changes: Historic Technologies (infoq.com)
.NET 5 Breaking Changes to the Base Class Library (infoq.com)
参考文献
54
55. Announcing ASP.NET Core in .NET 5 | ASP.NET Blog (microsoft.com)
What's new in ASP.NET Core 5.0 | Microsoft Docs
Migrate from ASP.NET Core 3.1 to 5.0 | Microsoft Docs
.NET 5 Breaking Changes for ASP.NET Core (infoq.com)
Azure Static Web Apps with .NET and Blazor | ASP.NET Blog (microsoft.com)
Unified Blazor UI in the Mobile Blazor Bindings Preview 5 | ASP.NET Blog (microsoft.com)
参考文献
55
56. Announcing the Release of EF Core 5.0 | .NET Blog (microsoft.com)
Plan for Entity Framework Core 5.0 | Microsoft Docs
What's New in EF Core 5.0 | Microsoft Docs
Breaking changes in EF Core 5.0 - EF Core | Microsoft Docs
WPF/Windowsフォームに関する.NET 5の大きな変更 (infoq.com)
Windows フォームに関する破壊的変更 - .NET | Microsoft Docs
Windows Forms 5.0の新機能 (infoq.com)
参考文献
56
57. Recapping Xamarin Highlights from .NET Conf 2020 | Xamarin Blog (microsoft.com)
Introducing .NET Multi-platform App UI | .NET Blog (microsoft.com)
The future of .NET Standard | .NET Blog (microsoft.com)
Announcing C#/WinRT Version 1.0 with the .NET 5 GA Release - Windows Developer Blog
参考文献
57