Welcome

You have reached the blog of Keith Elder. Thank you for visiting! Feel free to click the twitter icon to the right and follow me on twitter.

Vista Drivers Released for Cingular 8525 Wireless Modem

Posted by Keith Elder | Posted in Mobile Devices | Posted on 13-05-2007

 Ever since I got my Cingular 8525 phone I haven’t been able to get on the Internet with my laptop while traveling.   My previous phone worked but the 8525 didn’t work.  Luckily new drivers were released for Vista here.

You should be able to follow setting up the drivers.  The directions are pretty straight forward.  The only thing you’ll be missing then are the settings you need to put in to get online.  Here is a quick walk through of the settings you need.

Setting Up Cingular 8525 with WModem

First go into the control panel an select Network and Internet and then Network Sharing Center.  In the left pane select “Setup a new connection or network”.

Next select the “Set up a dial-up connection” at the bottom.

Next select your HTC USB Modem.  If this doesn’t show up then the driver isn’t loaded properly.

In the next screen, enter these settings:

Then press connect and you should be online.  As a matter of fact I’m posting this blog entry using my phone.   As a quick download test I decided to download Firefox 2.0 to see what type of download speed I would get.  After letting it run for awhile here is where things settled in at:

Not bad for a cell phone in Mississippi!

Second Place on Community-Credit for May 2007 (so far)

Posted by Keith Elder | Posted in Uncategorized | Posted on 12-05-2007

Jeff Barnes posted an blog entry at the beginning of May whereby he was in the top 11 on http://www.Community-Credit.Com for April.   I met the sites creator, David Silverlight, at the MVP Summit in Seattle during March and I of course promised him I would sign-up as well.  Well David, after Jeff won an incredibly cool t-shirt it reminded me of my promise and to sign up as well.

After my initial May points got approved I am currently second on the site.  And yes Andre (the current leader), I’m gunning for first so watch out!

To save you the trouble of visiting the site (not that you shouldn’t) I captured a screen shot for posterity sakes in case my ranking gets bested.  Of course going off past results the odds are in favor of my second ranking falling since last month’s winner had 68,575 points. 

Part 1: Leveraging Workflow Foundation – It is just an API

Posted by Keith Elder | Posted in .Net, Asp.Net, Web Services, Workflow Foundation | Posted on 12-05-2007

A few weeks ago we launched a new feature for one of our internal applications that leveraged Workflow Foundation extensively.  When working through a new technology you will always find curve balls along the way.  I like to call these shiny pennies and rusty washers.  For example, something may seem like a shiny penny when you first see it in a demo.   After much consideration of weighing the features vs the learning curve of the new technology you decide to use it a production environment.   Once something goes into production the game changes.  This is the point where you are going to be held accountable by the business or your client for the technology you chose to use.   This is the point where you have to go deep with the new technology because you have to support it once the “copy to production” button is pressed.  It is during this phase you find some of those shiny pennies are actually rusty washers. 

You will always find rusty washers when you work through a new technology.  There are even some recent examples of this I ran across in blog posts.  For example Jeff Barnes has a blog post about how WCF proxies can only fault once. If you’ve done ASMX proxies you know we don’t have to deal with this.  With WCF apparently the game has changed.  It is an example of a rusty washer with WCF that you wouldn’t know until you tried to put it into production.  Another example of recent that comes to mind is Ayende’s post about NHibernate one-to-one mappings.  Again, another example of something you wouldn’t find out when watching a demo.

To help you limit the amount of rusty washers you will run into with Workflow Foundation, I wanted to share our team’s experience in working through Workflow.  In this multiple part series we’ll look at some of the challenges the team faced and how we solved some of these.  I say “some” of these because we took side steps around the rusty washers we found due to our short time frame.   Hopefully this brain dump of information will save others time who are about to start using Workflow Foundation.  I’ll cover some of the in and outs where you will want to look into workflow and some of the pitfalls we had to work around (the rusty washers). 

First let me say that all in all we are extremely happy with the end product after launch.  We are going to be able to easily modify business rules and adjust quickly for the business.  As a matter of fact we have already had to modify our business rules and add new features.   Our end goal for selecting workflow foundation for this particular project was future agility.  Using Workflow allowed us to hit this mark, but not in the way we originally intended.  If we would have had more time we could have worked through the rusty washers and turned them into shiny pennies.  This brings me to my first point of this series.

It is just an API

The first thing I think everyone needs to understand about Workflow Foundation is it is just an API.  Or to borrow the word from its own name, a foundation to build upon.  It is really no different than building a house whereby you first pour the foundation and then you build something on top of it.    A lot of experienced .Net developers (including myself) think of Workflow Foundation as more of an extension to the core .Net 2.0 framework although it was released with .Net 3.0.  Technically this is true since .Net 3.0 is just that, an extension to the .Net 2.0 framework release whereby WPF, WCF, and WF were added. 

