Silverlight 3 Multi-touch: The Basics



The Event

The first thing to understand is how to tap into the touch events from the hardware to Silverlight.  Understanding this at the beginning of your application development can be a critical step.  The key reason for this is unlike other input events (i.e., MouseLeftButtonDown, etc.) which can be added to individual UIElements in an application, the touch event is an application-wide event. 

There is one primary event: FrameReported.  This event is what gets fired when the hardware sends the touch events to the runtime.  The Touch class is a static class for the sole reason of this FrameReported API.  To wire it up in your application you can use code like this:

   1: Touch.FrameReported += new TouchFrameEventHandler(Touch_FrameReported);

And now you have to write your event handler.

More… Silverlight 3 Multi-touch: The Basics


ASP.NET MVC V2 Preview 1 Released – ScottGu’s Blog


The ASP.NET team just released the first public preview of ASP.NET MVC Version 2.  You can download it here.


New features:

  • Areas Support
  • DataAnnotation Validation Support
  • Strongly Typed UI Helpers
  • UI Helper Templating Support
  • New [HttpPost] Attribute
  • Default Parameter Values
  • Binding Binary Data

ASP.NET MVC V2 Preview 1 Released – ScottGu’s Blog

Transitioning from Developer to Software Entrepreneur


You’ve probably realized by now that software development and entrepreneurship are two very different things. Software development is a tiny subset of the skills an entrepreneur needs to launch and operate a successful software or web startup.

If you’ve been writing code for years you’ve likely formed opinions that don’t quite hold true in the world of entrepreneurship. This lesson covers a handful of realizations that you will come to at some point during your transition from developer to entrepreneur.

Realization #1: Being a Good Technician is Not Enough

Realization #2: Market Comes First, Marketing Second, Aesthetic Third, and Functionality a Distant Fourth

Realization #3: Things Will Never Be As Clear As You Want Them to Be

Realization #4: You Have to Measure & Tweak

Realization #5: You Will Never Be Done

For more … Via Transitioning from Developer to Software Entrepreneur | Software by Rob

Upgrading the default ASP.NET MVC project with IoC and the Unity Controller Factory


The first part is easy, just grab the Unity DLLs and reference them in your MVC project. At this point, you’re now free to use Unity to inject whatever you feel like. Rigging up the controller factory so that it will use Unity to resolve controllers is equally easy because the mvc contrib codeplex site has already created a class called UnityControllerFactory that does just this. Once you’ve added references to Unity and Mvc.Contrib.Unity from your MVC project, you can change your global.asax.cs file to look something like this:

if (_container == null)
                _container = new UnityContainer();             
                _container.RegisterType(typeof(HomeController), typeof(HomeController));
                _container.RegisterInstance(typeof(AccountController), new AccountController());               


Via Upgrading the default ASP.NET MVC project with IoC and the Unity Controller Factory [The .NET Addict’s Blog]

Software Engineering: Dead?


I was utterly floored when I read this new IEEE article by Tom DeMarco (pdf). See if you can tell why.

…I’m gradually coming to the conclusion that software engineering is an idea whose time has come and gone.

Software development is and always will be somewhat experimental. The actual software construction isn’t necessarily experimental, but its conception is. And this is where our focus ought to be. It’s where our focus always ought to have been.

Tom DeMarco is one of the most deeply respected authority figures in the software industry, having coauthored the brilliant and seminal Peopleware as well as many other near-classic software project management books like Waltzing With Bears. For a guy of Tom’s caliber, experience, and influence to come out and just flat out say that Software Engineering is Dead

That’s kind of a big deal. It’s scary.

And yet, it’s also a release. It’s as if a crushing weight has been lifted from my chest. I can publicly acknowledge what I’ve slowly, gradually realized over the last 5 to 10 years of my career as a software developer: what we do is craftsmanship, not engineering. And I can say this proudly, unashamedly, with nary a shred of self-doubt.

More…  Via Coding Horror: Software Engineering: Dead?