LA.NET [EN]

March, 2009Archive

Mar 30

Just take a look.

Read the rest of this entry »

Mar 26

The MVC framework: the ContentTypeAttribute attribute

Posted in ASP.NET, MVC       Comments Off on The MVC framework: the ContentTypeAttribute attribute

Another short post on the features available on the MVC futures assembly…today, we’re going to take a look at the ContentTypeAttribute. This attribute is an action filter attribute and you can use it to setup the content type of the current response (ie, you can apply this attribute to an action method to influence the […]

Read the rest of this entry »

Mar 25

The MVC framework: pay one take several

Posted in ASP.NET, MVC       Comments Off on The MVC framework: pay one take several

Ok, not really! It’s still free…today I didn’t really had the time to dig into the stuff I wanted to investigate. So, I’ll just present several interesting topics about the MVC futures assembly: Binders: the MVC future has some offers in this area. Let’s start with the ByteArrayModelBinder. This binder will recover a byte array […]

Read the rest of this entry »

Mar 24

Ok, here we are again for another episode on the inner workings of the MVC futures assembly. Today, we’re going to take a look at the HtmlHelper extension methods defined on the ViewExtension class. The current release of this class introduces two (static extension) methods which you can use to execute an action “in-place” during […]

Read the rest of this entry »

Mar 23

A few months back, we’ve seen how TempData is implemented and how it should be used. Today we’re going to keep looking at the future assembly and we’ll take a look at the CookieTempDataProvider class. The class implements the ITempDataProvider interface and you can use it it you intend to persist the temp data dictionary […]

Read the rest of this entry »

Mar 22

The MVC framework: more on the future’s helpers

Posted in ASP.NET, MVC       Comments Off on The MVC framework: more on the future’s helpers

Ok, so in the previous posts I kept talking about some of the helpers available on the future assembly. In this short post we’re going to complement that information with some more methods that let you expressions for specifying form actions (yes, this can be seen as form extensions, part III). The future assembly introduces […]

Read the rest of this entry »

Mar 22

Impressed with SuperPreview

Posted in ASP.NET, Tools       Comments Off on Impressed with SuperPreview

I”ve started watching MIX sessions and, until now, I can tell you that I’m really impressed with SuperPreview. I’ll be getting the expression tools just to see what it can be done with it (do keep in mind that there’s also a free version for IE).

Read the rest of this entry »

Mar 22

Today we’re going to keep looking at other helps available on the future assembly. The topic for today is: ButtonBuilder and using the available extension methods for adding HTML button type elements to the page. We’re going to start looking at the functionalities available on the ButtonBuilder class (keep in mind that you won’t probably […]

Read the rest of this entry »

Mar 21

Ok, now that codeplex is up again, I’ve already downloaded the latest bits for the ASP.NET MVC framework. In the past, we’ve already seen that there are several helpers for generating links for specific actions. As we’re going to see today, the future assemblies adds more ActionLink extension method helpers that let you specify the […]

Read the rest of this entry »

Mar 20

Mix sessions online

Posted in Trivia       Comments Off on Mix sessions online

Just a quick note for those that stayed home: there are several MIX 09 sessions are already available. Go get them!

Read the rest of this entry »

Mar 20

MIX almost over

Posted in Trivia       Comments Off on MIX almost over

And I still haven’t finished watching the 1st keynote…oh well, that’s what happens when you have lots of things to do…as you all know, MVC is out (which is great!) and I do intend to continue my posts on  it as soon as I can get my hands on a futures assembly which works with […]

Read the rest of this entry »

Mar 17

Today we’re going to keep looking at the futures assembly. In a previous post, we’ve seen how we can easily return a file from an action method. Today, we’re going to take a look at how we can use the FileCollectionModelBinder to get access to a group of files that have been uploaded to the […]

Read the rest of this entry »

Mar 16

Technical debt

Posted in Trivia       Comments Off on Technical debt

Technical debt is a cool metaphor introduced by Ward Cunningham. Martin Fowler has a nice post on it here too. In my current job, I see this happening almost every day. The worst thing is that it really seems like there’s nothing that can  be done to correct things.  It always starts with a tight […]

Read the rest of this entry »

Mar 16

Protected: Monodevelop 2.0 looks good

Posted in Uncategorized       Comments Off on Protected: Monodevelop 2.0 looks good

There is no excerpt because this is a protected post.

Read the rest of this entry »

Mar 16

Today we’re going to look at the last available control on the futures assembly: we’re talking about the Repeater control. If you’ve dealt with web forms server controls in the past, then looking at the code of the Repeater class shouldn’t make you have any “haha moment”. As you might expect, the class expands the […]

Read the rest of this entry »

Mar 14

References are not pointers in C#

Posted in C#       Comments Off on References are not pointers in C#

As you know, C# supports the concepts of references and value types. Most of the time, reference types tend to be presented as some sort of synonym for a memory address. I’ve seen it everywhere and I’ve used that analogy too when trying to help others to understand the difference between value types and reference […]

Read the rest of this entry »

Mar 13

Why can’t we use var on field declaration?

Posted in C#       Comments Off on Why can’t we use var on field declaration?

This was a question I’d always wanted to see answered… finally, I’ve got my answer..

Read the rest of this entry »

Mar 13

Consistency vs availability

Posted in Architecture       Comments Off on Consistency vs availability

Excellent article by Werner Vogels on how to achieve eventual consistency.

Read the rest of this entry »

Mar 12

Multithreading is one of the topics I’ll have to start looking at with more attention and I’m thinking of adding posts about it in the future. Today I’ve read an interesting article on how to debug multithreaded applications on the site Packt. The author has also written a book on that topic (which I’ve already […]

Read the rest of this entry »

Mar 12

The MVC framework: the DropDownList control

Posted in ASP.NET, MVC       Comments Off on The MVC framework: the DropDownList control

2011-01-12 12:01:15

Read the rest of this entry »

Mar 12

Congrats!

Read the rest of this entry »

Mar 11

The MVC framework: more on the MvcInputControl

Posted in ASP.NET, MVC       Comments Off on The MVC framework: more on the MvcInputControl

Oh well…after all, the MvcInputControl is more complex than I initially thought. The problem was that I was using SVN for getting the code and it seems like the current available release is for that kind of access is still RC1. Fortunately, you can still download the source from codeplex and that is what I […]

Read the rest of this entry »

Mar 11

As you might expect (from the title), this is another post on the MVC controls series. Today we’ll be looking at the MvcInputControl class which is responsible for rendering the text input controls. As you might expect, this class expands the MvcControl class and it exposes only one constructor which receives the type of text […]

Read the rest of this entry »

Mar 10

Protected: The MVC framework: the Label control

Posted in ASP.NET, MVC       Comments Off on Protected: The MVC framework: the Label control

There is no excerpt because this is a protected post.

Read the rest of this entry »

Mar 09

The MVC framework: getting started with the MVC controls

Posted in ASP.NET, MVC       Comments Off on The MVC framework: getting started with the MVC controls

Ok, you’ve probably read Eilon’s post on the new MVC controls. I was asking for something like that when I mentioned that I dind’t think that codebehind files were evil. So, I thought it would be great to take a look at what’s available for the current release (even though the controls are still on […]

Read the rest of this entry »

Mar 09

Beware: this is a rant! CGD returns withdrawn money to its clients

Posted in Trivia       Comments Off on Beware: this is a rant! CGD returns withdrawn money to its clients

You know what: Portugal is really becoming  a 3rd world country…Just take a look at this.  It’s only another sad episode that happened here. I’ll translate since it’s in Portuguese. It says something like this: CDG (Caixa Geral Depositos) returns money that it had withdrawn from the  client’s accounts without any warning. What happened? Ok, […]

Read the rest of this entry »

Mar 08

Posts for the next days

Posted in ASP.NET, MVC       Comments Off on Posts for the next days

This should keep me occupied for some time…

Read the rest of this entry »

Mar 08

Book review: Our Iceberg is Melting

Posted in Books       Comments Off on Book review: Our Iceberg is Melting

I’ve just finished reading this John Kotter’s books. It’s really short (I’ve read it during this afternoon) and it really presents most of the problems you’ll find whenever you try to introduce any sort of change into an organization. The penguin fable is really cool and I bet you’ll identify all of the “penguins” of your […]

Read the rest of this entry »

Mar 08

Greg Young DDD presentation on E-VAN

Posted in DDD       Comments Off on Greg Young DDD presentation on E-VAN

Really interesting talk by Greg Young on DDD and on how to apply CQS to your domain. Recommended.

Read the rest of this entry »