Here is an answer to my previous post about Dictionary<>. The answer is yes, it is possible that added instance can't be found later on. Consider this, a […]
Dictionary<> fun
Here is a brief trivia. Take a look at this piece of code: Dictionary<Tubo, object> dictionary = new Dictionary<Tubo, object>(); Tubo tubo = new Tubo(); dictionary.Add(tubo, new object()); […]
Accessing controls in OnPreInit method might be tricky when MasterPage is used
Today I've come across an odd problem. I had to set SkinID property of a control dynamically and this step can be achieved only during PreInit event (OnPreInit […]
Comparing strings
Comparing two strings is easy and simple, right? Wrong. Check out this article which deals with string comparison in .net 2.0. As an exercise guess the output of this piece […]
Neverending saga of writing data into Program Files folder
Writing application data into Program Files folder is bad. Period. Only the files at install time should be written to Program Files folder. Otherwise one is facing security […]
.net will dive into parallelism
According to Soma .net will push for parallelism. This is hardly a surprise as multicore CPUs and multi CPUs are becoming mainstream. Microsoft Research has already some projects that […]
Inserting records containing timestamp columns in ADO.NET Entity Framework
In case you are playing with ADO.NET Entity Framework you might have seen that, by default, when you have timestamp columns in a new entity they are being inserted […]
Say bye to ADO.NET Entity Framework in Orcas/.NET 3.5 RTM
As many reported (including me), ADO.NET team decided to postpone the EDM designer after Orcas/.NET 3.5 RTM. With this move they basically frozen the use of EF in real […]
Starting with ADO.NET Entity Framework in Orcas beta 1
Orcas is bringing two similar but different LINQed ORM approaches: LINQ to SQL and Entity Framework/LINQ to Entities. I thought that it is about time to try out […]
Here we go, Orcas beta 1 is available for download
Soma brings us good news, as usual. Orcas beta 1 is available for download. For now the bits are available only to MSDN Subscribers, but soon they are supposed to appear […]