Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Webアプリをできるだけコードを手書きしないで作ってみる
Search
tomokusaba
April 24, 2024
Programming
2
240
Webアプリをできるだけコードを手書きしないで作ってみる
Webアプリをできるだけコードを手書きしないで作ってみる
.NETラボ勉強会2024年4月
https://dotnetlab.connpass.com/event/314310/
tomokusaba
April 24, 2024
Tweet
Share
More Decks by tomokusaba
See All by tomokusaba
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
980
プロンプトエンジニアリング入門
tomokusaba
2
1.3k
Sementic Kernelのネイティブ関数について
tomokusaba
0
940
C#でのPlaywrightを使ったE2Eテストの実際
tomokusaba
0
470
「インフラ初心者」…からのPlaywright Testing
tomokusaba
1
330
Fluent UI Blazorの新しいComponentについて
tomokusaba
0
310
「インフラ初心者の私がAzure VMで.NETアプリをホストするまでサンタを帰さない」の続き!
tomokusaba
1
320
Sementic Kernelのネイティブ関数について
tomokusaba
0
290
Semantic Kernelのすすめ
tomokusaba
0
260
Other Decks in Programming
See All in Programming
HonoのRPCで真の型安全が欲しかった
kosei28
1
160
WebGLで始める コンピュータグラフィックス入門
heller77
0
390
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
13
4.4k
Next.js App Router
quramy
14
2.3k
Three ways to use AI on Android: The Good, the Bad and the Ugly
marxallski
0
120
Exploring Type-Informed Lint Rules in Rust based TypeScript Linters
unvalley
3
650
RaaP
ksss
0
160
TypeScript Custom GitHub Action Development Tips
peaceiris
5
860
Porting mruby/c for the SNES (Super Famicom) - RubyKaigi 2024
gedorinku
0
430
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
2k
Namespace, What and Why
tagomoris
4
1.4k
Implementing Design Systems in Swift
seyfoyun
2
530
Featured
See All Featured
Fireside Chat
paigeccino
22
2.7k
Facilitating Awesome Meetings
lara
43
5.6k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
14
8.4k
Bash Introduction
62gerente
605
210k
Learning to Love Humans: Emotional Interface Design
aarron
268
39k
How to Ace a Technical Interview
jacobian
273
22k
KATA
mclloyd
16
12k
In The Pink: A Labor of Love
frogandcode
138
21k
Into the Great Unknown - MozCon
thekraken
15
1.1k
Transcript
Webアプリをできるだけコード を手書きしないで作ってみる 株式会社SAKURUG プロダクトDiv 草場 友光 .NETラボ勉強会2024年4月
自己紹介 • 普段は主にシステムをAzureにモダナ イズする仕事をしています。 • コミュニティ活動を通じて知識をアッ プデートしています。 • 2022/08-2024 Microsoft
MVP (Developer Technologies) • tomo_kusaba
宣伝 【VISION】ひとの可能性を開花させる企業であり続ける VISIONに共感できる仲間募集中。
注意 • 個人の見解・解釈が多分に入っています。 • 見解の相違・事実誤認などありましたらご指摘ください。 • #dotnetlabでtweetすると左側に表示されます
今日の目的 • Visual Studio2022にはコードを自動生成する便利な機能が いくつか備わっています。 • GitHub Copilotはもちろんのこと本日はスキャフォールディン グについて便利と感じてほしいです。
今回使う道具 • Razor Components using Entity Framework(CRUD) • Connected Services
• Github Copilot
Razor Components using Entity Framework(CRUD) • モデルからEntityFrameworkCoreを使用したCRUDができ るRazorコンポーネントを生成 • 前提としてBlazorのServer側レンダリングで実行されること
• スキャフォールディングで生成される表はQuickGridで表示さ れるのでカスタマイズしてソートなど様々な機能を使用可能。
Connected Services • Entity Framework Coreの移行ファイルを作成 • 移行ファイルからデータベースを更新
GitHub Copilot • きっとモデルをよしなに作ってくれる!!
デモ
参考文献 • New Blazor scaffolder (Preview) https://devblogs.microsoft.com/dotnet/announcin g-asp-net-core-in-dotnet-8/#new-blazor- scaffolder-preview •
新しいBlazorスキャフォールディング機能でCRUDしてみる https://zenn.dev/tomokusaba/articles/e610e1e96 bf900
おしまい おしまい
Semantic Kernelでの実装+妹ドメイ ンで配信 • https://github.com/tomokusaba/BuildJapanAIHand sonDay1-1 上記リポジトリがスタート地点 • Semantic Kernelのライブラリーを最新にして、Build
Japan 2023開催当時からの破壊的変更を乗り越えること。 • コメントがある箇所を実装すること。 • 妹GPTにふさわしいプロンプトを作成し実装する(重要) • 妹ドメインにデプロイすること。