Note! This is an update to my previous post. For history and explanation of the consuming code see my previous post. I have made some quick changes to make the JSON API and the Proxy API that I wrote about in the earlier post, easier to use. I have put the code in an external … Continue reading »
Tagged with Castle DynamicProxy …
Getting started with MongoDB – Using Json.Net and Castle Dynamic proxy
This post is divided in three blocks: – Getting MongoDB to run on your machine – Consume it manually via the MongoDB – Console – Consume it from C# code. Updates! See new post. Or how to do it, using Simple-MongoDB If you are just intereseted in the C# implementation, the section for how to … Continue reading »
Use StructureMap and Castle DynamicProxy to easily change the semantics of your code
In this posting my intentions are to show you how to use Inversion of Control (IoC), with the help of StructureMap, for being able to easily switch the semantics of e.g entities in a model with the change of a few lines in the StructureMap configuration. I will use it to go from plain classes … Continue reading »