Main Contents

Silverlight 4 to Include MEF

November 30, 2009

I just heard the news announced at PDC that the Managed Extensibility Framework, or MEF, is now slated to be included in Silverlight 4.  Great news!
I did a bit of proof of concept work using MEF about a year ago.  MEF is all about composition of providers and consumers.  MEF’s main job is to connect [...]

Tags: , , , ,
Filed under: Programming, Work | Comments Off

Calculating Browser Client Height

October 2, 2009

When you’re writing a rich Internet application (RIA) in HTML and JavaScript, sometimes you need to programatically place a DOM element relative to the right or bottom edge of the visible browser window. For example, if you want to popup a help balloon near an item of interest, you probably want to make sure that [...]

Tags: , , , ,
Filed under: Programming, Web | Comments Off

Software as Literature

June 29, 2009

If software programming logic and statements were viewed as literature, what form of literature would yours be?

Novel: multiple independent story lines that you hope will eventually converge to make a point.
Short story: a limited number of characters with only one point to make
Essay: tell ‘em what you’re going to say, say it, then tell ‘em [...]

Tags: , , ,
Filed under: Glimpses, Programming | Comments Off

Converting Between EventHandler and EventHandler

April 15, 2009

Have you ever run into a situation where you need to bridge between code that uses the old custom EventHandler pattern for events and code that wants to use the new parameterized EventHandler<> code style? EventHandler style delegates are not assignment compatible with EventHandler<> delegates.  You’ll run into this if you’re writing a new API [...]

Tags: , , , , ,
Filed under: Programming | Comments Off

Recent Google Homepage / GMail Widget Update Laced With Script Errors

December 18, 2008

About two days ago, my Google homepage suddenly became hostile toward me.  By hostile, I mean my IE7 browser is suddenly reporting a bunch of JavaScript errors and faults when loading the Google homepage that it wasn’t reporting before. 
Whenever I visit my Google homepage now, I have to wade through 5 or 6 JavaScript error notifications [...]

Tags: , , , , , , ,
Filed under: Programming, Web | Comments (5)

Live Mesh App Development Talk at Bay.NET User Group Meeting December 17 2008

December 15, 2008

I’ll be speaking at the next Bay.NET user group meeting this Wednesday Dec 17 on Live Mesh application development using Live Frameworks.  There will be a few slides, mostly for the infamous but necessary system stack diagrams, but the majority of the session will be spent showing and running code.  I’ll open by exploring the different types of applications [...]

Tags: , , , , ,
Filed under: Programming, Web, Work | Comments (2)

Batch Processing Live Mesh Data with Windows Azure or Live Framework

November 24, 2008

SondreB asks
I’m working on a scenario where I need to process mesh data at intervals. My concern is how I can do delegated authorization in a secure way. How and where do I store the user credentials (or their auth token) in my Windows Azure service? Is there a way of doing interval based processing [...]

Tags: , , , , , ,
Filed under: Programming, Work | Comments (6)

How Do I Mesh Thee? Let Me Count The Ways

November 14, 2008

A few folks I’ve talked to in the Live Frameworks CTP forum or in email have expressed a little bit of confusion or a lot of surprise at what you can do with the Live Mesh platform and Live Frameworks. Let’s run through a few of scenarios to give you an idea of the breadth of options you have to leverage Live [...]

Tags: , , , ,
Filed under: Programming, Web, Work | Comments (8)

Inside Live Framework Tools for Visual Studio CTP1

November 5, 2008

Oran Dennison has been dissecting the new Live Framework Tools for Microsoft Visual Studio (“VS tools”) and raised a few questions about how the VS tools are uploading Live Mesh application files into the cloud.
“Why does VS upload files to the cloud individually instead of as one zip file?”
VS uploads individual files to the cloud because that’s what [...]

Tags: , , ,
Filed under: Programming, Work | Comments Off

Fixing Default Permissions in Mesh Apps Created With Live Framework Tools for Microsoft Visual Studio

November 4, 2008

We’ve discovered a bug in how the Live Framework Tools for Microsoft Visual Studio (“VS tools”) set permission values for Live Mesh-enabled web apps uploaded using the VS tools.  This results in your mesh app running with fewer permissions than the intended default permission set, which will prevent your app from modifying mesh feeds for contacts or news.
You [...]

Tags: , , , , , ,
Filed under: Programming, Work | Comments (4)