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
Tugberk Ugurlu
March 17, 2012
Programming
0
71
ASP.NET Web API - Filters (TR)
Tugberk Ugurlu
March 17, 2012
Tweet
Share
More Decks by Tugberk Ugurlu
See All by Tugberk Ugurlu
Redis Cluster for Write Intensive Workloads
tourismgeek
1
20k
Designing Towards Event Sourcing
tourismgeek
1
20k
Essentials for Building and Leading Highly Effective Development Teams
tourismgeek
0
580
Let the Uncertainty be Your Friend: Finding Your Path in a Wiggly Road
tourismgeek
0
620
Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)
tourismgeek
0
560
Levelling up to Become a Technical Lead
tourismgeek
2
28k
Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)
tourismgeek
0
250
GraphQL
tourismgeek
0
240
I Hated React too Soon, Reconciled with It Quickly Afterwards
tourismgeek
0
71
Other Decks in Programming
See All in Programming
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
190
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
OSS開発者という働き方
andpad
5
1.7k
testingを眺める
matumoto
1
140
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
480
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
2.8k
為你自己學 Python - 冷知識篇
eddie
1
350
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
4.3k
API Platform 4.2: Redefining API Development
soyuka
0
240
Deep Dive into Kotlin Flow
jmatsu
1
370
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
270
RDoc meets YARD
okuramasafumi
4
170
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
431
66k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Navigating Team Friction
lara
189
15k
Thoughts on Productivity
jonyablonski
70
4.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Cult of Friendly URLs
andyhume
79
6.6k
A designer walks into a library…
pauljervisheath
207
24k
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