Archives
-
How to get an Identity value with SQL Server 2005
It's usual (actually, I'd say recommended) to have an Identity int column as primary key. I.e., it's a common thing to define a table like this:
-
The Developer Abstraction Layer
You can always count on Joel Spolsky for some good reading. Now Joel blogs about why it's so hard for great developers to start their own company, and it really resonates to me as we started Logic Studio 3 years ago and we are still in the way of going from developers (I just don't want let go) to software company owners (it's so hard to learn).
-
TechEd 2006: I'll be there
Last thing on Thursday, April 13th, the Regional Director Program sent me an invitation for a free pass to TechEd 2006. Well, almost free: in exchange of doing some community activities actually, but as I love doing that kind of stuff who cares. The thing is that by then I was on a short holiday trip (Viernes Santo is a holiday down here) so I didn't get the e-mail until Monday, April 17th. The mail urged me to register since TechEd 2006 was selling out fast, so I rushed to the registration site and here I am ready to get to Boston (now I only need to collect the money for the plane tickets and the hotel, but hey! One thing at a time.)
-
Atlas Toolkit released
The first official release of the Atlas Toolkit is ready! Well, what nowadays is called a release, what with the release-early-get-feedback-CTP-like-hell-release-again cycle. But I won't rant at the moment because these are actually good news, so go download Atlas right now (before another early release replaces it ;-)
-
Faster databinding
My friend Harley Jácome has started blogging (hey, ¡está en español!). There he describes a neat Windows Forms databinding trick that is probably very old but that I wasn't aware of. Which one do you think is faster?
-
Do that come with an E1^n! line?
In an announcement on the future of SQL Server and related technologies, Paul Flessner mentions that:
-
Slides for the JSP - ASP.NET Architecture Comparison Webcast
As promised I just uploaded the demo files for the JSP - ASP.NET Architecture Comparison webcast. You can now download the JSP demo project (made with Eclipse) and the ASP.NET demo project (made with Visual Web Developer). Both projects connect to the Northwind database running on SQL Server Express, you will most probably have to modify the connection strings (in the Java data access classes and the ASP.NET web.config file). Do let me know if you have any problems.
-
Isolated Storage
Say you want that every user save her preferences, last actions, last login time, etc. in her PC, where would you put that information? In isolated storage of course, this is like a .NET managed folder where you can create a number of files, there is one store per user/application/assembly, and the use couldn't be simpler:
-
A revisit to a tiny C# shortcut
My blog on string.IsNullOrEmpty() caused quite a stir (in my micro-scale, anyway), I got a number of comments, most of them interesting, and I feel happy of *not* being the only guy interested in silly small details. The feedback forced me to polish my benchmark, first of all James Bogosian is right: the performance differences are really small, I had to do 20'000.000 and 30'000.000 comparisons to see some stable differences. I also introduced the name.Length > 0 comparison out of several suggestions; after some cleaning, the results for the not null and not empty string tests were these:
-
Comparing ASP.NET and JSP architecture and components
Next Tuesday 4th I'll be doing a webcast by the title of Comparing ASP.NET and Java ServerPages (JSP) Architecture and Components, as usual I'll try to minimize the quantity of slides and show as many code as possible. The webcast will be at 9:00 A.M. PST (that is, 12h00 Panamá-Bogotá-Quito-Lima time). If you would like to join us you can register here.