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
570
Let the Uncertainty be Your Friend: Finding Your Path in a Wiggly Road
tourismgeek
0
600
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
240
GraphQL
tourismgeek
0
230
I Hated React too Soon, Reconciled with It Quickly Afterwards
tourismgeek
0
67
Other Decks in Programming
See All in Programming
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
590
XP, Testing and ninja testing
m_seki
3
210
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
140
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
590
童醫院敏捷轉型的實踐經驗
cclai999
0
200
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
270
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
950
GoのGenericsによるslice操作との付き合い方
syumai
3
690
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
510
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
980
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
610
5つのアンチパターンから学ぶLT設計
narihara
1
120
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Being A Developer After 40
akosma
90
590k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
490
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
Done Done
chrislema
184
16k
GraphQLとの向き合い方2022年版
quramy
49
14k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
The Language of Interfaces
destraynor
158
25k
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