Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Story that .NET Core is usable in Function ...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

The Story that .NET Core is usable in Function Compute of Alibaba Cloud

Avatar for Yuko Chinen

Yuko Chinen

October 12, 2019

More Decks by Yuko Chinen

Other Decks in Technology

Transcript

  1. 使用言語比較(標準で用意されているもの) AWS Azure GCP Alibaba Java 〇 〇 × 〇

    PHP × × × 〇 Node.js 〇 〇 〇 〇 C# 〇 〇 × 〇 Ruby 〇 × × × Python 〇 〇 〇 〇 Go 〇 × 〇 × PowerShell 〇 〇 × × F# × 〇 × × TypeScript × 〇 × ×
  2. 関数作成の流れ 1. プロジェクト作成 ➢ Single関数:コンソールアプリ(.NET Core) ➢ Httpハンドラー:ASP.NET Core Webアプリケーション

    2. NuGetでパッケージをインストール ➢ Aliyun.Serverless.Core ➢ Aliyun.Serverless.Core.Http 3. ビルドと発行 ➢ 構成をReleaseにしてプロジェクトを発行 ➢ publishディレクトリ内を丸ごとzip化 4. 関数作成 ➢ コンソール画面で関数を作成 5. アップロード方法 ➢ 直接zipファイルをアップロード ➢ OSS(Object Strage Service)にzipファイルをアップロード