SlideShare a Scribd company logo
*本資料の内容 (添付文書、リンク先などを含む) は de:code 2020 における公開日時点のものであり、予告なく変更される場合があります。
#decode20 #
Build 2020 最新情報
~ Azure & Visual Studio & .NET ~
A10
井上 章 (チャック) @chack411
マイクロソフト コーポレーション
グローバル ブラックベルト
Azure Cloud Native テクニカル スペシャリスト
本セッションについて
対象者
課題
ゴール
• Build 2020 で発表になった技術情報や開発ツールに興味を持つ
アプリケーション開発に携わる方
• クラウドを中心としたプラットフォームにおいて、迅速かつ信頼性の高いアプ
リケーション開発とリモートワークを想定した開発ツールの環境構築が必要
• レガシー アプリケーションのクラウド移行が必要
• アプリケーション開発における、Azure, Visual Studio,
および .NET に関連した最新情報を知ることができる
セッション アジェンダ
Azure - Developing for the Cloud
◼ VS Code / Visual Studio 2019
◼ Windows Terminal 1.0
◼ Windows Package Manager
◼ WSL 2
◼ Visual Studio Codespaces / GitHub Codespaces
Azure - Cloud Native Applications
◼ AKS updates
◼ Azure Static Web Apps
Journey to one .NET
◼ .NET Core 3.1 / Blazor WebAssembly
◼ .NET 5 / .NET MAUI
◼ WinUI 3
Learn.
Connect.
Code.
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
迅速かつ信頼性の高い
継続した製品やサービスの展開
新しい技術と
アプローチの習得
タイムゾーンを超えた遠隔での
チーム コラボレーション
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
Visual Studio Code
Tailor your editor experience with
21,000+ extensions
Develop locally, remotely, or
even in the browser
Preview: Sync and roam your
settings and extensions
code.visualstudio.com
Visual Studio 2019
Edit productively with IntelliCode
and additional refactorings
Collaborate with Live Share
and GitHub integration
v16.6 and v16.7 Preview 1 now
available
visualstudio.com/downloads
Windows Terminal
Optimize workflows with tabs
and panes
Fully customizable and open
source
Windows Terminal 1.0 available
today
aka.ms/terminal
Windows Package
Manager
Secure and trusted software
installation with open source
GitHub app repository
Set up your dev machine with a
single, customizable script
Preview available today
aka.ms/winget
Windows
Subsystem for Linux
Near-native Linux performance
with a real Linux kernel
Preview: Hardware accelerated
workloads via GPU
WSL 2 available today
aka.ms/wsl
WSL 1 と WSL 2 の比較
機能 WSL 1 WSL 2
Windows と Linux の統合 ⭕ ⭕
高速の起動時間 ⭕ ⭕
小さなリソース フット プリント ⭕ ⭕
マネージド VM ❌ ⭕
完全な Linux カーネル ❌ ⭕
システム コールの完全な互換性 ❌ ⭕
VMware と VirtualBox での実行 ⭕ ❌
OS ファイル システム間でのパフォーマンス ⭕ ❌
※ WSL 2 は Windows 10 バージョン 2004, ビルド 19041 以上 が必要
参考: https://docs.microsoft.com/ja-jp/windows/wsl/install-win10
Codespaces
Private Preview
Codespaces on GitHub.com
github.com/features/codespaces
Preview
Visual Studio Codespaces
Private Preview
Visual Studio 2019 support
aka.ms/codespaces
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜
◼ 指定した GitHub リポジトリに対して
GitHub Actions ワークフローを自動生成
◼ 静的コンテンツの Web ホスティングと
グローバル分散
◼ Azure Functions による API をサポート
◼ 各種認証プロバイダーの統合
◼ カスタム ドメイン、無料 SSL 証明書
◼ etc …
GitHub リポジトリから Azure へフルスタック Web アプリ環境を自動的に構築してデプロイ
Azure Functions バックエンドと共に Angular, React, Vue などを使用した SPA アプリの構築
Azure
Journey to one .NET
.NET エコシステム モメンタム
insights.stackoverflow.com/survey/2019#most-loved-dreaded-and-wanted | github.com/cncf/velocity/ | octoverse.github.com/
www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=plaintext
dot.net/get-core3
dot.net/get-core3
Also ships with Visual Studio update version 16.6
ASP.NET Core Blazor
◼ .NET (Razor Pages & C#) でフロントエンド Web UI を開発
◼ JavaScript, Angular, React, Vue などを知らなくても OK
◼ .NET の安定性と一貫性
◼ すべての WebAssembly 対応ブラウザーで動作
◼ ネイティブ パフォーマンス, プラグインなどは不要
◼ Client と Server 間での C# コードの共有、強く型付けされた開発
◼ 2 種類のホスティング モデル
◼ Blazor サーバー アプリ : サーバーサイドの .NET Core プロセスで実行、SignalR で通信
◼ Blazor WebAssembly アプリ : Web ブラウザーの WebAssembly で実行
https://blazor.net
Razor Components
.NET
WebAssembly
Blazor
WebAssembly
features
.NET Standard 2.1
ASP.NET Core hosted / standalone
Authentication
Progressive Web Apps
Debugging
IL trimming
Precompression
Configuration
Globalization & localization
One .NET vision – .NET 5 (Preview 4)
◼ .NET Core / Xamarin / .NET Framework アプリケーション モデルをサポート
◼ 統一プラットフォームへ向けた .NET Core の進化
◼ 一つの Base Class Library (BCL) 実装 + .NET Standard
◼ 一つのツール チェーン (SDK スタイル プロジェクト)
◼ Just-in-Time (JIT) とネイティブの実行モデルをサポート
◼ Java, Swift との相互運用性 (モバイル開発 – Xamarin)
◼ .NET 5 に含まれないアプリケーション モデル
◼ ASP.NET Web Forms
◼ 代替は Blazor (移行ガイド ドキュメント公開予定)
◼ WCF (Windows Communication Foundation)
◼ 代替は gRPC for WCF server and remoting (移行ガイド ドキュメント公開予定)
◼ WF (Windows Workflow Foundation)
◼ 代替は Open source core workflow for Windows workflow (WF): https://github.com/UiPath/corewf
.NET
.NET STANDARD
.NET スケジュール
• .NET Core 3.1 : 2019 年 12 月 3 日 – Long Term Support (LTS)
July 2019
.NET Core 3.0
Preview
Sept 2019
.NET Core 3.0
Dec 2019
.NET Core 3.1
LTS
Nov 2020
.NET 5.0
Nov 2021
.NET 6.0
LTS
Nov 2022
.NET 7.0
Nov 2023
.NET 8.0
LTS
• .NET 5.0 リリース : 2020 年 11 月
• 毎年 11 月にメジャー リリース, LTS は奇数年リリース
• 予定リリース以外に必要であればマイナーリリースあり
クロス プラットフォーム, ネイティブ UI
シングル プロジェクト, シングル コードベース
モバイルやデスクトップなどマルチデバイスへのデプロイ
Xamarin.Forms の進化
2020 年末予定の .NET 6 preview をターゲット
Build beautiful, native UI for any device
.NET Multi-platform App UI (.NET MAUI)
.NET MAUI
.NET Platform
github.com/dotnet/maui
UWP AppsDesktop (Win32) Apps
WinForms
2002
MFC
1992
WPF
2006
UWP XAML
2012
Native C++ .NET C++ & .NET
WinUI 3 Preview 1
http://aka.ms/winui
◼ WinUI – The modern native UI platform of Windows
◼ Windows アプリのためのモダンコントロールとスタイルの UI レイヤー
◼ WinUI 3 は UWP と Win32 アプリをサポート (WinUI 2 は UWP のみ)
◼ Native C/C++, .NET 5, WebView2, Fluent Design Controls 等に対応
C# 9.0
 Ships with .NET 5
 Simplicity
 Data and immutability
github.com/dotnet/csharplang
aka.ms/LangStatus
return vehicle switch
{
…
Bus => 5.00m,
DeliveryTruck t => t.GrossWeightClass switch
{
< 3000 => 10.00m - 2.00m,
>= 3000 and <= 5000 => 10.00m,
> 5000 => 10.00m + 5.00m
},
not null => throw new ArgumentException(…),
null => throw new ArgumentNullException(…)
};
Target-typed “new”:
Person person = new ("Dustin", "Campbell");
Parameter null checking:
public Person(string firstName!, string lastName!){ … }
Covariant returns:
public virtual Person GetMember() { … }
public override Student GetMember() { … }
www.dotnetconf.net
Build 2020 関連リソース
Microsoft Build 2020
https://www.microsoft.com/en-us/build
Learn TV
https://docs.microsoft.com/en-us/learn/tv/
Windows Terminal
https://aka.ms/terminal
Windows Package Manager
https://aka.ms/winget
Windows Subsystem for Linux
https://aka.ms/wsl
Visual Studio Codespaces
https://aka.ms/codespaces
GitHub Codespaces
https://github.com/features/codespaces
Visual Studio 2019
https://visualstudio.microsoft.com/vs/
Visual Studio Code
https://code.visualstudio.com
Microsoft Azure
https://azure.microsoft.com/
Azure App Service Static Web Apps
https://docs.microsoft.com/ja-jp/azure/static-web-apps/
.NET | Free. Cross-platform. Open Source.
https://dotnet.microsoft.com/
.NET Core 3.1 downloads
https://dot.net/get-core3
.NET MAUI
https://github.com/dotnet/maui
WinUI
https://aka.ms/winui
WinUI 3.0 Preview 1
https://docs.microsoft.com/ja-jp/windows/apps/winui
C#
https://github.com/dotnet/csharplang
.NET Conf 2020
https://www.dotnetconf.net
Guidance from experts
Microsoft Docs
Explore overviews, tutorials,
code samples, and more.
Keep on with
Microsoft Learn
Complete interactive learning
exercises, watch videos, and
apply your new skills.
© 2018 Microsoft Corporation. All rights reserved.
本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。
© 2020 Microsoft Corporation. All rights reserved.
本情報の内容 (添付文書、リンク先などを含む) は、公開日時点のものであり、予告なく変更される場合があります。
本コンテンツの著作権、および本コンテンツ中に出てくる商標権、団体名、ロゴ、製品、サービスなどはそれぞれ、各権利保有者に帰属します。

More Related Content

PDF
【de:code 2020】 IT インフラをモダナイズ?今、検討すべきクラウドの活用方法
PDF
【de:code 2020】 セキュリティは万全ですか? Azure Sphere によるセキュリティ紹介
PDF
【de:code 2020】 Microsoft Azure データ関連サービスの紹介
PDF
【de:code 2020】 Azure Bot Services を使って Teams bot を開発する
PDF
【de:code 2020】 Power Virtual Agents : ノーコードでボットを作ろう
PDF
【de:code 2020】 そのロジック、IoT Edge で動きます - Azure IoT Edge 開発 Deep Dive
PDF
【de:code 2020】 レガシーシステムをデジタルの世界へ! Power Automate UI フロー入門
PDF
【de:code 2020】 カスタムコネクタ入門 : Power Platform と既存システムをつなげるカスタムコネクタ
【de:code 2020】 IT インフラをモダナイズ?今、検討すべきクラウドの活用方法
【de:code 2020】 セキュリティは万全ですか? Azure Sphere によるセキュリティ紹介
【de:code 2020】 Microsoft Azure データ関連サービスの紹介
【de:code 2020】 Azure Bot Services を使って Teams bot を開発する
【de:code 2020】 Power Virtual Agents : ノーコードでボットを作ろう
【de:code 2020】 そのロジック、IoT Edge で動きます - Azure IoT Edge 開発 Deep Dive
【de:code 2020】 レガシーシステムをデジタルの世界へ! Power Automate UI フロー入門
【de:code 2020】 カスタムコネクタ入門 : Power Platform と既存システムをつなげるカスタムコネクタ

What's hot (20)

PDF
【de:code 2020】 Microsoft 自身の事例から学ぶクラウド移行の価値
PDF
【de:code 2020】 あらゆるエンジニアを支援! VS Code Meetup の紹介とハンズオンで活躍するテクニック集
PDF
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
PDF
【de:code 2020】 監視と管理を自動化するサンプル Center of Excellence Starter Kit 概説
PDF
【de:code 2020】 「あつまれ フロントエンドエンジニア」 Azure Static Web Apps がやってきた
PDF
【de:code 2020】 ネットワークから見た COVID19 - リモートワークの課題を解決する次世代 VPN サービスとは
PDF
【de:code 2020】 AI on IA 最新情報 ~ CPU で AI を上手に動かすための 5 つのヒント ~
PDF
【de:code 2020】 Apps on Azure AD - アプリケーション連携 WHY と HOW
PDF
【de:code 2020】 React Native で Windows アプリ開発 ~React Native for Windows~
PDF
【de:code 2020】 ハンズオンで学ぶ AI ~ Bot Framework Composer + QnA Maker / Custom Visi...
PDF
【de:code 2020】 ついに来た!! 普通のマシンで高品質な 3D データがヌルヌル動く Azure Remote Rendering
PDF
【de:code 2020】 2020 年の最新 Xamarin 概要
PDF
【de:code 2020】 AI Builder による、ローコード AI アプリケーション
PDF
【de:code 2020】 ハイブリッド プラットフォームの最新動向を知る
PDF
【de:code 2020】 Azure Expert MSP の FIXER が処方、DX に効く 「クラウド運用」「AI」「人材育成」 の即効薬
PDF
【de:code 2020】 『RE:BEL ROBOTICA レベルロボチカ』の世界と現代をミックス! MR で変わるライフスタイルとワークスタイル ...
PDF
【de:code 2020】 Azure インフラ 最新アップデート!!
PDF
【de:code 2020】 AutoML ではじめる機械学習の民主化
PDF
【de:code 2020】 セキュアなソフトウェアを実現する、GitHub のコード解析のご紹介
PDF
【de:code 2020】 今日から始めたくなる Power Platform 入門編 ~デモで分かるローコード開発の無限の可能性~
【de:code 2020】 Microsoft 自身の事例から学ぶクラウド移行の価値
【de:code 2020】 あらゆるエンジニアを支援! VS Code Meetup の紹介とハンズオンで活躍するテクニック集
【de:code 2020】 SaaS で迅速に IoT を実現 - Azure IoT Central 最新アップデートと活用術
【de:code 2020】 監視と管理を自動化するサンプル Center of Excellence Starter Kit 概説
【de:code 2020】 「あつまれ フロントエンドエンジニア」 Azure Static Web Apps がやってきた
【de:code 2020】 ネットワークから見た COVID19 - リモートワークの課題を解決する次世代 VPN サービスとは
【de:code 2020】 AI on IA 最新情報 ~ CPU で AI を上手に動かすための 5 つのヒント ~
【de:code 2020】 Apps on Azure AD - アプリケーション連携 WHY と HOW
【de:code 2020】 React Native で Windows アプリ開発 ~React Native for Windows~
【de:code 2020】 ハンズオンで学ぶ AI ~ Bot Framework Composer + QnA Maker / Custom Visi...
【de:code 2020】 ついに来た!! 普通のマシンで高品質な 3D データがヌルヌル動く Azure Remote Rendering
【de:code 2020】 2020 年の最新 Xamarin 概要
【de:code 2020】 AI Builder による、ローコード AI アプリケーション
【de:code 2020】 ハイブリッド プラットフォームの最新動向を知る
【de:code 2020】 Azure Expert MSP の FIXER が処方、DX に効く 「クラウド運用」「AI」「人材育成」 の即効薬
【de:code 2020】 『RE:BEL ROBOTICA レベルロボチカ』の世界と現代をミックス! MR で変わるライフスタイルとワークスタイル ...
【de:code 2020】 Azure インフラ 最新アップデート!!
【de:code 2020】 AutoML ではじめる機械学習の民主化
【de:code 2020】 セキュアなソフトウェアを実現する、GitHub のコード解析のご紹介
【de:code 2020】 今日から始めたくなる Power Platform 入門編 ~デモで分かるローコード開発の無限の可能性~
Ad

Similar to 【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜 (20)

PDF
.NET の今と未来 ~ デバイス&クラウド ネイティブを目指して
PDF
Cloud から IoT まで、なんでもおまかせ ~ .NET 5 正式リリース!
PDF
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
PDF
デモで楽しむ Visual Studio 2022 & .NET 6 最新アップデート
PDF
[Japan Tech summit 2017] APP 001
PDF
【BS2】.NET 6 最新アップデート
PDF
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
PDF
.NET の過去、現在、そして未来 ~ .NET 最新アップデート
PDF
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
PDF
どっちの VS ショー / 伝統の Visual Studio 2019、人気の Visual Studio Code
PDF
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
PDF
改めて C# でできることを振り返る
PDF
Application development with c#, .net 6, blazor web assembly, asp.net web api...
PDF
Application development with c#, .net 6, blazor web assembly, asp.net web api...
PDF
[TL04] .NET 15 周年の今こそ考えるクラウドネイティブ アプリケーションと .NET の活用
PDF
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
PDF
.NET の過去、現在、そして未来
PDF
ASP.NET vNext / Visual Studio "14" に見る .NET の未来像
PDF
.NET の今とミライ (.NET Conf 2018 Japan Keynote)
PDF
.NET Coreとツール類の今
.NET の今と未来 ~ デバイス&クラウド ネイティブを目指して
Cloud から IoT まで、なんでもおまかせ ~ .NET 5 正式リリース!
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
デモで楽しむ Visual Studio 2022 & .NET 6 最新アップデート
[Japan Tech summit 2017] APP 001
【BS2】.NET 6 最新アップデート
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
.NET の過去、現在、そして未来 ~ .NET 最新アップデート
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
どっちの VS ショー / 伝統の Visual Studio 2019、人気の Visual Studio Code
.NET Core と Container, そして Azure Web Apps on Linux による Web アプリ開発最前線
改めて C# でできることを振り返る
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...
[TL04] .NET 15 周年の今こそ考えるクラウドネイティブ アプリケーションと .NET の活用
Linux & Mac OS でも動く! ~ クロスプラットフォーム対応に見る ASP.NET Core 5 の可能性 ~
.NET の過去、現在、そして未来
ASP.NET vNext / Visual Studio "14" に見る .NET の未来像
.NET の今とミライ (.NET Conf 2018 Japan Keynote)
.NET Coreとツール類の今
Ad

More from 日本マイクロソフト株式会社 (20)

PDF
【BS15】.NET アップグレード アシスタントで簡単にできます! .NET Framework アプリの .NET 6 へのマイグレーション
PDF
【BS14】Blazor WebAssemblyとJavaScriptのインターオペラビリティ
PDF
【BS13】チーム開発がこんなにも快適に!コーディングもデバッグも GitHub 上で。 GitHub Codespaces で叶えられるシームレスな開発
PDF
【BS12】Visual Studio 2022 40分一本勝負!
PDF
【BS10】Microsoft と GitHub の開発エコシステムで、開発にドライブをかけよう!
PDF
【BS9】モダン & クラウドネイティブなソフトウエア開発はじめよう ~ Azure DevOps & GitHub を使ったアプリ開発 DevOps 101
PDF
【BS8】GitHub Advanced Security で実践できる DevSecOps 対策
PDF
【BS7】GitHubをフル活用した開発
PDF
【BS5】帰ってきたハードコアデバッギング ~.NET6 を添えて~
PDF
【BS4】時は来たれり。今こそ .NET 6 へ移行する時。
PDF
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
PDF
【BS11】毎年訪れる .NET のメジャーバージョンアップに備えるために取り組めること
PDF
【BS6】 マイクロソフトの GitHub との取り組み
PDF
【BS1】What’s new in visual studio 2022 and c# 10
PDF
N08_次世代通信キャリアの "Resilience" を支援する Microsoft Cloud [Microsoft Japan Digital Days]
PDF
S09_プライバシー規約準拠の基本! Amazon S3 やオンプレ SQL もサポートする Azure Purview による情報分類と管理 [Micr...
PDF
S18_ゼロトラストを目指し、Windows 10 & M365E5 を徹底活用した弊社 (三井情報) 事例のご紹介 [Microsoft Japan D...
PDF
S17_25 分でわかる!Windows 365 [Microsoft Japan Digital Days]
PDF
S15_標準 PC にさようなら!ニューノーマルの働き方に合わせたデバイスの選択 [Microsoft Japan Digital Days]
PDF
S13_レガシー ID 管理者でも分かる Verifiable Credentials のセッション [Microsoft Japan Digital D...
【BS15】.NET アップグレード アシスタントで簡単にできます! .NET Framework アプリの .NET 6 へのマイグレーション
【BS14】Blazor WebAssemblyとJavaScriptのインターオペラビリティ
【BS13】チーム開発がこんなにも快適に!コーディングもデバッグも GitHub 上で。 GitHub Codespaces で叶えられるシームレスな開発
【BS12】Visual Studio 2022 40分一本勝負!
【BS10】Microsoft と GitHub の開発エコシステムで、開発にドライブをかけよう!
【BS9】モダン & クラウドネイティブなソフトウエア開発はじめよう ~ Azure DevOps & GitHub を使ったアプリ開発 DevOps 101
【BS8】GitHub Advanced Security で実践できる DevSecOps 対策
【BS7】GitHubをフル活用した開発
【BS5】帰ってきたハードコアデバッギング ~.NET6 を添えて~
【BS4】時は来たれり。今こそ .NET 6 へ移行する時。
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
【BS11】毎年訪れる .NET のメジャーバージョンアップに備えるために取り組めること
【BS6】 マイクロソフトの GitHub との取り組み
【BS1】What’s new in visual studio 2022 and c# 10
N08_次世代通信キャリアの "Resilience" を支援する Microsoft Cloud [Microsoft Japan Digital Days]
S09_プライバシー規約準拠の基本! Amazon S3 やオンプレ SQL もサポートする Azure Purview による情報分類と管理 [Micr...
S18_ゼロトラストを目指し、Windows 10 & M365E5 を徹底活用した弊社 (三井情報) 事例のご紹介 [Microsoft Japan D...
S17_25 分でわかる!Windows 365 [Microsoft Japan Digital Days]
S15_標準 PC にさようなら!ニューノーマルの働き方に合わせたデバイスの選択 [Microsoft Japan Digital Days]
S13_レガシー ID 管理者でも分かる Verifiable Credentials のセッション [Microsoft Japan Digital D...

【de:code 2020】 Build 2020 最新情報 〜 Azure & Visual Studio & .NET 〜

  • 1. *本資料の内容 (添付文書、リンク先などを含む) は de:code 2020 における公開日時点のものであり、予告なく変更される場合があります。 #decode20 # Build 2020 最新情報 ~ Azure & Visual Studio & .NET ~ A10 井上 章 (チャック) @chack411 マイクロソフト コーポレーション グローバル ブラックベルト Azure Cloud Native テクニカル スペシャリスト
  • 2. 本セッションについて 対象者 課題 ゴール • Build 2020 で発表になった技術情報や開発ツールに興味を持つ アプリケーション開発に携わる方 • クラウドを中心としたプラットフォームにおいて、迅速かつ信頼性の高いアプ リケーション開発とリモートワークを想定した開発ツールの環境構築が必要 • レガシー アプリケーションのクラウド移行が必要 • アプリケーション開発における、Azure, Visual Studio, および .NET に関連した最新情報を知ることができる
  • 3. セッション アジェンダ Azure - Developing for the Cloud ◼ VS Code / Visual Studio 2019 ◼ Windows Terminal 1.0 ◼ Windows Package Manager ◼ WSL 2 ◼ Visual Studio Codespaces / GitHub Codespaces Azure - Cloud Native Applications ◼ AKS updates ◼ Azure Static Web Apps Journey to one .NET ◼ .NET Core 3.1 / Blazor WebAssembly ◼ .NET 5 / .NET MAUI ◼ WinUI 3
  • 9. Visual Studio Code Tailor your editor experience with 21,000+ extensions Develop locally, remotely, or even in the browser Preview: Sync and roam your settings and extensions code.visualstudio.com
  • 10. Visual Studio 2019 Edit productively with IntelliCode and additional refactorings Collaborate with Live Share and GitHub integration v16.6 and v16.7 Preview 1 now available visualstudio.com/downloads
  • 11. Windows Terminal Optimize workflows with tabs and panes Fully customizable and open source Windows Terminal 1.0 available today aka.ms/terminal
  • 12. Windows Package Manager Secure and trusted software installation with open source GitHub app repository Set up your dev machine with a single, customizable script Preview available today aka.ms/winget
  • 13. Windows Subsystem for Linux Near-native Linux performance with a real Linux kernel Preview: Hardware accelerated workloads via GPU WSL 2 available today aka.ms/wsl
  • 14. WSL 1 と WSL 2 の比較 機能 WSL 1 WSL 2 Windows と Linux の統合 ⭕ ⭕ 高速の起動時間 ⭕ ⭕ 小さなリソース フット プリント ⭕ ⭕ マネージド VM ❌ ⭕ 完全な Linux カーネル ❌ ⭕ システム コールの完全な互換性 ❌ ⭕ VMware と VirtualBox での実行 ⭕ ❌ OS ファイル システム間でのパフォーマンス ⭕ ❌ ※ WSL 2 は Windows 10 バージョン 2004, ビルド 19041 以上 が必要 参考: https://docs.microsoft.com/ja-jp/windows/wsl/install-win10
  • 15. Codespaces Private Preview Codespaces on GitHub.com github.com/features/codespaces Preview Visual Studio Codespaces Private Preview Visual Studio 2019 support aka.ms/codespaces
  • 20. ◼ 指定した GitHub リポジトリに対して GitHub Actions ワークフローを自動生成 ◼ 静的コンテンツの Web ホスティングと グローバル分散 ◼ Azure Functions による API をサポート ◼ 各種認証プロバイダーの統合 ◼ カスタム ドメイン、無料 SSL 証明書 ◼ etc … GitHub リポジトリから Azure へフルスタック Web アプリ環境を自動的に構築してデプロイ Azure Functions バックエンドと共に Angular, React, Vue などを使用した SPA アプリの構築 Azure
  • 22. .NET エコシステム モメンタム insights.stackoverflow.com/survey/2019#most-loved-dreaded-and-wanted | github.com/cncf/velocity/ | octoverse.github.com/ www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=plaintext
  • 24. dot.net/get-core3 Also ships with Visual Studio update version 16.6
  • 25. ASP.NET Core Blazor ◼ .NET (Razor Pages & C#) でフロントエンド Web UI を開発 ◼ JavaScript, Angular, React, Vue などを知らなくても OK ◼ .NET の安定性と一貫性 ◼ すべての WebAssembly 対応ブラウザーで動作 ◼ ネイティブ パフォーマンス, プラグインなどは不要 ◼ Client と Server 間での C# コードの共有、強く型付けされた開発 ◼ 2 種類のホスティング モデル ◼ Blazor サーバー アプリ : サーバーサイドの .NET Core プロセスで実行、SignalR で通信 ◼ Blazor WebAssembly アプリ : Web ブラウザーの WebAssembly で実行 https://blazor.net Razor Components .NET WebAssembly
  • 26. Blazor WebAssembly features .NET Standard 2.1 ASP.NET Core hosted / standalone Authentication Progressive Web Apps Debugging IL trimming Precompression Configuration Globalization & localization
  • 27. One .NET vision – .NET 5 (Preview 4) ◼ .NET Core / Xamarin / .NET Framework アプリケーション モデルをサポート ◼ 統一プラットフォームへ向けた .NET Core の進化 ◼ 一つの Base Class Library (BCL) 実装 + .NET Standard ◼ 一つのツール チェーン (SDK スタイル プロジェクト) ◼ Just-in-Time (JIT) とネイティブの実行モデルをサポート ◼ Java, Swift との相互運用性 (モバイル開発 – Xamarin) ◼ .NET 5 に含まれないアプリケーション モデル ◼ ASP.NET Web Forms ◼ 代替は Blazor (移行ガイド ドキュメント公開予定) ◼ WCF (Windows Communication Foundation) ◼ 代替は gRPC for WCF server and remoting (移行ガイド ドキュメント公開予定) ◼ WF (Windows Workflow Foundation) ◼ 代替は Open source core workflow for Windows workflow (WF): https://github.com/UiPath/corewf .NET .NET STANDARD
  • 28. .NET スケジュール • .NET Core 3.1 : 2019 年 12 月 3 日 – Long Term Support (LTS) July 2019 .NET Core 3.0 Preview Sept 2019 .NET Core 3.0 Dec 2019 .NET Core 3.1 LTS Nov 2020 .NET 5.0 Nov 2021 .NET 6.0 LTS Nov 2022 .NET 7.0 Nov 2023 .NET 8.0 LTS • .NET 5.0 リリース : 2020 年 11 月 • 毎年 11 月にメジャー リリース, LTS は奇数年リリース • 予定リリース以外に必要であればマイナーリリースあり
  • 29. クロス プラットフォーム, ネイティブ UI シングル プロジェクト, シングル コードベース モバイルやデスクトップなどマルチデバイスへのデプロイ Xamarin.Forms の進化 2020 年末予定の .NET 6 preview をターゲット Build beautiful, native UI for any device .NET Multi-platform App UI (.NET MAUI) .NET MAUI .NET Platform github.com/dotnet/maui
  • 30. UWP AppsDesktop (Win32) Apps WinForms 2002 MFC 1992 WPF 2006 UWP XAML 2012 Native C++ .NET C++ & .NET
  • 31. WinUI 3 Preview 1 http://aka.ms/winui ◼ WinUI – The modern native UI platform of Windows ◼ Windows アプリのためのモダンコントロールとスタイルの UI レイヤー ◼ WinUI 3 は UWP と Win32 アプリをサポート (WinUI 2 は UWP のみ) ◼ Native C/C++, .NET 5, WebView2, Fluent Design Controls 等に対応
  • 32. C# 9.0  Ships with .NET 5  Simplicity  Data and immutability github.com/dotnet/csharplang aka.ms/LangStatus return vehicle switch { … Bus => 5.00m, DeliveryTruck t => t.GrossWeightClass switch { < 3000 => 10.00m - 2.00m, >= 3000 and <= 5000 => 10.00m, > 5000 => 10.00m + 5.00m }, not null => throw new ArgumentException(…), null => throw new ArgumentNullException(…) }; Target-typed “new”: Person person = new ("Dustin", "Campbell"); Parameter null checking: public Person(string firstName!, string lastName!){ … } Covariant returns: public virtual Person GetMember() { … } public override Student GetMember() { … }
  • 34. Build 2020 関連リソース Microsoft Build 2020 https://www.microsoft.com/en-us/build Learn TV https://docs.microsoft.com/en-us/learn/tv/ Windows Terminal https://aka.ms/terminal Windows Package Manager https://aka.ms/winget Windows Subsystem for Linux https://aka.ms/wsl Visual Studio Codespaces https://aka.ms/codespaces GitHub Codespaces https://github.com/features/codespaces Visual Studio 2019 https://visualstudio.microsoft.com/vs/ Visual Studio Code https://code.visualstudio.com Microsoft Azure https://azure.microsoft.com/ Azure App Service Static Web Apps https://docs.microsoft.com/ja-jp/azure/static-web-apps/ .NET | Free. Cross-platform. Open Source. https://dotnet.microsoft.com/ .NET Core 3.1 downloads https://dot.net/get-core3 .NET MAUI https://github.com/dotnet/maui WinUI https://aka.ms/winui WinUI 3.0 Preview 1 https://docs.microsoft.com/ja-jp/windows/apps/winui C# https://github.com/dotnet/csharplang .NET Conf 2020 https://www.dotnetconf.net
  • 35. Guidance from experts Microsoft Docs Explore overviews, tutorials, code samples, and more.
  • 36. Keep on with Microsoft Learn Complete interactive learning exercises, watch videos, and apply your new skills.
  • 37. © 2018 Microsoft Corporation. All rights reserved. 本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。 © 2020 Microsoft Corporation. All rights reserved. 本情報の内容 (添付文書、リンク先などを含む) は、公開日時点のものであり、予告なく変更される場合があります。 本コンテンツの著作権、および本コンテンツ中に出てくる商標権、団体名、ロゴ、製品、サービスなどはそれぞれ、各権利保有者に帰属します。