The reason I point out that WF is just an API is to set the initial expectation.  A lot of people I’ve come in contact with seem to think Workflow Foundation is in fact a shiny penny that will magically solve all of their problems.  I’ve heard them say, yeah it is cool, you just drag and drop and you’ve got workflow.  This is where I have to jump in.  The reality is it a core framework for building workflows and Microsoft provides several key components with the workflow framework.   Out of the box you get a:

  1. Runtime – the brain of the workflow engine that is constantly running in memory and processing workflows
  2. Component model – the pretty user interface that let’s you build workflows within applications or visual studio
  3. Rules engine – well, it really isn’t an engine (it is just an API) but a processing mechanism to process business rules against workflows or use as a stand alone rules processor
  4. Services – they provide various things such as how workflows should be processed (manual or default) and also things like persistence and tracking.   Services allow you to customize and tweak how Workflow Foundation works.  Example, if you don’t like the built-in persistence table structure you can create your own service and persistence store.

As you can see you get a lot out of the box.  All for the low low price of $0.00.  Not a bad investment huh? 

Question:  What do I do with all this?
Answer:  Anything you want that fits this tools job description.

The point I am trying to make here is Workflow Foundation provides a base model to build anything on top of it.  Take Winforms for example.  Microsoft didn’t ship a collection of pre-built out of the box applications.  Instead they provided the base framework so you, the developer, can build any type of Winform application you need.  Please don’t think of Workflow Foundation in any other way.    In other words, leveraging Workflow Foundation should be treated like an infrastructure investment, not an application investment.   In part two we’ll cover some of the key points you should focus on when building out your workflow infrastructure.  See you in part two!

It is easier to modify a workflow than it is to modify thousands of lines of C# code.

Like this post?  kick it on DotNetKicks.com

WPF/E, SilverLight and Windows Mobile, Yes I Was Right!

Posted by Keith Elder | Posted in .Net, Mobile Devices | Posted on 09-05-2007

Don’t you love it when you predict or speculate on something in technology and it comes true?

Before Mix 07 Scott Hanselman and Carl Franklin on Hanselminutes did a show about Silverlight.  During the podcast they mention my blog post whereby I speculated how Microsoft could get WPF/E running on a Windows Mobile device.  Turns out, I was right!.  Here is a little back story for those coming into the game a little late.

Early in January ScottGu and Rory did I a Channel9 video about different things.  After watching it I started putting two and two together and predicted that Microsoft had already solved how they were going to compete with the Apple iPhone and what they were planning.   A few weeks later I was at Codemash and was in an invitation only lunch with ScottGu, other MVPs as well as several Microsoft Developer Evangelist.  Off the record one of the DE’s said my blog post was spreading throughout Microsoft and even ScottGu read the article.  All they could say was it was a “great” idea.  Obviously I was onto something. 

Fast forward a day or so later I got word that I was officially on the right path. 

At Mix 07 Silverlight was officially announced / released and the very early prototype of Compact Silverlight was shown at Mix 07.   Yep, there you go, I was right!  If you want to see it in action download this video  and fast forward to around the 14 minute mark for the Windows Mobile version.  Also check out Rob’s blog post about the Compact Silverlight Framework

Obviously this opens up a whole new realm of possibilities on the mobile platform.  Just think what Windows Mobile 7 will bring to the table.  It could be earth shattering UI on a mobile device that will finally bring a true user experience to the mobile platform.  I’m in! 

Thank you for those who believed in my previous speculation, I’ll be here all week.  Tips your waitresses.

 

Day of .Net Ann Arbor – I killed the projector

Posted by Keith Elder | Posted in .Net, Smart Clients, Speaking | Posted on 06-05-2007

Yesterday was the Day of .Net hosted in Ann Arbor.  It was great to see tons of people I haven’t seen in years.  I went to several talks including Dustin Campbell’s talk on Reflection.  I learned more about reflection during Dustin’s talk than I ever wanted to know.  I also went to Dan Hibbitts talk on Mobile Software Factory.  Rounding out the day I went to Mark Miller’s talks on WPF and WPF/WCF.  I have to hand it to Mark, he did a really good demo of WPF and WCF whereby he built a hockey game whereby one could be the server and the other the client.  Moving the mouse on one application moved it on the other.  From the gaming industry standpoint this is nothing new since network games have done this for awhile.  However, it was a great WPF and WCF demo to show tcpBinary messages being sent from application to application. 

As Dan has already vocally exclaimed on my other post I killed the projector during my talk.  My talk was scheduled during the last session of the day and I was ready.  What I wasn’t ready for is about 45 minutes into the session, right before I got into the really cool demos of deploying the application using ClickOnce, I kicked the power cord out of the socket and took down the projector.  If you know projectors at all you know they don’t like being shut off without warming down so essentially I took the projector out for the remaining of the talk.  Let me apologize to everyone for robbing you of what was going to be the best most well thought out earth shattering demo you would have seen the entire day.  🙂 

For those that are in the area I promise to makeup for it Wednesday when I speak at the Ann Arbor .Net User Group.