LA.NET [EN]

September, 2007Archive

Sep 30

SVNBridge: getting your codeplex bits with tortoise

Posted in Trivia       Comments Off on SVNBridge: getting your codeplex bits with tortoise

SVNBridge is a Codeplex project which allows you to use TortoiseSVN (or other Subversion clients) with Team Foundation Server. Even though it”s still in early alpha, I”ve been using it for the last days. It still crushes a lot, but currently I can”t simply live without TortoiseSVN :,,) Btw, there”s good post by Scott Hanselman […]

Read the rest of this entry »

Sep 29

A few days ago, my fried Paulo presented the concept of Page modules. Today I”ve just noticed that Paulo has already released a new post where he replaces the default modules that are used on the Page Flow Quick Start (Page Flow  Application Block) with page modules. He even measured the response time of the […]

Read the rest of this entry »

Sep 29

IIS: the process cannot access the file because it''s being used by another process

Posted in Trivia       Comments Off on IIS: the process cannot access the file because it''s being used by another process

This is what happens when you install Skype on a machine that also has IIS. Fortunately, this has happen to others and you can find an explanation of what”s happening here: http://blogs.developerfusion.com/blogs/paulfp/archive/2007/04/16/2633.aspx

Read the rest of this entry »

Sep 28

Configuring IIS for hosting Silverlight 1.1

Posted in Uncategorized       Comments Off on Configuring IIS for hosting Silverlight 1.1

From time to time there”s always a new post asking on how to configure IIS to host Silverlight content. I”ve already written something about it, but I”d like to point you to a more complete reference which can be found here: http://silverlight.net/forums/t/479.aspx

Read the rest of this entry »

Sep 27

Book review: Windows Developer Power Tools

Posted in Books       Comments Off on Book review: Windows Developer Power Tools

[Disclaimer: I”ve received a free copy of this book for review, but I can assure you that this did not affect my review in any way] I”ve just finished reading this huge book that presents several tools that will definitely make your life as a developer a lot easier. It”s really a huge book with […]

Read the rest of this entry »

Sep 26

More info on the history of the name C#

Posted in C#       Comments Off on More info on the history of the name C#

Some time ago I wrote a post about the history of the name of the C# language. As always, I should have asked about it to Paulo. Fortunately, he read my post and got an answer to it here.

Read the rest of this entry »

Sep 25

Protected: The new ListView control

Posted in ASP.NET       Comments Off on Protected: The new ListView control

There is no excerpt because this is a protected post.

Read the rest of this entry »

Sep 25

Silverlight pages and VS integration

Posted in Silverlight       Comments Off on Silverlight pages and VS integration

Have you noticed that you can navigate from the “code-behind” file (cs file) to the designer by right clicking the page and choosing “View designer” (from the context menu that is shown when you perform right click), but there”s isn”t any option for going from the xaml page to the cs code file associated with […]

Read the rest of this entry »

Sep 25

How to share code between Silverlight and other kinds of applications?

Posted in Silverlight       Comments Off on How to share code between Silverlight and other kinds of applications?

I really haven”t looked at any Silverlight code for at least 2 months. In fact, I haven”t really been around the forums until today. Now that I”ve returned :,,), I”ve noticed that there”s a lot of similar questions around sharing code between .NET and the “mini-CLR” that is used Silverlight. The first thing you should […]

Read the rest of this entry »

Sep 24

C#: Signaling state changes through events

Posted in Uncategorized       Comments Off on C#: Signaling state changes through events

[Update: Paulo was not impressed with this post but he didn”t want to point it out in the comments. Next time, don”t be shy :,,) He thinks I should drop the old sytax and write thread-safe code. As always, he”s right. Let”s be clear: if you”re creating a new EventHandler event type, just use the […]

Read the rest of this entry »

Sep 21

What can we find in the next version of ASP.NET

Posted in ASP.NET       Comments Off on What can we find in the next version of ASP.NET

I”ve finally started looking at the next version of the ASP.NET 3.5 platform. I”ve already seen that there are some new controls there, but in this post I”d like to reference one or two things that look promising and that are related with stuff that didn”t work in the previous versions. First, a word about […]

Read the rest of this entry »

Sep 21

Yesterday I was complaining about the way NHibernate persists entities that contain collection of components. After some discussions on the Forums, Karl suggested that I should call session.Flush after calling the Save(OrUpdate) method to force the generation of the collection of components maintained in the collection. This means that something along these lines should work: […]

Read the rest of this entry »

Sep 20

I”ve started looking at NHibernate and I must say that I”m impressed with several of its features. However, I”ve reached a point where something isn”t quite right. I”m not sure if it”s me (which is probably the case) or if it”s a limitation/bug of NHibernate. Since I”m really a beginner, I thought I should write […]

Read the rest of this entry »

Sep 19

Dave again: the Renderer control

