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 […]
November, 2009Archive
Protected: Getting 503 errors on IIS 7 with custom application pool (Integrated Mode)?
There is no excerpt because this is a protected post.
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 […]
Protected: Reverting to Office 32 bits
There is no excerpt because this is a protected post.
Asking feedback for ASP.NET book
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 […]
Some observations on MS AJAX and JQuery integration
2011-01-12 15:09:55
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 […]
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 […]
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.
MS AJAX Lib beta is out
You can get it from here. I’m curious to see if it contains new features…
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 :,,)
XAML: what about events?
2011-01-12 15:09:18
Protected: How to build types that can be consumed from XAML
There is no excerpt because this is a protected post.
Associating XAML namespaces to CLR namespaces
2011-01-12 15:09:08
South Africa 2010: here we go, here we go!
A friendly advice to the Bosnian coach: next time, play more and talk less!
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 […]
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; […]
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, […]
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…
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 […]
XAML and property elements
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 […]
Introducing XAML
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, […]
New Security model for .NET 4.0
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.
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 […]
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 […]
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 […]
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 […]
Getting your ADO.NET Data Services uris right: the easy way
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, […]