Monthly Archives: June 2005

ADO.NET 2.0 and System.Transactions vs. SqlTransactions

I had someone ask an ADO.NET question last night that I just couldn’t answer. It was a little more about distributed transactions which I have little experience with. So I had him type the question into Notepad on my laptop. Twenty minutes later, I saw Pablo Castro and had him type the answer so that I could get it back to Ziga without misinterpretation. Pablo also filled me in so that I understood the question as well as the answer. I thought I would share it here….

Q. What’s the performance difference when using a transaction scope vs. assigning transactions to connections & sqlcommands the ado.net 1.1 way?

A. Short answer (there is much more to this topic)

If you’re using System.Transactions against a SQL Server 2005 server, then the cost is more or less the same (assuming that you don’t bring more than one Sql connection to the scope).

On the other hand, if you’re hitting a SQL Server 2000 server, then System.Transactions will be more expensive because we’ll “promote” the transaction (into a distributed transaction) even for the very first connection.

Posted from BLInk!

VS2005 Release Date Announced

surely this is everywhere on the blogosphere, but I want to be sure to push it to the VTdoNET site!

Paul Flessner announced the official release date for VS 2005 – Nov 7th.

According to Mark Fussell, the program manager for WSE, WSE3.0 will be out somewhere in the 4-5 timeframe after VS2005e is released.

http://www.AcehAid.org

Whassup TechEd

Every year at TechEd it feels like a different experience to me – but always a great one!

In addition to attending some WSE talks today, the highlight of the day was the BOFs at the end of the day. But first was the CodeZone launch party which was fun to attend.

There were 30 BOFs last night! They have 3 time slots with 10 BOFs each. (You can filter on Birds of a Feather on the breakout page to see tonight’s schedule.) I attended Keith Pleas’ BOF to help people with migrating their VB6 apps to .NET (I’m lucky  -I only had to migrate my mind, not any applications), I co-hosted a BOF for women coders (who sometimes don’t generally get a chance to meet other women in their field!). This was great fun as always and Cathi Gero helped me host it. In addition to Cathi, I was happy to have some notable women devs show up including Olga Londer who has authored three books and Ginny Coffey who is speaking at TechEd. It’s nice to be able to have some really visible women to highlight. There were also some guys there including the affable Michael Kaplan (who had somehow temporarily evaded his stalkers).

After this I hung around for Tim Huckaby’s rousing debate on “What the heck is a smart client, anyway”. That one was continued at a hotel bar when the convention center closed down.

TechEd for me is more about catching up with people and meeting new folks. The cabanas this year are expanded but they have a different feel. Since they have a much larger space, the spaces set up for hanging out are segregated from one another, which somehow makes it different. Hard to explain.

Today will be a jam packed busy day. I’ll be working at the MyCodeZone booth for a few hours, then to the Women in I.T. luncheon, hopefully time for some afternoon sessions and then working at the TabletPC booth from 4-5. I even have one of the blue shirts – which I guess I’ll have to wear all day since it is a bit of a haul back to the wonderful hotel that I am staying at. Things are definitely spread out and the hotel for mingling is the Peabody – right by the convention center and it is the speaker hotel. But once I get back here, it’s basically up to the room and done for the night. A little less partying for me this year. I must be getting boring in my “old age”.

http://www.AcehAid.org

A week of torture

If you are not going to be at TechEd, and come on, there are millions of developers and only 10,000 or so attendees  so there’s a chance you aren’t  (although there aren’t millions of developers reading my blog, so it does narrow the field a bit 🙂 ) – prepare yourself for a week of torture. Once at TechEd, that’s basically all that a blogger (attending) will blog about. Saw this session, met that person, went to this party…. But hey, it’s the next best thing to being there….

The first year I was there I did give a blow by blow of all the people that I ran into. Now it is not possible because over the years I have gotten to know so many people. Anyway, I STILL have to pack and the clock is ticking.

http://www.AcehAid.org

TechEd Speakers: Another EBay Charity Auction for Aceh Recovery at IDEP

Aceh Aid is now Aceh Recovery. They are still doing amazing things. Aceh Province is still in a terrible state. It will take a LONG time to recover from the tsunamis and the enormous loss of life, land, infrastructure and sustainability. They have an amazing amount of information on their website now. Please go check it out.

So… I am REALLY excited to report that Microsoft and Stephen Forte have helped gather up 20 of the TechEd speakers for another EBay auction for my friends in Bali who are running Aceh Recovery.

The EBay site will be up soon. Stephen has the list of speakers, but just for google, I will list them here as well, (alphabetically)

Don Box
Andrew Brust
Michele Leroux Bustamante
Richard Campbell
Stephen Forte
Carl Franklin
Jackie Goldstein
John Goodyear
Kate Gregory
Scott Hanselman
Tim Huckaby
Richard Hundhausen
Patrick Hynds
Jesper Johansson
Tim Landgrave
Rockford Lhotka
Juval Lowy
Ingo Rammer
Joel Semeniuk
Kimberly Tripp
Clemens Vasters
Christian Weyer

There is a lot of effort that goes behind pulling this together. Last time Stephen and I spent many hours so I am very grateful for the support from Microsoft this time. And of course to all of the speakers and, in advance, to all of the bidders, whether they win the bids or not.

We will have the EBay site up soon and the rules & regs!



http://www.AcehAid.org

MSDN Tablet PC Dev Center Article on Ink on the Web

I wrote an article for MSDN’s Tablet PC Developer Center about how I wrote the Doodle application that lets you ink on the web. The trickiest part of that app was redisplaying the ink image for the user without saving it somewhere. If they want to save it, the also have that option. But moving the ink data through the pipe, from the client side to the server back to the client was vewwwy twicky. Also, thanks to a bunch of ASPInsiders and then Jeff Prosise who laid the final blow to get me to modify my application to use HTTPHandlers. They always sound so scary, so “for plumbers only”…. but actually they are EASY and will get even easier in VS2005.

The article is on the home page of the tablet dev center under the “Recent Articles” section.

Note the article by Dr. Neil right below it, on leveraging the Network Location Awareness API for managed code. I sure wish I had had *that* darned API when I wrote my first few mobile apps. I came up with my own way of detecting “am I on the local network?” “am I on the web?” “am I totally disconnected?”.

http://www.AcehAid.org

To Swag or not to swag

Here’s one thing that always gets me at the big conferences. The people who go around the expo hall collecting as MUCH STUFF as they can with absolutely no regard for what they are even getting – just so long as it’s free. I remember at TechEd Dallas we didn’t have a proper banner for our wee INETA booth way in the back of the expo hall so I hung up some INETA T-Shirts. We didn’t have give aways, just shirts for the volunteers. What we did have was some of the real rock star .NET speakers who wer also INETA speakers in the booth as an Ask the Experts. That’s a pretty good deal. Free technical advice from some of the top presenters ni the .NET world. But no….. So many people came by asking for a t-shirt. They had no clue what INETA was and no interest in finding out. Just wanted the damned shirt. I actually had an argument with a guy who was demanding I give him a shirt!

I do like to get stuff to hand out to my user group. One year I brought back a box and just dumped it out on the table for everyone to take from. But I’m actually embarrassed to carry a bag around to get stuff. And if I do take something, I will end up spending a lot of time talking to the people at the booth. Rather than just do a drive by and grab fast.

And then there’s getting it home. LOL. Spendng all of that money to ship FREE stuff home. Okay so I got smart and brought an extra soft suitcase last time. Someone suggested a heavy duty canvas duffel bag would do the trick. We’ll see how it goes…

http://www.AcehAid.org