LA.NET [EN]

November, 2009Archive

Nov 30

I’d like to apologize for the lack of posts lately…no, I haven’t given up in my Silverlight series, but I’ve been busy updating my existing ASP.NET book to the 4.0 version. It seems like I will have a lot of work (much more than I had anticipated, but the truth is that I really enjoy […]

Read the rest of this entry »

Nov 26

Protected: Getting 503 errors on IIS 7 with custom application pool (Integrated Mode)?

Posted in ASP.NET       Comments Off on Protected: Getting 503 errors on IIS 7 with custom application pool (Integrated Mode)?

There is no excerpt because this is a protected post.

Read the rest of this entry »

Nov 26

Changing the action attribute of an HtmlForm

Posted in Uncategorized       Comments Off on Changing the action attribute of an HtmlForm

In these last days I’ve went back to ASP.NET world (server side) since I’m thinking in rewriting my ASP.NET book (which was written way back when ASP.NET 2.0 was released and which got a slight updated for .NET 3.5). One of the  things I’ve noticed is that now we can change the action attribute of […]

Read the rest of this entry »

Nov 24

Protected: Reverting to Office 32 bits

Posted in Trivia       Enter your password to view comments.

There is no excerpt because this is a protected post.

Read the rest of this entry »

Nov 24

This is a post to my Portuguese readers (ie, for those guys and gals that have read my Portuguese books). I’m still preparing material for a possible ASP.NET 4.0 book and I would really appreciate some feedback on the previous editions (that is, if you read the book). What did you like? What didn’t you […]

Read the rest of this entry »

Nov 24

Some observations on MS AJAX and JQuery integration

Posted in Javascript, MS AJAX       Comments Off on Some observations on MS AJAX and JQuery integration

2011-01-12 15:09:55

Read the rest of this entry »

Nov 23

MS AJAX beta – new plugins

Posted in Javascript, MS AJAX       Comments Off on MS AJAX beta – new plugins

The MS AJAX beta release adds some new plugins to the previous ones. Besides the existing setCommand and bind, we now have access to the following plugins: addHander: you can use this plugin to set up a handler for one event fired by one or several DOM elements; removeHandler: as you can probably guess from […]

Read the rest of this entry »

Nov 23

2011-01-12 15:09:44

Read the rest of this entry »

Nov 23

Markup extensions

Posted in Silverlight, XAML       Comments Off on Markup extensions

Markup extensions allows you to extend the expressibility of XAML. You use markup extensions to escape the general treatment that attribute values get (by default, we’ve seen that they are treated as strings or that a type converter is used to convert them to the adequate type). Markup extension expressions are always delimited by the […]

Read the rest of this entry »

Nov 22

Book review: The back of the napkin

Posted in Books       Comments Off on Book review: The back of the napkin

This was one of the books I’ve read during my summer vacations. Dan Roam tries to show us how we can use visual thinking to solve problems. I found it interesting and enlightening, though I must confess that I still haven’t tested all of his ideas in my day-to-day work. Overall, I’m giving it 7.5/10.

Read the rest of this entry »

Nov 20

You can get it from here. I’m curious to see if it contains new features…

Read the rest of this entry »

Nov 20

Reactive Extensions for .NET

Posted in Parallel Extensions       Comments Off on Reactive Extensions for .NET

I’ve just noticed this post from the Parallel team. Now, this will be useful because it seems like it solves lots of the bugs introduced in the latest public CTP of the Parallel lib :,,)

Read the rest of this entry »

Nov 19

XAML: what about events?

Posted in Silverlight, XAML       Comments Off on XAML: what about events?

2011-01-12 15:09:18

Read the rest of this entry »

Nov 19

Protected: How to build types that can be consumed from XAML

Posted in Silverlight, XAML       Comments Off on Protected: How to build types that can be consumed from XAML

There is no excerpt because this is a protected post.

Read the rest of this entry »

Nov 19

Associating XAML namespaces to CLR namespaces

Posted in Silverlight, XAML       Comments Off on Associating XAML namespaces to CLR namespaces

2011-01-12 15:09:08

Read the rest of this entry »

Nov 18

South Africa 2010: here we go, here we go!

Posted in Trivia       Comments Off on South Africa 2010: here we go, here we go!

A friendly advice to the Bosnian coach: next time, play more and talk less!

Read the rest of this entry »

Nov 18

XAML languages features

Posted in Silverlight, XAML       Comments Off on XAML languages features

