LA.NET [EN]

2009Archive

Dec 24

See all next year!

Read the rest of this entry »

Dec 11

“Finally!!!”, you say…I hear you man! With ASP.NET 4.0, we can enable/disable session state programmatically (like in C# code 🙂 ,,). The new version of the framework adds a new method (SetSessionStateBehavior) to the HttpContext class. You’re supposed to pass it a value from the SessionStatebehavior to influence the use of session state. Currently, you […]

Read the rest of this entry »

Dec 09

Christmas 2009 in Funchal

Posted in Trivia       Comments Off on Christmas 2009 in Funchal

Yesterday I’ve took some pictures of Funchal by night. This is really the best time of year to visit this city…

Read the rest of this entry »

Dec 09

Ensuring that IIS 7 will handle extensionless URLs

Posted in ASP.NET       Comments Off on Ensuring that IIS 7 will handle extensionless URLs

As you probably know, I’ve been updating my ASP.NET book to 4.0. It has been more work that initially expected, but I can also say that I’ve been having some fun. One of the things I’ve had to investigate was routing. This is one of those cool additions that will really help improve SEO in […]

Read the rest of this entry »

Dec 05

The “Cannot open user default database…” error

Posted in ASP.NET       Comments Off on The “Cannot open user default database…” error

2011-01-12 15:18:19

Read the rest of this entry »

Dec 03

Everybody knows that using view state means that you’ll go to hell when you die….nonetheless, many keeps using it, even after having been warned about it (probably because they find heaven to dull??? who knows 🙂 ,,)…to be honest, the default opt-out model we had until now didn’t really helped. The good news is that […]

Read the rest of this entry »

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 »