LA.NET [EN]

April, 2010Archive

Apr 29

Short ones

Posted in Trivia       Comments Off on Short ones

While everybody’s still talking (at least in Europe, that is) about how Mourinho managed to put Barça out of the Euro-Champs league final (here’s Il Speciale celebrating this tremendous achievement), I’ve stumbled across a post by Steve Jobs on why IXXX does not support Flash. It’s an interesting read…though I definitely don’t agree with everything […]

Read the rest of this entry »

Apr 24

Constants are (really!) different from read-only fields. Unfortunately, there are still many people which can’t tell the difference between them, so I thought about writing a small post on this topic. A constant is a symbol (ie, an alias) for value that *never* changes. That’s why you can only define constant primitive types (wtf? Primitive […]

Read the rest of this entry »

Apr 22

2011-01-12 15:22:09

Read the rest of this entry »

Apr 17

Book review: Irrationality

Posted in Books       Comments Off on Book review: Irrationality

Yesterday I’ve finally finished reading Stuart Sutherland’s Irrationality. I’ve found it really entertaining and I do recommend its reading to anyone that wants to better understand what (ir)rationality means. Stuart Sutherland makes his point (we all act irrationally sometimes) by presenting the results of several experiments that have been conducted along several years. Overconfidence and […]

Read the rest of this entry »

Apr 14

It’s still not for sale, but you can be notified when it’s out. Btw, here’s its cover:

Read the rest of this entry »

Apr 14

Back to the basics: Culture

Posted in .NET, Basics, C#       Comments Off on Back to the basics: Culture

In a previous post about basic concepts, I’ve talked a little bit about the version number and about the different “types” of version you can find in an assembly. Today, I’ll proceed with the basics concepts series and we’ll take a quick detour into Cultures. Cultures are identified by a string which can contain two […]

Read the rest of this entry »

Apr 14

What’s new in .NET 4.0 and VS 2010

Posted in C#, VS 2010       Comments Off on What’s new in .NET 4.0 and VS 2010

As always, Scott Guthrie describes the new features in his blog. Even though there’s lots of new cool stuff, one new feature caught my eye: CLR 4 engine now runs side-by-side in-process with older versions of the CLR – allowing you to use two different versions of .NET within the same process.  It also includes […]

Read the rest of this entry »

Apr 13

If you’ve been following this blog, then you know that I’ve been updating an existing project to .NET 4.0 (btw, don’t forget to download VS 2010; it’s already available for MSDN subscribers). This upgrade has been a great way to start using several great new features in a real world project. One extra benefit has […]

Read the rest of this entry »

Apr 12

2011-01-12 15:21:32

Read the rest of this entry »

Apr 09

As I’ve said before, I’ve started porting an existing project to .NET 4.0. I’ve tried using the new features .NET 4.0 introduces (ex.: code contracts). One of the objectives I had was replacing the traditional WCF service calls with RIA services. Until now, I’ve watched a couple of presentations (for instance, Nikhil’s presentation on MIX […]

Read the rest of this entry »

Apr 07

Protected: The OnDeserializingAttribute – part II

Posted in C#, Design by Contract, WCF       Comments Off on Protected: The OnDeserializingAttribute – part II

There is no excerpt because this is a protected post.

Read the rest of this entry »

Apr 06

The OnDeserializingAttribute

Posted in WCF       Comments Off on The OnDeserializingAttribute

Since I’m porting an existing project to .NET 4.0, I’ve thought about using code contracts in order to improve my code base (and yes, I can say that after some initial frustrations, code contracts is my pal now :),,). And yes, it did improve…but since I’m using runtime exceptions, that also meant that I started […]

Read the rest of this entry »

Apr 06

While migrating a simple project from Silverlight 3.0 to 4.0 RC, I’ve noticed that the my project no longer compiles. I’ve started getting errors which said that something like “Array does not have an Add method”. After looking at the proxy that was generated by the add reference dialog, I’ve noticed that the ObservableCollection option […]

Read the rest of this entry »

Apr 02

Protected: The new String.IsNullOrWhiteSpace method

Posted in C#       Enter your password to view comments.

There is no excerpt because this is a protected post.

Read the rest of this entry »

Apr 01

Silverlight: getting started with commands

Posted in Silverlight       Comments Off on Silverlight: getting started with commands

Silverlight 4.0 added the notion of command. In practice, a command is any object which implements the ICommand interface (btw, this is another of those interfaces which have been imported from WPF). Currently, the interface exposes the following members: Execute: this method is responsible for executing the logic  associated with this command; CanExecute: this method […]

Read the rest of this entry »