Following is a presentation I’ve created to introduce ‘Service Oriented Architecture’ (SOA) for one of my clients. The presentation focus on SOA fundamentals: The Motif, Principles, building blocks, the architectural… Read More →
- Categories: Uncategorized •
- Tags: .NET, C#, Design Patterns, DNN, Dot Net, Dot Net Nuke, Patterns and practices •
- No Comments » •
- by Yoni Goldberg
Whenever possible, extending frameworks and robust applications should NOT be done by touching the core code and recompilation but with external, new units of code to be plugged into the framework. The open-closed principle teaches us that application should be opened for extensions but closed for modifications.
Many developers’ knowledge about passing object as parameters can be summed up with the following “In c# object parameters are always being passed by reference, if i will pass some object to another code, the same object will be in context”. While this knowledge is sufficient for most of the cases, it might cause bugs in a few. Lets take a look at some code snippet: