Tuesday, April 24, 2012

HOW TO: Map an entity property to a CLOB field (nHibernate / Fluent)

I'm working on a project that uses nHibernate with Fluent. Today I needed to map an entity property to an Oracle CLOB field. So, after a little of googling, I find that the solution is just to set the CustomSqlType property of the entity to "CLOB" in the mapping class, or if you prefer (as in my case) in a Convention.

The link to the solution in Stackoverflow.

Friday, April 13, 2012

HTTPS on WCF Web service & Temporary Certificates for Use During Development

Many times I find myself searching the same technical stuff over and over, so, in an heroic effort towards efficiency I decide to start this blog. The idea is that every technical research that I have to go through will be documented here, so whenever I need the information again, it will be easy to reach and remember. BTW as in my gaming blog, I want to remark that English is not my mother language, so this blog will be an exercise too. Suggestions and corrections are welcome.

Well, enough blathering, let's begin with the tech stuff...

Yesterday I needed to secure a windows service that exposes a Web service through WCF wsHttpBinding. While searching how to accomplish the task, I realize that I have searched a lot of times about how in earth do the SSL certificates works, and how do you create a temporary certificate for development purposes. So here are the links to the omnipotent Microsoft reference:

Bonus:

Trough the day I searched for a couple of useful things too. Maybe they look pretty basic but I'm sure I'll look for them in the future: