Monday, January 31, 2011

backbone.js

This looks like a useful tool for those that write a lot of javascript for web development.

From backbone.js website:
"Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface."

Here is a quick write up on how to use the library from Thomas Davis.

Saturday, January 29, 2011

How to set CommandTimeout in EF5

var objectContectAdapter = this.DbContext as IObjectContextAdapter;
objectContectAdapter.ObjectContext.CommandTimeout = 120;

Friday, January 28, 2011

A new beginning

I removed all my previous posts from this blog and started anew. It was interesting reading through my trials and tribulations but it is time to start a new chapter and leaving the past behind.

I guess I should give a little explanation for my blog url. I wanted it to be myrandomthoughts but someone already took it. I decided to be creative and look up the translation for the word thought in Vietnamese and ý kiến came up. So, there you have it. The story of my blog url.