Ninject Example Code and Slides from NWNUG Lightning Talk

6a00d83420db0253ef0105361d2716970b-800wi

I lightning did a talk at last week's (11/18) NWNUG meeting on Ninject. I have posted the demo code and slides (in PDF form) below. In this example, I show how easy it is to swap out your data access layers using Ninject as the dependency injection framework.

Please do not hesitate to email me if you have issues or questions about Ninject or this demonstration. My email address is on the sidebar of this blog.

Download Demo Source Code

Download Slides [PDF]

How To Encrypt/Decrypt Sensitive Column Contents in NHibernate/Active Record [Video]

In this video, I show a solution that encrypts and decrypts column contents in a database using NHibernate and Active Record. The implementation is a simple attribute placed on your Active Record class properties which allows for encrypting text before it is saved to the database and decrypting text when it comes from the database. This solution is simple and clean and can easily be placed on all sensitive database columns such as user passwords, credit card details, etc.

In order to view the code correctly, you may need to view it in a full window. I am looking into using some Silverlight encoding for a better experience.

Video link:

Download the source that is shown in this video.