.NET Pains – #1

Me: Hey, I’d like to automatically invoke all my authentication / logging code for my API calls.
.NET: Totally got just the thing for you. Use IDisptachMethodInspector, look for the right events and call your Auth code. Also, use Aspect Oriented Programming. Since AOP is a giant pain in the ass to configure though, use this plugin that you can buy for $500 to automate it.
Rails: Use before_filter, around_filter.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s