WebAssemblyとBlazor 、WebAssembly System Interfaceでコンテナライズの設計を解説Takao Tetsuro
WebAssembly(WASM)とWebAssembly System Interface(WASI)は、コンテナライゼーションのアーキテクチャのひとつです。DockerやWSL(Windows Subsystem for Linux)と同じく、皆さんの業務ロジックにモビリティとスケーラビリティを与えてくれます。モビリティとスケーラビリティを考慮したプログラムを作る一例として、Rust、Nodeなどの技術を交えコンテナライゼーションを解説します。
WebAssemblyとBlazor 、WebAssembly System Interfaceでコンテナライズの設計を解説Takao Tetsuro
WebAssembly(WASM)とWebAssembly System Interface(WASI)は、コンテナライゼーションのアーキテクチャのひとつです。DockerやWSL(Windows Subsystem for Linux)と同じく、皆さんの業務ロジックにモビリティとスケーラビリティを与えてくれます。モビリティとスケーラビリティを考慮したプログラムを作る一例として、Rust、Nodeなどの技術を交えコンテナライゼーションを解説します。
Clash of Oni Online - VR Multiplay Sword Action Yoshifumi Kawai
"Clash of Oni Online" is made in 2016 Japan VR Hackathon.
2days(31 hours) create vr contents challenge.
This game is made for HTC Vive.
The ancient giant evil Ogre is approaching to the Castle. Charge secret “Samurai Blade” in hand, and repel enemy attack!
Vive Control is your powerful Samurai Blade, hit back rocks Ogre throwing!
Multiplayer online play is available!Cooperate with mate and beat red Ogre up!
SQL Server 2017でLinuxに対応し、その延長線でDocker対応やKubernetesによる可用性構成が組めるようになりました。そしてリリースを間近に控えたSQL Server 2019ではKubernetesを活用したBig Data Cluster機能の提供が予定されており、コンテナの活用範囲はさらに広がっています。
本セッションではこれからSQL Serverコンテナに触れていくための基礎知識と実際に触れてみるための手順やサンプルをお届けします。
var msbuild = new MSBuild(2020);
var updates = msbuild.getUpdates("Azure", "Visual Studio", ".NET");
foreach (var update in updates)
{
update.Show();
}
Similar to ASP.NET Core のお気に入りの機能たち (docker向け) (20)
New features of Azure Cloud Provider in OpenShift Container Platform 3.10Takayoshi Tanaka
The document discusses new features of the Azure Cloud Provider in OpenShift 3.10. Key changes include installer improvements that allow for creating an azure.conf file and internal hostname in Azure NICs. There are also upgrades to Azure disk/file mount options and performance improvements for mounting and unmounting Azure disks. Experimental features mentioned include more advanced options for LoadBalancers, using Azure REST API authentication via Managed Service Identity, and monitoring via Prometheus.
New features of Azure Cloud Provider at OCP 3.10Takayoshi Tanaka
The document discusses new features in Azure Cloud Provider for OpenShift 3.10. Key points include:
- Installer improvements like generating azure.conf and supporting internal hostnames.
- Potential upgrade issues when moving azure.conf from /etc/azure to /etc/origin/cloudprovider.
- Changes to Azure disk/file mount options and permissions.
- Performance improvements for mounting/unmounting Azure disks.
- Experimental features around load balancers, managed service identity, and Prometheus monitoring.
2. 自己紹介
Red Hat K.K. 勤務
◦ Software Maintenance Engineer
◦ 担当はOpenShiftと(いつの間にか)Microsoftとの協業分野全般
◦ .NET Core on RHEL, Red Hat solutions on Azure, SQL Server on RHEL
◦ 会社Blog: Red Hat Developers
Personal
◦福岡県北九州市出身
◦ Microsoft MVP for VSDT
◦ Blog: 銀の光と碧い空
◦ Build Insiderで.NET Core連載中
VSDT: Visual Studio & Development Technologies
9. 新しいDockerfile
FROM microsoft/aspnetcore:2.0 AS base
WORKDIR /app
EXPOSE 80
FROM microsoft/aspnetcore-build:2.0 AS build
WORKDIR /src
COPY *.sln ./
COPY WebApplication1/WebApplication1.csproj WebApplication1/
RUN dotnet restore
COPY . .
WORKDIR /src/WebApplication1
RUN dotnet build -c Release -o /app
FROM build AS publish
RUN dotnet publish -c Release -o /app
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "WebApplication1.dll"]
31. container A
cnotainer B
container C
ASP.NET Core
ASP.NET Core
ASP.NET Core
それぞれのコンテナに
別々にセッションデータが格納される
container AでHTTPセッション確立しても
次のHTTPリクエストがcontainer Bだと
確立したセッションの情報はない
33. container A
container B
container C
ASP.NET Core
ASP.NET Core
ASP.NET Core
Session Data
A’
containerごとに異なるキー
セッションデータ自体を
共有できても、キーが違うので
復号できず意味がない
~/.aspnet
IDistributedCacheをRedisに設定するだけだと…
34. machine A
machine B
machine C
ASP.NET Core
ASP.NET Core
ASP.NET Core
Session Data
IDataProtectionもRedisに設定
キー自体をRedisに保存して
共有するのでOK!
Redisが死んだ場合の考慮は必要
37. BlogTemplateを題材にしてみます
ASP.NET Coreで作られたブログテンプレート
◦ MSDN Blogで紹介
Welcome to the New Blog Template for ASP.NET Developers
◦ ブログのデータはFilesystem上にxmlファイルとして配置するので、
EF Coreは認証まわりで利用するのみ
修正する必要はあるけどクロスプラットフォームで動きます
◦ Local SQLServer SQLite
◦ https://github.com/VenusInterns/BlogTemplate/issues/187
◦ SQL Server on Linuxでもいいけど同じ1ファイルベースで扱えるので
◦ ファイルパスがWindows Style前提なのを共通化
◦ https://github.com/VenusInterns/BlogTemplate/issues/188