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.
The ASP.NET team just released the first public preview of ASP.NET MVC Version 2. You can download it here.
DataAnnotation Validation Support
Strongly Typed UI Helpers
UI Helper Templating Support
- New [HttpPost] Attribute
- Default Parameter Values
- Binding Binary Data
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
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.RegisterInstance(typeof(AccountController), new AccountController());
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.
1. Prism is a collection of libraries for implementing best-practices in Silverlight
2. Prism is a Buffet (term coined by Shawn Wildermuth)
3. Finding and Installing Prism is Confusing
4. Prism Supports Modularity
5. Prism Supports Master Pages – Regions
6. Prism Supports Loosely Coupled Communication – Eventing
7. Prism Supports Commanding – Help for MVVM
8. Prism Supports Sharing Code Between Silverlight and WPF – Multi-Targeting
9. Most Silverlight Applications can Benefit from Prism
10. Prism Helps with MVVM/MVP
Managed Library for Nintendo’s Wiimote
Published 14 March 07 01:05 AM | Coding4Fun
In this article, Brian Peek demonstrates how to connect to and use the Nintendo Wiimote from C# and VB.NET. The final output is an easy-to-use managed API for the Wiimote that can be used in any managed application.