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
590
Let the Uncertainty be Your Friend: Finding Your Path in a Wiggly Road
tourismgeek
0
630
Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)
tourismgeek
0
580
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
77
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.4k
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
250
Amazon ECS Managed Instances が リリースされた!キャッチアップしよう!! / Let's catch up Amazon ECS Managed Instances
cocoeyes02
0
130
KoogではじめるAIエージェント開発
hiroaki404
1
290
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
14
47k
CSC305 Lecture 12
javiergs
PRO
0
250
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
350
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
140
Swift Concurrency 年表クイズ
omochi
3
220
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
1.1k
Node-REDのノードの開発・活用事例とコミュニティとの関わり(Node-RED Con Nagoya 2025)
404background
0
110
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
450
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Keith and Marios Guide to Fast Websites
keithpitt
412
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
A Tale of Four Properties
chriscoyier
161
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Docker and Python
trallard
46
3.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
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