This article was featured in our local groovy weekly Seven Days this past week. It’s not about the whole blog phenom around the DeanforAmerica campaign, but another aspect – the use of the meetups.com site to create Dean related gathering. It is as much a social computing phenomenon as what Dean has done with his blog. Meetups.com was hardly used before Michael Silberman got his hands on it. I wanted to point it out since Halley Suitt has been writing so much about the web side of Dean’s campaign lately. Halley doesn’t have comments so this was the best I could do…
Halley Suitt in Burlington
Halley was here…and I missed her. Damn! Well getting into Burlington wasn’t really an option over the weekend anyway with 2 1/2 feet of snow falling here. We did manage to drive 7 miles over the App Gap to get to Mad River Glen yesterday though of course. The parking lot was jam-packed so I’m sure many from Burlington made the trip. Over the mountain was interesting, to say the least.
(I have to confess that though I have her misbehaving.net blog in my aggregator, somehow her real blog wasn’t. She was blogging about Vermont starting on Thursday and I missed all of them – aaargh! Of course, that’s corrected now.)
Regarding this big storm that I have been so gleeful about, sadly there was a storm-related fatal accident north of Burlington where I used to live. A mother and her 15 year old daughter who were from Fairfax died in an accident on a road that I know well and is very hairy in bad weather. The roads were horrible and for some reason the 15 year old was driving.
Working between WinForms and ASP.NET
I have noticed a pattern that when I have worked on a WinForms project for a while (weeks…months) and then start on a new ASP.NET project, I have two problems:
1) I forget about the darned postback. It takes a couple of “hey where’d my value go?” to do one of those “could’ve had a V-8” D’OH forehead slaps.
2) I don’t notice that the fact that new web form pages are in grid mode is an issue. I start placing controls on the page where I want them until this nagging thought in the back of my head says “something is not right with this picture”. Oh yeah – it’s not a windows form, I want flow layout mode. I know that there is a nice little message with really subtle faint grey text when you create a new web form – but do YOU read it? I don’t. Happily this default is changing in Whidbey.
I should have a mechanism that kicks in when I create a new Web App project that pops up a window with big red letters and maybe even a little bell that reminds me of these two things.
“Catastrophic” Failure when Debugging on Domain Controller
Boy “catastrophic”… Sounds pretty horrible, huh? It’s really just a little problem created by Win2000 SP4 if that SP is implemented before installing ASP.NET on a remote server. This was my case because I only recently (finally) put .NET 1.1 on my in-house webserver.
So anyway, I didn’t waste too much time with my little “catastrophy” before I just hit google, got to KBAlertz which had the MSDN solution listed. Here:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q827559
This is surely old news, but it was new to me so I thought I’d just stick it in here.
My LogIn Web Service (that I had forgotten about)
I just pulled a login page from an ASP.NET app I wrote last year into a new ASP.NET application. These are applications that live on my domain that are web based utilities for some of my clients or just myself and I haven’t had to write one in quite some time. When I opened up the login page I saw something that I had put in there which I had completely forgotten about. I had written a login web service that I can implement in any of my applications. I have one table in my domain’s sql database that has the logins for users of my various little applications. That way I can use the same login page in any of these applications. The web service requires authentication before it will even attempt to validate the user login/pw. That way I don’t have to worry about anyone else using my web service.
So here is the code I discovered (yes, I surprised myself!)
Private Sub LogIn_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Dim sResults As Boolean
Dim auth As New mydomain.Authenticator()
auth.UserName = “IAmanAuthenticatedApplication”
auth.Password = “IAmThePassword”
Dim objService As New mydomain.WebServices()
Try
With objService
.AuthenticatorValue = auth ‘this attaches the auth object as SOAP
.Credentials = System.Net.CredentialCache.DefaultCredentials
sResults = .ValidLogin(Me.txtLogin.Value, Me.txtPW.Value)
End With
If sResults Then
Dim FormsAuthentication As New Web.Security.FormsAuthentication()
FormsAuthentication.RedirectFromLoginPage(txtLogin.Value, False)
Else
msg.Text = “Invalid User: Please try again“
End If
Catch ex As Exception
msg.Text = ex.Message & vbCrLf & ex.StackTrace
End Try
End Sub
This may not be the best way (and it makes me nervous to have my code available for certain people to possibly look at and have a chuckle) but it’s darned useful.
It’s funny to look at this having just written a little about Indigo going to message based transactions. Because doesn’t that mean that my little “auth” object that I’m passing in to my webservice will go away? Of course! This is what they (ok Don Box but I’m not going for google hits, here) were talking about when saying that even security is going to be a LOT less complicated to handle. I remember when I first tried to get my head around how all of that was working – soap , my authentication object, etc. Though it all seems so obvious to me now, I remember how incredibly confusing it was for me back then.
Sam and Robert’s Big Project – Listen and Learn
(edited this because there seemed to have been a little drag and drop action that messed up my original post, oops…)
I’m always interested to see what Sam Gentile and Robert Hurlbut are working on together. Always BIG projects that seem to have the scope of large architectural blueprints which demand that they dig deep into the roots of the tools and languages they are working with. My projects are so teeny in comparison and I don’t touch half of the tools that they talk about.
Today Sam writes about a “grand managed (.NET) distributed architecture for one of my clients and my team that will take the next 18-24 months to do and deploy.” Wow, THAT is impressive. And also that he and Robert converted all of their build processes to NAnt this weekend. NAnt is a frequently blogged about tool that builds your .NET projects rather than letting Visual Studio .NET build them — and there is a new release out. I haven’t spent time with it, but I am guessing it allows you to have more granular control over the build.
Sam has teased me about the fact that I have mentioned this before – that I’m impressed. There’s also a (small) part of me that would like to be involoved in projects like that. I say small because they sound daunting! “It’s all just programming” he has told me. I guess that I get to play with new stuff too, such as working with tablet applications. But I just don’t have some of the big challenges in my projects that these guys are out to solve. So all of this stuff that people do down deep is really impressive to me, that’s just the way it is and the way it will remain.
Also, Sam talks about ShadowFax which let’s you do in .NET today what Indigo will be bringing us tomorrow. This was one of the big buzz concepts at PDC – that we will move from object oriented design to service oriented architecture which is message based. It’s awesome to keep having these messages constantly coming in (via blogs of people who are really out on the edge) so that when I’m ready to start playing with that stuff (which I am not at the moment) I won’t be totally clueless.
Driving? Pay 150% attention to the road
I have not been able to stop thinking about this. Fellow blogger, Liz Lawley, who I admire a lot, wrote yesterday about a recent terrible tragedy in her family. Her sister’s new husband (of 6 months) was killed in a head-on collision when the driver of the other car swerved into his lane because she was busy doing something to her bagel. Think about that next time you are drving while…[searching for a better radio station/eating your lunch/talking on the phone/settling a kids fight in the back seat/checking your email/trying to dial a phone #, etc.]. Pull over if you need to be so distracted for god’s sake. Although I start to cry every time I think about this, I also have some sympathy for the girl (driver of the other vechicle) who just wasn’t using her head – but now has to live with the horror of what she is responsible for for the rest of her life. It’s too high of a price for everyone to have paid. And I am just as guilty of this type of occasional inattentiveness as most people.
Das Blog 1.5 is posted
I haven’t done this myself yet, but as per Clemens:
The Releases section over at the GotDotNet workspace has three variants of v1.5:
“Source ZIP” with the code, “Web Files” with the runtime files (to update existing installs and do manual installs) and “Web Setup” which is an MSI to install the web site. Because the feature list keep growing, but we haven’t done a language update for the various local languages, yet, updates to the string tables are welcome in the workspace source control system. And before you update: make a backup.
I am running v1.5 here without any problems. Let us know in the GotDotNet workspace message boards if you find any. I likely won’t be able to answer any support questions this or next week.
Please note that you must not have the Whidbey Alpha version of ASP.NET mapped to the web into which you install this version; it can be present on the box, but not on the web for dasBlog. Otherwise you will get all sorts of assertions and error messages that aren’t my fault 😉
Got Snow? Send it here! Pleeeeeeeeze
Hey! We moved to Vermont for a reason. We’ve got 4 lousy inches of snow right now. Already we are getting the same insult as last year. We moved here from the Hudson Valley where they are expecting 12-18 inches of snow (okay so it’s a blizzard) in the next few days. According to Sam Gentile, Boston’s buckling down to get hammered. We are VERY happy to have snow storms here. We just camp out at home for a few days and then strap on our skis or snowshoes. It makes us very happy. It is what we live for. But nooooo – everyone else who does NOT want the snow gets it. This is what happened last year. A gazillion snowstorms everywhere that is south of us. What is going on here? We WANT THE SNOW! 🙂
Goodbye Outlook Personal Update Dashboard
I have been using the Personal Update dashboard for about 3 years. I really love it. I open up outlook and see highlights of my calendar, the weather, headlines of topics I have chosen, and the state of my paltry stocks.
I was SO VERY SAD to see this today. I’m sure there is a replacement somewhere, but I don’t have time to look. Hey, maybe its just built right into Outlook 2003 and I didn’t realize it! I’ll have to look into that AFTER I do my client work!