Posted in ASP.NET       Comments Off on Dave again: the Renderer control

Dave Reed keeps surprising me everyday, Another great control with so few lines of code. I”ll keep referencing just in case i get a new reader which hasn”t added his cool blog to his RSS feed (if you”re not new here and still haven”t subscribed, what are you wainting for?)

Read the rest of this entry »

Sep 18

Inline scripts inside UpdatePanels

Posted in ASP.NET, MS AJAX       Comments Off on Inline scripts inside UpdatePanels

Dave Reed has another great post that shows how to build a simple control that lets you put your script inside an UpdatePanel.

Read the rest of this entry »

Sep 17

ASP.NET page modules

Posted in ASP.NET       Comments Off on ASP.NET page modules

My good friend Paulo has a cool article on what he calls “Page Modules”. “Page Modules” can be seen as a small framework that will let you be notified about all the events of the page life time, even in those scenarios where you”re using Server.Transfer. Check it out here.

Read the rest of this entry »

Sep 17

Properties on C#

Posted in C#       3 Comments »

Properties are strange beasts…in fact, when you access a property, you”re really calling a method. Let”s start with a simple example that shows a “parameterless property”: public class Person{    public String Name;    private String _address;     public String Address    {        get { return _address; }        set { _address = value; }    }} The Person class has two fields: Name […]

Read the rest of this entry »

Sep 14

John Robbins and a cool vista explorer trick

Posted in Trivia       Comments Off on John Robbins and a cool vista explorer trick

Besides writing really cool books and articles on debugging, John Robbins has also written a post on how to improve the switching time of programs in windows vista.

Read the rest of this entry »

Sep 14

I”ve been using Vista for some time now and i”m still not used to the new copy file dialog that is shown when you”re copying a file to a place that already has a file with the same name. I was already starting to feel old and grumpy, but then Doug Stewart”s post made me […]

Read the rest of this entry »

Sep 13

Protected: Installing windows 2008 server

Posted in Trivia       Comments Off on Protected: Installing windows 2008 server

There is no excerpt because this is a protected post.

Read the rest of this entry »

Sep 11

Rendering ASP.NET controls out of order

Posted in ASP.NET       Comments Off on Rendering ASP.NET controls out of order

Dave Reed has a nice post that shows how easy it is to render controls out of order.

Read the rest of this entry »

Sep 10

C#: getting delegates

Posted in Uncategorized       Comments Off on C#: getting delegates

Well, today it”s all about delegates! If you”re looking for an intro on the subject, then there”s already several articles out there (this one by Chris Sells is good way to start). This pos tries to explain what happens when you compile a delegate from C# code. Ok, so lets start with a quick delegate […]

Read the rest of this entry »

Sep 07

According to the C# specification, an enum is “a distinct set of value types that declares a set of named constants.”. When you program in C#, you declare an enum through  the enum keyword. Here”s a quick example: public enum Permission{   Read,   Write} When you build this code, you”ll get the following IL: .class public […]

Read the rest of this entry »

Sep 06

Windows Live Writer beta 3 released

Posted in Trivia       Comments Off on Windows Live Writer beta 3 released

And interestingly, i”m writing this from Windows Live Writer beta 2. The reason is that the release doesn”t support Windows Vista x64. anyway, if you”re interested, you can get the latest release from here.

Read the rest of this entry »

Sep 06

but only because the language is a CLS compatible language. In C#, a type have several many methods with the same name provided they have different set of parameters. This feature is called overloading. The C# standard bases its overload concept on the notion of signature. In C#, the signature of a method is formed […]

Read the rest of this entry »

Sep 05

Book review: CLR via C#

Posted in Books       Comments Off on Book review: CLR via C#

I”m assuming we”re all busy people, so I”ll start with the note: 9/10. This  book is almost perfect. I believe i have 2 observations about it: CLR hosting coverage is not as good as the rest of the book. anyway, we”re talking about a huge topic and there”s already a cool book about it; I […]

Read the rest of this entry »

Sep 05

Protected: C#: should I use new on value types?

Posted in Uncategorized       Comments Off on Protected: C#: should I use new on value types?

There is no excerpt because this is a protected post.

Read the rest of this entry »

Sep 04

This is a nice question…since i”ve been using the C# language, I”ve been using the keywords that are mapped to the the simple types introduced by the FCL (ex.: i”ve been using int instead of System.Int32, etc). Now, even though that I know that the int alias/keyword is mapped to the System.Int32, I think that […]

Read the rest of this entry »

Sep 03

C# again: does declaration order matter in a C# program?

Posted in C#       Comments Off on C# again: does declaration order matter in a C# program?

(that”s what someone asked me today) And the answer is…yes and no. I”ve went to the specs to confirm my thoughts and according to it, the order declaration matters only in the following scenarios: fields: the way you put your fields in the class specifies the order in which they”re initialized; local variables must be […]

Read the rest of this entry »