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
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
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
9.4k
品質ワークショップをやってみた
nealle
0
870
Dive into Triton Internals
appleparan
0
400
Vue 3.6 時代のリアクティビティ最前線 〜Vapor/alien-signals の実践とパフォーマンス最適化〜
hiranuma
2
360
EMこそClaude Codeでコード調査しよう
shibayu36
0
550
Developer Joy - The New Paradigm
hollycummins
1
400
社会人になっても趣味開発を続けたい! / traPavilion
mazrean
1
120
業務でAIを使いたい話
hnw
0
220
エンジニアに事業やプロダクトを理解してもらうためにやってること
murabayashi
0
110
퇴근 후 1억이 거래되는 서비스 만들기 | 내가 AI를 사용하는 방법
maryang
2
320
Amazon ECS Managed Instances が リリースされた!キャッチアップしよう!! / Let's catch up Amazon ECS Managed Instances
cocoeyes02
0
120
Webサーバーサイド言語としてのRustについて
kouyuume
1
5k
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Thoughts on Productivity
jonyablonski
72
4.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
The Language of Interfaces
destraynor
162
25k
Faster Mobile Websites
deanohume
310
31k
Writing Fast Ruby
sferik
630
62k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
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