Recent Posts

Autofac and ServiceStack - Managing Life Cycle [3]

less than 1 minute read

In the previous part I suggested storing current scope in a static property. This seems to break under higher load because the scope is shared across too many instances of the same service and after the first request it gets disposed, leaving all other requ...

Updated:

ReactiveUI - Documentation

less than 1 minute read

If you have not noticed yet, the ReactiveUI team has made quite significant progress writing some documentation. It can be found here.The nice thing about this is that they also described some concepts, like the usage of Rx framework itself and the whole id...

Updated:

Autofac and ServiceStack - Managing Life Cycle [2]

less than 1 minute read

Warning: this is not working properly, check the latest version for better solution. Whilst the approach I used in the previous post is working fine for ASP.NET based ServiceStack solutions, it does not fit for the self-hosted approach since the request ha...

Updated:

Autofac and ServiceStack - Managing Life Cycle

less than 1 minute read

If you ever used Autofac with MVC or WebAPI, you know that integration modules provide you an ability to register your dependencies with life time scope that matches the HTTP request life cycle. However, when you are using ServiceStack, life becomes a bit m...

Updated:

NHibernate: Execute stored procedure with return value

less than 1 minute read

Most of our stored procedures return an error code using RETURN 0 statement. I was unable to find how to get this value, when executing such procedures using NHibernate session.I found this issue discussed on SO back in 2009 and nothing ever since. It might...

Updated: