Main Contents
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: .NET, exceptions, MEF, Microsoft, Silverlight
Filed under: Programming, Work |
Comments Off
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: HTML, JavaScript, Programming, RIA, web app
Filed under: Programming, Web |
Comments Off
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: humor, literature, Programming, software
Filed under: Glimpses, Programming |
Comments Off
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: .NET, C#, EventHandler, generics, Programming, tricks
Filed under: Programming |
Comments Off
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: code quality, Firefox, GMail, Google, IE, JavaScript, rant, script errors
Filed under: Programming, Web |
Comments (5)
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: Bay.NET, event, Live Framework, Live Mesh, talk, user group
Filed under: Programming, Web, Work |
Comments (2)
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: cloud, delegated authorization, Live Framework, Live Mesh, LiveID, Mesh, Windows Azure
Filed under: Programming, Work |
Comments (6)
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: Google Gears, Live Framework, Live Mesh, Mesh, Silverlight
Filed under: Programming, Web, Work |
Comments (8)
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: cloud, Live Framework Tools, Mesh, Visual Studio
Filed under: Programming, Work |
Comments Off
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: contacts, Live Framework Tools, Mesh, news, permissions, Visual Studio, workarounds
Filed under: Programming, Work |
Comments (4)