PostSharp

Recording for my webinar with PostSharp

Again, I’d like to thank Igal Tabach­nik and SharpCrafters for invit­ing me to do the webi­nar, the record­ing of the ses­sion is now avail­able on their Vimeo chan­nel. Pseu­do Real Time Per­for­mance Mon­i­tor­ing with AOP and AWS Cloud­Watch from SharpCrafters on Vimeo.   Per­for­mance Mon­i­tor­ing with AOP and Ama­zon Cloud­Watch View more Pow­er­Point from Yan …

Record­ing for my webi­nar with Post­SharpRead More »

Slides and Source Code for my webinar with PostSharp

Fol­low­ing my recent webi­nar with SharpCrafters on how to set­up pseu­do real-time per­for­mance mon­i­tor­ing using Aspect Ori­ent­ed Pro­gram­ming and Ama­zon Cloud­Watch, I’d like to say thanks to the guys for hav­ing me, it was a great fun For any­one inter­est­ed, the source code is avail­able at: http://aop-demo.s3.amazonaws.com/RTPerfMonDemo.zip If you want to run the demo con­sole …

Slides and Source Code for my webi­nar with Post­SharpRead More »

PostSharp webinar

I will be doing a webi­nar with the good folks of Post­Sharp on the 22nd March to talk about the use of AOP and AWS Cloud­Watch as a pseu­do real-time per­for­mance mon­i­tor­ing tool (see high-lev­­el overview here). It’s a free webi­nar, it runs from 22nd March 3PM – 4PM GMT, the reg­is­tra­tion link is here. …

Post­Sharp webi­narRead More »

Pseudo RealTime performance monitoring with AOP and AWS CloudWatch

This is some­thing I’ve men­tioned in my recent AOP talks, and I think it’s wor­thy of a wider audi­ence as it can be very use­ful to any­one who’s obsessed with per­for­mance as I am. At iwi, we take per­for­mance very seri­ous­ly and are always look­ing to improve the per­for­mance of our appli­ca­tions. In order for …

Pseu­do Real­Time per­for­mance mon­i­tor­ing with AOP and AWS Cloud­WatchRead More »

AOP — Enforce initialization with PostSharp

Oh, the Pain! Now and again we all come across an object which requires ini­tial­iza­tion before it can be used but with noth­ing there to stop us from try­ing to use it before it’s ini­tial­ized. In most cas­es you will get a seem­ing­ly unre­lat­ed excep­tion (e.g. null ref­er­ence when the object tries to use some …

AOP — Enforce ini­tial­iza­tion with Post­SharpRead More »

.Net Tips — Restricting attribute usage to specific type

Before you get your hopes up, sor­ry, there’s no built-in sup­port to allow you to restrict the usage of your attribute to a type eas­i­ly. That’s not to say that it’s impos­si­ble though! If you’re read­ing this, I assume that you’ve tried to write a cus­tom attribute your­self and realised that the options avail­able in …

.Net Tips — Restrict­ing attribute usage to spe­cif­ic typeRead More »

AOP — FIFO Memoizer with PostSharp

Back in my first post on AOP, I men­tioned the Mem­o­iz­er on D. Patrick Caldwell’s blog, well, today I came across a sit­u­a­tion where I was able to use it but first I need­ed to make a few mod­i­fi­ca­tions because the orig­i­nal imple­men­ta­tion didn’t sat­is­fy some of my require­ments: There is no cap on the …

AOP — FIFO Mem­o­iz­er with Post­SharpRead More »

AOP — Method execution time watcher with PostSharp

I found a nice usage of AOP the oth­er day, using AOP to keep track of how long your method takes to exe­cute and log a warn­ing mes­sage if it takes longer than a thresh­old you sup­ply. You can con­fig­ure it to log exe­cu­tion times or only flag warn­ing entries when threshold’s been exceed­ed.

.Net Tips — use DebuggerStepThrough attribute

When debug­ging your appli­ca­tion, don’t you just get annoyed that press­ing F11 keep tak­ing you into the get method of the prop­er­ties (auto-prop­er­ties exclud­ed!) passed into the method rather than the method you want to step into? I use auto-prop­er­ties wher­ev­er pos­si­ble because they’re syn­tac­ti­cal­ly clean­er and have less main­te­nance over­head, and I have the …

.Net Tips — use Debug­ger­StepThrough attributeRead More »

Buzzword Buster — AOP

Def­i­n­i­tion: Aspect Orient­ed Program­ming (AOP) is a pro­gram­ming par­a­digm where each appli­ca­tion can focus on its pri­ma­ry func­tions and core con­cerns by encour­ag­ing greater mod­u­lar­i­ty and increas­ing sep­a­ra­tion of cross-cut­t­ing con­cerns (such as log­ging and authen­ti­ca­tion). Pur­pose: In any real-world appli­ca­tions, when you’re writ­ing code to address the prob­lem domain (say, book­ing an order) you …

Buzz­word Buster — AOPRead More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close