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
Transcript
28 slides
None
None
⚫ では特にライブラリなどを追加しなくても を使うことができる での 有効化は必要 。 ⚫ には 種類あり、 が別に分かれているもの
、 でいうコードビハインドを持つもの がある。 それぞれファイルを置くディレクトリが異なる。 基本的な書き方は同じ
⚫
⚫
⚫ ⚫ ディレクトリ
⚫
⚫ ⚫ ディレクトリ
⚫
⚫ 構文として用意されているものは大きく つ それ以上あるかもですが のコードを書く を っぽく書く
大好きマンなので の話しかしてませんが、 などでも書けます になる
⚫ を付けることで の変数やメソッドが使える ⚫ 処理が複数行にわたる場合、 など が必要な場合は でくくる ⚫ や
など、専用に構文が用意されているものもある
•
•
•
⚫ など特定の タグには のような 構文が用意されている。 ⚫ を使うことで、より っぽく書くことができる。
•
⚫ を使うことで、 でフォームを閉じる 必要がなくなる上、スコープもわかりやすい ・ㅂ・ و ̑̑ グッ ⚫ を使うことで、
側にデータを渡すときの 紐づけが楽 ・ㅂ・ و ̑̑ グッ
Q1. こんなコードを書くとどうなるでしょう?
⚫ ⚫ ⚫ ⚫
Q2. こんなコードを書くとどうなるでしょう?
⚫ ⚫
Q3. こんなコードを書くとどうなるでしょう?
⚫
•
正直 が使われる場所、というのはかなり限定されると思う。 と で担当分けが難しそうなので とはいえこれだけ 寄りに書ける、というのは特に両方一人で書く場合 かなり助かる。あとこんな風になるのか!と楽しい。 、 がもう少し広まっていくと の評価も
高くなっていくのかも。
• • • • • •
• • • •
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
290
やっぱりわからんTaskの話
masui_masanori
0
180
AzurePipelinesでコンティニュアスにインテグレーションしたい
masui_masanori
0
1.7k
ASP.NET Coreに入門した話
masui_masanori
0
330
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
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.7k
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
100
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
260
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
0
120
SODA - FACT BOOK(EN)
sodainc
1
240
はじめてのPLATEAU
nokonoko1203
1
650
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
180
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
0
120
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
Building Applications with DynamoDB
mza
96
7.3k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
980
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
460
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Mobile First: as difficult as doing things right
swwweet
225
10k
GitHub's CSS Performance
jonrohan
1033
470k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
So, you think you're a good person
axbom
PRO
2
2.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k