As I’ve said before, Silverlight supports only a subset of the existing XAML keywords you can use in WPF. Here’s the list of keywords you can use in your Silverlight: x:Class: you can apply this attribute to the root element of the XAML file (or object tree) that is going to be “compiled”. When you […]

Read the rest of this entry »

Nov 18

XAML and collections

Posted in Silverlight, XAML       Comments Off on XAML and collections

We’ve already talked about several features related to XAML. In this post, we’ll keep going and we’ll see how to specify collections in XAML. There are two basic types of collections you can use in XAML: lists and dictionaries. Before going on, it’s important to understand that you’re not really creating new collections in XAML; […]

Read the rest of this entry »

Nov 18

Type converter on Silverlight

Posted in Silverlight, XAML       Comments Off on Type converter on Silverlight

Today we’ll talk a little bit about the role played by type converters in “transforming” XAML into C# objects. Here’s a quick example: <Button xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="bt" Click="bt_Click" Width="100" Content="Say Hi" Background="Red" /> If you look carefully, you’ll see that Background expects a Brush object. All XAML attribute are strings by default. In  other words, […]

Read the rest of this entry »

Nov 17

Plano Inclinado: Portuguese talk show which looks at how things are in the real “Portugal”

Posted in Trivia       Comments Off on Plano Inclinado: Portuguese talk show which looks at how things are in the real “Portugal”

If you’ve missed it, then don’t forget to check it online. It’s really a shame that most Portuguese people won’t ever watch this program (which is probably one of the first programs with real quality in Portugal) because they’re watching soap operas or some other low quality programs…

Read the rest of this entry »

Nov 17

XAML: using content properties

Posted in Silverlight, XAML       Comments Off on XAML: using content properties

In the previous post, we’ve seen that we can use one of two approaches for setting the value of a property: we can use the property element or the attribute syntax (and, as we’ve seen in the previous post, you can’t use them both interchangeably). In this post, we’ll keep going and we’ll see how […]

Read the rest of this entry »

Nov 17

In the previous post, we’ve started looking at same basic XAML. At the time, we’ve defined a simple button by using the following syntax: <Button xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="bt" Content="Say hi" Click="bt_Click" /> In the previous snippet, we’re setting the Content property and the Click event. Btw, and in case you’re wondering, events are set up […]

Read the rest of this entry »

Nov 16

You can’t really do it any other way: we must understand XAML before going on (at least, its basic features). In this post, we’ll start looking at XAML and at how we can use it to define the UI of our Silverlight user controls. So, the big question: what is XAML? To me, XAML (which, […]

Read the rest of this entry »

Nov 16

It seems like CLR 4.0 will introduce a new security model (which looks a lot like the one we’ve got in Silverlight). Shawn Farkas has an excellent post which compares the two rule sets and explains what happens in several scenarios.

Read the rest of this entry »

Nov 16

Getting started with Silverlight

Posted in Silverlight       Comments Off on Getting started with Silverlight

Last Friday, I’ve decided to start looking at Silverlight. This time, I’ve opted for starting with a book (generally, I prefer to go through the source code and run some tests along the way;). As usual, I’ll be writing a couple of posts to describe my experiences with this platform. Even though I don’t have […]

Read the rest of this entry »

Nov 13

At least, when the RTM version is released! Ok, I guess you need some context: in the previous post, I talked about a problem which was mentioned to me by Andy in the comments of an existing post. The problem was that the __msajaxBindings field ended up being added to an object used in a […]

Read the rest of this entry »

Nov 11

In my “goodbye MS AJAX post”, reader Andy asked a really interesting question: how to serialize an object which is used in a binding relationship? The main problem is that the JavaScriptSerializer doesn’t support circular references. Unfortunately, it doesn’t also provide a way for you to specify which properties should be serialized. However, the problem […]

Read the rest of this entry »

Nov 09

Well, this really doesn’t deserve any special attention. Ok, let me put it another way: there’s a lot of work going on behind the scenes, but you shouldn’t have to worry with any of it. I’ve thought about writing a post on the objects that end up being used by the AdoNetDataContext to propagate changes […]

Read the rest of this entry »

Nov 09

Here we are again, for more on the MS AJAX library. In the previous post, we’ve seen that we can interact with ADO.NET Data Services by using the AdoNetDataContext instances. Today, we’ll be looking at more advanced features of the ADO.NET Data Services which are also available in the MS AJAX library. Before going on, […]

Read the rest of this entry »