つばろぐ

主に C#, .NET, Azure の備忘録です。たまに日記。

WSL2のインストールをやり直す方法

WSL2 にインストールした Ubuntu の調子が悪く、Ubuntu のリセットもうまくいかなかったことがあったため、WSL2 自体をインストールし直した。
そのときの手順をまとめる。

docs.microsoft.com

上記のインストール手順の逆をやるだけだけどね。

  1. Linux ディストリビューションをアンインストールする
  2. 仮想マシンプラットフォームの機能を無効にする dism.exe /online /disable-feature /featurename:VirtualMachinePlatform
  3. Windows Subsystem for Linux の機能を無効にする dism.exe /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux
  4. 念の為 OS の再起動を行う

これで WSL2 のアンインストールが完了するため、再度上記のドキュメントに沿って WSL2 をインストールすることができる。

Azure Static Web Apps: LINEのLIFFにBlazor WebAssemblyを設定したらちゃんと起動した

以前、 LINE の LIFF に Blazor WebAssembly アプリを設定した際にアプリにアクセスできなかった(Loadingが終わらなかった)ので、 LIFF では Blazor WebAssembly は動かないのかなーと思っていたけど、今日改めて tsubakimoto/toumei-blazor で試してみたらきちんと動いた。

LIFF の設定

developers.line.biz で LINE ログインアプリを作成し、 LIFF アプリに Blazor WebAssembly をデプロイした Azure Static Web Apps を指定する。

f:id:tech-tsubaki:20210523221701p:plain

リッチメニューの設定

LINE 公式アカウントのリッチメニューに LIFF のリンクを埋め込んだ項目を1つ作成する。

f:id:tech-tsubaki:20210523221716p:plain

www.linebiz.com

LIFF を起動

Loading でしばらく待つと Blazor WebAssembly が正しく起動した。
もしかして以前も時間がかかっていただけで、正しく起動した可能性はある・・・

LIFF の初回起動時はアプリ(LINEログイン)連携の許可が必要。

f:id:tech-tsubaki:20210523221934p:plain

f:id:tech-tsubaki:20210523221959p:plain

Microsoft Build 2021 で見る予定のセッション

もうすぐ Microsoft Build 2021 が始まりますね。今年は 5/26-5/27 (JST) です。

mybuild.microsoft.com

Build で見る予定のセッションを書いておきます。
気になるものを片っ端から登録してるから全部見れる可能性は低い・・・。

Day1: 5/26

Satya Nadella Keynote

mybuild.microsoft.com

→ ちなみにキーノートはマイクロソフトの前夜祭イベントでライブビューイングする予定です。

Satya Nadella Keynote & Technical Sessions Replay (optimized for Asia Pacific time zones)

mybuild.microsoft.com

Build cloud-native applications that run anywhere (R5)

mybuild.microsoft.com

Increase Developer Velocity with Microsoft’s end-to-end developer platform (R6)

mybuild.microsoft.com

Harness the power of data in your applications with Azure (R7)

mybuild.microsoft.com

Double-click with Microsoft engineering leaders

mybuild.microsoft.com

Day2: 5/27

Microsoft: Into Focus with Scott Guthrie, Scott Hanselman, Rajesh Jha and Kevin Scott

mybuild.microsoft.com

What's new in Visual Studio Code (R1)

mybuild.microsoft.com

The future of modern application development with .NET (R1)

mybuild.microsoft.com

Run Open Source Applications your way with Microsoft Azure (R1)

mybuild.microsoft.com

What's new for Windows desktop application development (R1)

mybuild.microsoft.com

Modernize applications using containers (R1)

mybuild.microsoft.com

Serverless: Event-driven application development (R1)

mybuild.microsoft.com

オンデマンド

.NET 6 deep dive; what's new and what's coming

mybuild.microsoft.com

Accelerating enterprise Java workloads on Azure

mybuild.microsoft.com

Build secure B2C applications with Azure AD External Identities

mybuild.microsoft.com

Building Blazor Web apps with In-App Chat, Activity Feeds, and Secure File Sharing using Weavy SDK and Telerik UI

mybuild.microsoft.com

Building Well-Architected secure applications with Azure

mybuild.microsoft.com

Enhancing the JavaScript Experience in Visual Studio

mybuild.microsoft.com

How to get end-to-end visibility across the full application development lifecycle for cloud-native applications in Azure.

mybuild.microsoft.com

Increase your .NET Productivity with Visual Studio

mybuild.microsoft.com

Microservices made easy with Dapr

mybuild.microsoft.com

Modernize your applications with Azure Storage

mybuild.microsoft.com

Run Linux web apps easily and securely on Azure App Service

mybuild.microsoft.com