Tuesday, November 23, 2010

Azure Data Market

This is an interesting concept, can't wait to test/consume some of the services on https://datamarket.azure.com/!!


Thursday, November 11, 2010

Nhibernate SQL Server 2008 connection string

Not rocket science, just something that is useful to know.


NHibernate.Driver.SqlClientDriver
Data Source=localhost;Initial Catalog=LoanApp;User ID=rortiz;Password=test_1983;
10
true
NHibernate.Dialect.MsSql2008Dialect
true
60
true 1, false 0, yes 'Y', no 'N'
NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu

Wednesday, November 10, 2010

JavaScript gotcha

If you are using arrays of objects, make sure the last parameter doesn't end with a coma, for example:

test : [
{ myvar: 1},
{ myvar: 2},
{ myvar: 3},
]

This will work fine on Chrome and Firefox, but IE will consider the array to have an extra object . If your code uses the length of the array then it will crash because the last object will be null. How did I figure it out? The hard way...