Browse by Tags
All Tags »
.NET (
RSS)
Following up on the Observer/Event Pattern , it’s time for the third pattern, the Decorator Pattern . The definition: " Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending...
Yesterday I described the Observer Pattern and mentioned that the .NET CLR provides this functionality through events and delegates . Let’s have a look on how to implement this right now. Read more at http://blog.cumps.be/design-patterns-observer-event...
Yesterday we saw the Strategy Pattern . Today I want to talk about the Observer Pattern . First, the definition again: " Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated...
The first pattern I want to talk about is the Strategy pattern , which always reminds me about the Command & Conquer games so I’ll simply use it as an example :) First of all, the definition: " Define a family of algorithms, encapsulate each one,...
In a previous article I have demonstrated how easy it is to decompile and reverse engineer .NET assemblies using Reflector and Reflexil. I've also shown that applying a strong name to your assembly does not protect your code from reverse engineering....
Over the years, plenty has been written about string performance, lots of comparisons between String.Concat and StringBuilder. Today I decided to do some of my own research into the subject and contribute to the knowledge already out there. More specifically...
In my last post I spoke about reverse engineering .NET assemblies upon which Gregory asked how to protect his code against it. Initially I thought signing an assembly would be the easiest way to prevent this, and my first tests confirmed this. I signed...
I've always been a big fan of Reflector , allowing me to have a look in assemblies to learn new things, debug in case of problems and provide usefull information when creating bug reports. Combined with the Reflexil Add-in it's now easy to also modify...
The prompt is dead, long live the prompt! That's the feeling PowerShell should give you, the new command line shell from Microsoft. Today, I'll try to determine exactly what the Power part in PowerShell stands for. Read more at http://blog.cumps.be/using...
Yesterday I talked about personalizing Outlook Today to make it look more sexy. One of the things I had on my Outlook Today, was my picture with a direct link to my contact details. To get this link, I wrote a small Outlook Add-in to give me the exact...
More Posts
Next page »