Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Razorに触れてみた
Search
masanori_msl
November 10, 2018
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Razorに触れてみた
わんくま同盟 大阪勉強会#74 + プログラミング生放送 勉強会 第56回@大阪 (2018/11/10開催)のLTで使用した資料です。
masanori_msl
November 10, 2018
More Decks by masanori_msl
See All by masanori_msl
WPFで印刷しよう!
masui_masanori
1
1k
Programming ASP.NETCore を推したい話
masui_masanori
0
320
C#erがTypeScriptでフロントエンドに挑戦している話
masui_masanori
0
290
ASP.NET CoreやTypeScriptの力を借りてレガシー寄りの環境に立ち向かいたかった話
masui_masanori
1
280
やっぱりわからんTaskの話
masui_masanori
0
180
AzurePipelinesでコンティニュアスにインテグレーションしたい
masui_masanori
0
1.6k
ASP.NET Coreに入門した話
masui_masanori
0
320
Compare Java's 'var' with C#'s 'var'.
masui_masanori
0
1.4k
BoxingとUnboxingがどこで使われているか
masui_masanori
0
180
Other Decks in Programming
See All in Programming
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
5.8k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
260
contenteditable と日本語入力に向き合う
colorful12
0
180
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
34
16k
Jetpack Compose Mechanisms
skydoves
2
650
The Rails Doctrine Decade
koic
2
540
APNsからLive Activityを開始する話
yumnumm
0
160
速習iPhone Duo対応
yuukiw00w
2
970
SREの越境 / SRE Collaboration
y0hgi
2
300
dotNET_vulnclicker_intro.pdf
deka_morita
0
130
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.9k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
A designer walks into a library…
pauljervisheath
211
25k
Speed Design
sergeychernyshev
33
2.1k
Skip the Path - Find Your Career Trail
mkilby
1
250
How to make the Groovebox
asonas
2
2.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Marketing to machines
jonoalderson
1
5.9k
Transcript
None
None
⚫ では特にライブラリなどを追加しなくても を使うことができる での 有効化は必要 。 ⚫ には 種類あり、 が別に分かれているもの
、 でいうコードビハインドを持つもの がある。 それぞれファイルを置くディレクトリが異なる。 基本的な書き方は同じ
⚫
⚫
⚫ ⚫ ディレクトリ
⚫
⚫ ⚫ ディレクトリ
⚫
⚫ 構文として用意されているものは大きく つ それ以上あるかもですが のコードを書く を っぽく書く
大好きマンなので の話しかしてませんが、 などでも書けます になる
⚫ を付けることで の変数やメソッドが使える ⚫ 処理が複数行にわたる場合、 など が必要な場合は でくくる ⚫ や
など、専用に構文が用意されているものもある
•
•
•
⚫ など特定の タグには のような 構文が用意されている。 ⚫ を使うことで、より っぽく書くことができる。
•
⚫ を使うことで、 でフォームを閉じる 必要がなくなる上、スコープもわかりやすい ・ㅂ・ و ̑̑ グッ ⚫ を使うことで、
側にデータを渡すときの 紐づけが楽 ・ㅂ・ و ̑̑ グッ
Q1. こんなコードを書くとどうなるでしょう?
⚫ ⚫ ⚫ ⚫
Q2. こんなコードを書くとどうなるでしょう?
⚫ ⚫
Q3. こんなコードを書くとどうなるでしょう?
⚫
•
正直 が使われる場所、というのはかなり限定されると思う。 と で担当分けが難しそうなので とはいえこれだけ 寄りに書ける、というのは特に両方一人で書く場合 かなり助かる。あとこんな風になるのか!と楽しい。 、 がもう少し広まっていくと の評価も
高くなっていくのかも。
• • • • • •
• • • •