aop

AOP With TypeScript

For this example, I am using the jquery.aop plugin to weave aspects into the TypeScript program. Other Aspect-Oriented Programming frameworks are available for JavaScript (and I have subsequently written Aspect a TypeScript AOP Framework) – but this is the one I have used in JavaScript and is a good example of bringing a JavaScript framework […]

Code Contracts Fail To Fire

If you are using Code Contracts in .NET and you find that they aren’t running, there are a few simple checks to perform to work out why those clever little definitions aren’t working. If you have used Code Contracts a couple of times, these are the most likely reasons the Code Contracts aren’t doing anything […]