Category Archives: dotNET

Got Indigo Day at MS Waltham (Boston) with David Chappell

So I popped over to blog feed reader and I see “Got Indigo Day” in Boston. I can’t see the whole post and I can’t help thinking “who the heck is gonna do that?”. Who in Boston knows Indigo well enough already to present on it on behalf of Microsoft? Will they just be reading a script or something? Then I scroll down and get a big aha! moment — it’s David Chappell. Okay, I’m conviced!  ðŸ™‚

http://www.AcehAid.org

Obsolete [Beta] APIs in .NET 2.0

If you have been and continue to be using pre-release versions of .NET 2.0, Kit George has pointed to this download which will list the APIs that are in existing bits that will not make it to the final RTM version. Definitely pay attention to this!

Clarification for those who may need it: These are NOT v1.x APIs, but APIs that are new to .NET 2.0 that have been in the current beta and other pre-release bits and will probably be in the Beta 2.0 as well. But they won’t make it to the final release.

http://www.AcehAid.org

BCL Blog Day: Twenty Two posts from the BCL Team today, march 15th

This is impressive! I need to dig through them to see if there is anything to update for my BCL Talk at DevConnections next week.
 
[note: they kept going the next day with another 13 or so posts! See Kit’s complete summary here…]
 
Take note of Kit’s post on the .NET Vision and the Best Features post.


http://www.AcehAid.org

switch with optional cases (stacked case labels)

this took me a while time to find via MSDN Library or Google. That’s because I didn’t notice it at the bottom of the “switch” explanation on C# (duh!). (And because the fantabulous C# & VB.NET Conversion Pocket Ref doesn’t have an index and I couldn’t find the listing for this in the TOC.) It’s hard when you don’t really know what you are looking for! That is my driving reason for doing the C# for VB programmers talk (at Code Camp this weekend and at DevConnections in a few weeks)

VB lets you put optional cases together as in

Case 3 Or 4 3,4   ‘(duh, I guess I should have gone and looked at one of my many examples of this in my real applications!)
  ‘do something if it’s 3 or 4

C# does it this way

case 3:
case 4:
 //do something if it’s 3 or 4

This seems to be referred to as “stacked case labels”.



http://www.AcehAid.org

Dino E on Partial Classes

Dino Esposito has an article in the current Code Magazine called “Implications and Repercussions of Partial Classes in the .NET Framework 2.0“. It is a good, thoughtful look at partial classes, what you might want to do with them, where they are obviously beneficial, and where they are possibly beneficial. One of the approaches he was suggesting (as doable, not necessarily a best practice) was using partial classes (in SMALL apps) to organize your business logic, data logic, etc. As I was reading that part, my temperature started to rise and then I got a great laugh when he writes:

“Is this approach recommended? It depends. It surely provides you with an alternative. If you’re a design and OOP puriset, you’re already putting a curse on me. So, guess what? In this case, I woulnd’t even suggest this to you. Onthe other hand, if you’re moroe open-minded and used to looking at final results, you might want to take a closer look at this approach.”



http://www.AcehAid.org