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
ASP.NET Web API - Filters (TR)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tugberk Ugurlu
March 17, 2012
Programming
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ASP.NET Web API - Filters (TR)
Tugberk Ugurlu
March 17, 2012
More Decks by Tugberk Ugurlu
See All by Tugberk Ugurlu
Redis Cluster for Write Intensive Workloads
tourismgeek
1
21k
Designing Towards Event Sourcing
tourismgeek
1
20k
Essentials for Building and Leading Highly Effective Development Teams
tourismgeek
0
610
Let the Uncertainty be Your Friend: Finding Your Path in a Wiggly Road
tourismgeek
0
680
Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)
tourismgeek
0
610
Levelling up to Become a Technical Lead
tourismgeek
2
28k
Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)
tourismgeek
0
280
GraphQL
tourismgeek
0
270
I Hated React too Soon, Reconciled with It Quickly Afterwards
tourismgeek
0
110
Other Decks in Programming
See All in Programming
AWS CDK を「作」ってみた 〜フルスクラッチで見えた CDK の裏側〜 / aws-cdk-from-scratch
gotok365
3
2.6k
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
430
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
140
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
390
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
7k
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
4
1.8k
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
5.6k
5分で問診!Composer セキュリティ健康診断
codmoninc
0
660
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
0
130
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
16k
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
250
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
150
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
410
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
910
We Have a Design System, Now What?
morganepeng
55
8.2k
Context Engineering - Making Every Token Count
addyosmani
9
1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Paper Plane (Part 1)
katiecoart
PRO
1
9.8k
A Soul's Torment
seathinner
6
3.1k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Transcript
ASP.NET WEB API & FILTERS Tugberk Ugurlu .NET Developer (ASP.NET)
Blog: http://www.tugberkugurlu.com/ Twitter: @tourismgeek E-mail:
[email protected]
Filitreler Nedir? İsteğin işlenme aşamasında farklı zamanlarda kendi kodumuzu
çalıştırmamıza olanak tanır. Cross-cutting Concerns Logging Caching Authorization
Filitreler Nasıl Kullanırız Filitreler C# Öznitelikleridir (Attribute) Üç
farklı alanda başvurulabilir Tüm Uygulama Controller Action
Filitre Tipleri ActionFilter (IActionFilter Interface) ActionFilterAttribute abstract class
OnActionExecuting Method OnActionExecuted Method
Filitre Tipleri ExceptionFilter (IExceptionFilter Interface) ExceptionFilterAttribute abstract class
OnException Method
Filitre Tipleri AuthorizationFilter (IAuthorizationFilter Interface) AuthorizationFilterAttribute abstract class
OnAuthorization Method System.Web.Http.AuthorizeAttribute Custom Authorization Filters Api Key Authorization Filter RequireHttps Filter
Örnek: http://tugberk.me/ApiKeyAuth
Faydalı Kaynaklar ASP.NET Web API Page http://asp.net/web-api
Çeşitli Blog Yazıları ve Kaynakların Derlemesi http://www.tugberkugurlu.com/archive/getting- started-with-asp-net-web-api-tutorials-videos-samples ASP.NET Web API Forum http://forums.asp.net/1246.aspx