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.7k
ASP.NET Coreに入門した話
masui_masanori
0
320
Compare Java's 'var' with C#'s 'var'.
masui_masanori
0
1.5k
BoxingとUnboxingがどこで使われているか
masui_masanori
0
180
Other Decks in Programming
See All in Programming
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
430
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
AWSに止められる覚悟してますか?
morizo_1984
2
540
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
110
AmebaブログはKMPから卒業します
kmars0605
0
210
Event is what happens
moro
2
960
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
780
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
270
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1k
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
160
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Fireside Chat
paigeccino
43
4.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
New Earth Scene 8
popppiees
4
2.7k
Paper Plane
katiecoart
PRO
5
54k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Embracing the Ebb and Flow
colly
88
5.2k
Transcript
None
None
⚫ では特にライブラリなどを追加しなくても を使うことができる での 有効化は必要 。 ⚫ には 種類あり、 が別に分かれているもの
、 でいうコードビハインドを持つもの がある。 それぞれファイルを置くディレクトリが異なる。 基本的な書き方は同じ
⚫
⚫
⚫ ⚫ ディレクトリ
⚫
⚫ ⚫ ディレクトリ
⚫
⚫ 構文として用意されているものは大きく つ それ以上あるかもですが のコードを書く を っぽく書く
大好きマンなので の話しかしてませんが、 などでも書けます になる
⚫ を付けることで の変数やメソッドが使える ⚫ 処理が複数行にわたる場合、 など が必要な場合は でくくる ⚫ や
など、専用に構文が用意されているものもある
•
•
•
⚫ など特定の タグには のような 構文が用意されている。 ⚫ を使うことで、より っぽく書くことができる。
•
⚫ を使うことで、 でフォームを閉じる 必要がなくなる上、スコープもわかりやすい ・ㅂ・ و ̑̑ グッ ⚫ を使うことで、
側にデータを渡すときの 紐づけが楽 ・ㅂ・ و ̑̑ グッ
Q1. こんなコードを書くとどうなるでしょう?
⚫ ⚫ ⚫ ⚫
Q2. こんなコードを書くとどうなるでしょう?
⚫ ⚫
Q3. こんなコードを書くとどうなるでしょう?
⚫
•
正直 が使われる場所、というのはかなり限定されると思う。 と で担当分けが難しそうなので とはいえこれだけ 寄りに書ける、というのは特に両方一人で書く場合 かなり助かる。あとこんな風になるのか!と楽しい。 、 がもう少し広まっていくと の評価も
高くなっていくのかも。
• • • • • •
• • • •