Saturday, March 27, 2004

Dot's Response

As is pleasingly typical of when I have an issue with Microsoft, I got a response to my complaints about GotDotNet. And it was a very good one. Thanks Andy! I'm sure people will be pleased to hear you're aware of the issues and are working on the problems.


Of course, I'm still not coming back just yet. :) The fact that the site should getting faster soon is great news, but like I said before, tools and stability are the main issue. I'd happily pitch in and write some decent tools myself, but I have lots of other projects that I need to work on first.

Wednesday, March 24, 2004

Dear GotDotNet

Chris Sells suggested that I send my specific complaints about GotDotNet along to the people that work on the site, and kindly pointed me to the right person at Microsoft. This is something that I should have done before my last post, of course, but better late than never. I sent them this email, which I'm posting here:


 


I'm not sure if you saw my recent blog post about leaving GotDotNet for SourceForge, but after reading it, Chris Sells suggested that I get in touch with you about the specific complaints I have. It's a good idea, and only fair, so here goes.


 


I should be clear that I don't really have a problem with any of the other features - but I've been doing a lot of software development on GDN lately, and my frustration level reached the breaking point. To whit, I have three main complaints with the workspaces feature of GotDotNet:


 


1) Reliability. I find that GDN frequently loses changes that I have checked in. I have to constantly diff a fresh download against what's on my hard drive to make sure I don't lose stuff.


2) Tooling. The tools are really not good. I have tried all five options for interacting with the source control system - web interface, web control, VS.NET integration, wksalone and wkssync - and they are all painful. None of them even comes close to the elegance and ease of use I can achieve using CVS and TortoiseCVS. On top of that, I find the enforcement of the VSS lock-on-checkout model very limiting, although I know that's a matter of personal taste. And I won't even start on the fact that there is no integration whatsoever with popular build tools such as NAnt or CruiseControl.NET - something I find to be crucial to doing distributed team development.


3) Performance. This is actually the least concern, especially if there are decent tools available. But GDN is slow, and that's annoying given the tools that are available.


 


In short, what I want GDN to be is a reliable source control provider with good tools. If, above and beyond that, it provided things like bug tracking, team websites, discussion boards, mailing lists, wikis, and the other bells and whistles that a distributed development project can use (and I know some of those things are available now), that would be icing on the cake. But stability and capability first.


 


I've posted this message on my weblog, to let people know that I was lame enough not to have written this email *before* posting my "Dear Dot" message. I would be more than happy to post any followup you provide. Just let me know.


 


Please do let me know if there's anything I can do to help. I've left GDN for the projects I work on, but that doesn't mean I don't want it to succeed. I'm all for having lots of good options.


 


Thanks!


 


-Craig Andera

Dear Dot

Dear Dot,


I want you to know I'm leaving you. I'd love to use that old line, “It's not you, it's me,” but unfortunately, it's you. I just can't count on you. I can't even remember how many times I've asked you to check in, only to be disappointed. And you're a dawdler - I got tired of asking you a question, only to have to sit around and wait for the answer. To be even more blunt, you're not sophisticated enough - I have fairly refined tastes, and you simply don't seem interested in all the finer things that I need to lead a rich existence.


Since you'll probably hear about it, I might as well tell you that I've met someone else. I don't want to mention any names, so I'll just refer to this other as “SF”. Oh sure, SF isn't perfect, but we share a lot of the same interests, and we just have a lot easier time getting along. And yes, it's true, I've been visiting SF on the side for quite some time now, so this isn't just some fling. SF, frankly, is just a lot more mature than you are, and I need that.


I hope you're able to get over your problems. I'd like to see you succeed in life, if for no other reason than that a lot of my friends still hang out with you. All the best,


-Craig


(With apologies to Don Box.)

Tuesday, March 23, 2004

DotNetDevs

Brad Wilson has launched a new site - DotNetDevs. He's posted a few articles there, and plans to post more. Looks like it's going to be a pretty decent collection of material.

Friday, March 19, 2004

System.IO.Compression

I'm lucky enough to be getting paid to write stuff against Whidbey right now. Although the tooling leaves something to be desired, the APIs are pretty solid, and it's been interesting using the new stuff. Today, I came across a namespace that I think falls squarely into the “I could never give up the CLR libraries, and now they're just getting better” camp:


System.IO.Compression


It has classes like GZipStream in it. The wrap a regular stream, and compress or decompress whatever you pass through it. Nice, eh?

Thursday, March 18, 2004

Ivan Comes Through

I reported yesterday that the autogenerated web service proxies are pretty thoroughly broken when it comes to optimizing network roundtrips. That's still true, but the wonderful Ivan Towlson reminded me of a feature that is currently saving my bacon. He pointed out the UnsafeAuthenticatedConnectionSharing on the proxy that causes it to reuse the connection, saving a whole lotta roundtrips. It's “unsafe” because you need to be careful not to reuse the connection for another user against the same web service, as you might wind up providing the wrong credentials. In my case, that's not really a big deal.


I love weblogging - it's sort of like a reverse Google. You put the query out there (after doing your homework, of course), and the results come to you. In return, you try to provide useful information once in a while.


Thanks Ivan!

Wednesday, March 17, 2004

Horrible, Horrible WebService Proxies

[Update: Ivan helped me find a partial workaround. Details here.]


I knew that my implementation of FwSync (my tool for uploading/downloading files from a FlexWiki instance for offline editing) was a little slow sometimes. I figured it was because the web service interface is a little chatty - it requires a roundtrip for every file I'm submitting or retrieving. Boy, did I not know the half of it.


I whipped out a packet sniffer and took a look at what was going across the wire. Imagine my surprise when I discovered that every request to the webserver was turning into three request-response network roundtrips. Ouch! A little more digging, and I found out that I was far from the first one to have this problem - it turns out to be a consequence of the fact that I have Integrated authentication turned on on the webserver, so I have to make one roundtrip to find out that authentication is required, another to get the challenge from the webserver, and a third to actually make an authenticated request. Because the autogenerated web service proxies (the ones you get when you say “Add Web Reference” don't hold on to connections, this process is repeated for every single method call.


At first, I didn't think this was so bad. That's because I knew there was a PreAuthenticate property on the proxy that supposedly told the proxy to send the credentials with the first request, rather than waiting for the “access denied” message to come back. I'd still have a second roundtrip for the challenge-response, but I figured I could optimize that away using the CredentialCache somehow.


Wrong! Oh so freaking wrong!


As it turns out, the autogenerated proxies are busted in a whole bunch of ways. Jon Flanders set me straight on that count - there is no way to get the proxies to preauthenticate when using Integrated authentication. To even get it to work with Basic authentication, you have to follow the instructions here...but forget about Integrated. Lame!


If someone knows of an easy way to get this to work (without having to muck with the server, although I might do that too), I'd love to hear about it.