Recently I’ve been working with the Pattern and Practices group in a guide around Data Access focused on high scalability and availability of data driven applications. Through the book we show several DB families while analyzing their advantages and disadvantages when used in real life apps. The book is still in its final phase, but several drops have... read more
In this short post I will show you how you can easily test your MVC routes using Fakes as mocking framework. Besides there is a lot of mocking frameworks you can choose to unit test your code, Fakes provides you the ability to mock almost any class within the framework, not just interfaces or virtual... read more
Continuing with my incursion in the NoSql database world, these days I’ve been playing with Couchbase installed on Windows 8 (after tackling several issues). Finally, after downloaded and installed it successfully, I’ve created a simple console application in C# to test its basis (as I did in my previous articles ‘Using MongoDB from C#‘ and ‘A little of... read more
The following are the workaround steps, that worked for me, when installing Couchbase (Enterprise Edition) under a Windows 8 operating system. After following these steps I’ve been able to get a healthy instance running. The workarounds in which this article is based can be found online, so here I’m going to keep it simple and just... read more
Hi, a few days ago I published an article showing how you can easily use MongoDB under C#. In this article I mainly plan to show the same operations or features, but using RavenDB. As this database is built in C# it will be easier to integrate it a native C# client. Besides both databases have very similar... read more
Today I’ve been playing a little with MongoDB, and after enjoyed triggering a few commands from Mongo’s console, I decided to download, build and try the C# driver. Build it and use it is pretty straightforward, and in a couple of minutes you can be playing with your local database from a C# console application. So I... read more
Lately I’ve reading the ‘Seven Databases in Seven Weeks’ book, and besides recommending it if you like databases in general, there are a lot of interesting concepts and ideas to learn from. In this post I won’t be talking about the details or good uses of a particular DB or which one to choose to... read more
Recently I’ve been working with NHibernate, and besides configuring trivial mappings, I had to deal with some not so trivial: when I wanted to link to tables using an alternative key between them. In this short post I’ll resume the necessary steps to do this in case you need to do it too (in a... read more
Lately, I’ve been working with the P&P group and something came up requiring to do Data Extensibility within Azure Table Storage. As this storage model is different to traditional DB schemas, we’ve found a similar approach relying on reflection and continued using the Microsoft.WindowsAzure.StorageClient assembly provided by Azure’s SDK. The problem to solve is how... read more
Microsoft Codename “Trust Services” lets several parties to encrypt/decrypt data over shared resources according to policies determined by an Administrator, where none of the parties have direct knowledge of the encryption key which is managed by a Trust Server. The Administrator, via an X509 certificate uploaded while provisioning a Trust Server, is the only one... read more