By tag: AOP
0
kicks
Getting Started with AOP using Postsharp
Taking a look at how to implemented AOP (Aspect Orientated Programming) with PostSharp.
We will be using the Postsharp library in this episode and we will take a look at how to create our first Aspect as well as how to use the metadata with the aspect to provide real business value in your applic...
0
kicks
Working with Advanced Aspects with Postsharp
Taking a look at how to use the AOP (Aspect Orientated Programming) framework Postsharp.
In this episode we will focus on how to use the OnMethodBoundry, MethodInterceptions, LocationInterception and EventInterception Aspects. We will look at how each of these can be used and how they can be used...
0
kicks
PostSharp Principals
Learn how to use the features of PostSharp to get the most out of Aspect Oriented Programming.
0
kicks
Aspects and on-hover descriptions
Always wanted to add a description telling you exactly what an applied PostSharp aspect does, when hovering over the marked field/property/method/class/...?
PostSharp does not have such a feature, but I found a way! Look inside for the result.
0
kicks
Attribute Based Caching 1.2 Released
Attribute Based Caching 1.2 has been Released. It’s still the .net only caching library that has declarative cache invalidation.
Project Description
Cache expensive methods calls with a declarative attribute. No custom code required. Configure caching method using unity. Options include In-proc...
0
kicks
Introducing PostSharp 2.0: #3 - Coping With Many Aspects
Gael Fraiteur explains how PostSharp 2.0 will cope with aspects when many of them are applied to the same code element: ordering, conflicts, commutativity, and Lie algebra :).
0
kicks
My baby steps to PostSharp 1.0
So… you downloaded PostSharp 1.0 and you installed it and are wondering… “What’s next?”.
Well my friends, let me walk you through the first steps of PostSharp. What could we do that would be simple enough? Hummm… what about writing to a debug window? That sounds simple enough! Let’s start.
0
kicks
PostSharp – The best way to do AOP in .NET
Who knows about Aspect-Oriented Programming (AOP)? Common! Don’t be shy! Ok, now lower your hands. My prediction is that a lot of you didn’t raise their hands. So let’s resume what AOP is:
Aspect-oriented programming is a programming paradigm that increases modularity by enabling improved separat...
0
kicks
Core: An Aspect Oriented Business Objects Framework
Learn about aspect-oriented design patterns and how they can be used to quickly add common functionality to your business objects. Josh Heyse explains how Aspect-Oriented Programming allows for the separation of true business logic and the code written allowing interaction with user interfaces. The ...
0
kicks
Lazy Loading with PostSharp
Recently I wanted to use PostSharp for some simplistic lazy loading, but ended up hitting a couple of problems along the way. It all started very well – I defined an OnFieldAccessAttribute, removed the field in GetOptions() and overrided OnGetValue() to lazily create the type. My creation code was s...
0
kicks
Aspect Oriented Programming with PostSharp
This post illustrates how Aspect Oriented Programming can help you write less and more readable code. Using PostSharp, Dan illustrates how you can add constraints to your method arguments.
0
kicks
Security implementation tips
Article describes some architecture techniques and explanation on how to use AOP for security mechanisms implementation. Finally, it contains several non obvious tips that could improve security or security development.
0
kicks
Dependency Injection in WCF Services Part 4
In this post, Javi shows how to apply parameter validation in WCF services using Castle WCF facility and the Enterprise Library Validation Block.
0
kicks
Dependency Injection in WCF Services Part 3
After Javi explained in the first post these series the problems you may run into when applying Dependency Injection in your distributed service layer, and in the second one how to put the theory in practice using Castle Windsor WCF Facility, in this post Javi explains how to appy cross cutting con...
0
kicks
IoC and the Unity Application Block Once Again
Interesting post about IoC containers, comparing Castle Windsor Container, StructureMap and Unity.