ASP.NET News from Blogger:
Eric Gunnersons C# Compendium
Total News: 273
My author's copies of the Fourth Edition of my book showed up today:
It is significantly updated from the previous version. I especially enjoyed writing the sections on Linq and asynchronous features...
Ive come across some code that is using and overusing IEnumerable<T>, and thought it might be of general interest. Consider the following method signatures: IEnumerable<string> Pro...
More months than Id like to think about, I decided to undertake an update of my sorely out-of-date C# book, and Saturday I submitted the last of the chapters for the rewrite. I still have the author ...
Im starting off the new year (well, in a few weeks) in a new group. I am leaving the HealthVault team, and moving to an internal Engineering Excellence team where I will be working on making our engin...
A while back I wrote a post about using the built-in HealthVault transforms to get a different view on your data. That post discusses the mtt, stt, and form transforms. Theres another transform optio...
I have been working with some developers working on mobile applications that connect to HealthVault, and the issue of synchronizing data between the mobile device and HealthVault has come up a couple ...
Anybody who has watched movies about software development knows that reality is much different. None of us work with huge screens on the wall, and debugging is a lot of unexciting detective work. Toda...
I recently had a request for more information on dealing with blob data using our newly-released Mobile support, which finally got me to write something about low-level blob support. This information...
When we were creating our talk, we had a problem. Well, to be fair, we had a few problems, but the problem that I want to talk about is the for more information slide, the one that you put at the end...
I'm in Chicago this week to speak at the Microsoft Connected Health Conference, 2011 edition. It's been nice to get away from the cool and rainy northwest and spend some time in Chicago,where the weat...
From an internal discussion we're having on the advisability of using default parameters in C#:
Currently, the pain and limitation of doing overloads forces you to rethink how a method should work. Co...
The HealthVault platform now provides the ability to notify applications when specific conditions are met.
A scenario
A blood-pressure-tracking application wants to be notified whenever a new blood p...
We have added some useful new functionality designed to make it easier to test a HealthVault application.
The existing HealthVault SDKs didn’t make it easy if you wanted to write isolated (or me...
I few weeks ago James Curran came up with the idea of a number of .NET bloggers (or, in my case, bloggers who remember vaguely what .NET is about) write a serial story. I, who am easily flattered by t...
The HealthVault SDK is currently built on top of the .NET 2.0/Visual Studio 2005 toolset. We are thinking about moving forward a few years and switching to the .Net 3.5/Visual Studio 2008 toolset, but...
Your neologism for the day...
Metricism
A devotion to creating and implementing metrics for a system or process while loosing sight of the real goal.
Examples:
Evaluating software developers on how m...
Ive recently been doing some work on the HealthVault SDK to improve the consistency of how it deals with floating-point numbers, and thought that the information would be of general interest. First ...
Brian Harry wrote a post entitled Thoughts on TDD that I thought I was going to let lie, but I find that I need to write a response. I find myself in agreement with Brian on many points in the post, ...
Eric Brechner wrote an interesting post titled "Don't panic", about how to deal with requests. I sometimes agree and sometimes disagree with what Eric writes, but it's usually a pretty good read.
In...
The 0908 SDK has dropped, and Id like to talk about some of the highlights of this release. SODA The big one is SODA, our name for the ability to write non-web-based HealthVault applications. S...
In the beginning, I started this blog just to write. I wrote a lot of C# stuff, some regex stuff, some HealthVault stuff, and a bunch of irrelevant stuff. Then, at some point, I started the RiderX b...
I started by writing a broad post about design, and it got away from me (apparently I should have spent some time designing the post first), so I deleted it all and decided to write something shorter,...
Came across a post by Justin Etheredge discussion whether changing between languages is just a matter of syntax.
Or, to pick a specific example, can a Java programmer quickly and easily learn to write...
WeightTracker has gotten popular, and we have a new scenario. Our users would like us to extend our application so that they can easily enter weights for each member of the family. This will require ...
If you attended the connected health conference last week, you got a USB key with a combination lock on it, so you could protect your important data against those with less than 10 minutes of fre...
The HealthVault Partner Conference is a year older and has a new name.
The Microsoft Connected Health Conference will be held on June 10-12th at Meydenbauer Center in Bellevue, WA.
If you enter the r...
The users are unhappy. The weight tracking application worked pretty well initially, but now that theyve been using it daily for a few months, its showing them too much information. They would like it...
By default, when a query is made to HealthVault, it returns all instances of a specific type. If you wish to filter to a subset of those instances, you can specify some properties in the HealthRecordF...
We have a new user request. One of our users would like to store how hungry he whenever he enters a weight value. We head off to the HealthVault MSDN page, go to the learn page and then the reference...
This week, we have a new customer request. One of our customers wants to track her mood on a daily basis. We can do this by using the Emotion data type, but after talking with our broader customer bas...
Our current application allows users to track their weight, but some of our users also want to track the time they spend walking. In this episode, well extend our application to store and display that...
After weve released our application, some of our users complained that they accidentally entered an incorrect weight, and would like to have a way of fixing it. We will therefore extend our applica...
A common question asked by people is do I weigh too much, so were going to add the calculation of BMI to our application.
<aside>
The question of what a persons desirable weight is or e...
We are now ready to make our WeightTracker application do something useful. That something useful is composed of two stories: The user enters a weight, and its stored to the users HealthVault rec...
Now that we have HelloWorld set up and running, we want to move on to developing the real application. Well start with a shell application and add to it as we go. Download the WeightTracker shell, a...
In this post, well create an account on the HealthVault system, open up the HelloWorld sample application, and verify that it works on our system.
There are two live HealthVault platforms.
A develop...
Welcome to the tutorial. In this tutorial, we will develop a HealthVault application from scratch. My intention is to add new tutorial chapters on a roughly weekly basis, though I have a few ones que...
Two posts (1 2) on C# loop optimization got me thinking recently. Thinking about what I did when I first joined Microsoft. Way back in the spring of 1995 or so (yes, we did have computers back t...
I want to buy a couple of wireless LCD photo frames for my relatives. It needs to have a decent display, speak wireless, and hook up to a smugmug gallery.
Any recommendations? ...
Download the sample code from MSDN Code Gallery. Versioning is an interesting feature of the HealthVault platform that allows us to evolve our data types (aka thing types) without forcing application...
It is sometimes useful to be able to display data in an application without having to understand the details of that data. To make this easier, HealthVault provides a couple of features: transforms,...
Last night I fixed the quicktime player on my somewhat aging home machine by turning of DirectX acceleration, and the family sat down to watch Dr. Horrible's Sing-Along Blog, which I had purchased thr...
From the "perhaps this might be interesting" file...
Since the end of the HealthVault Solution Providers confererence in early June - and the subsequent required recharging - I've been spending the ...
(editors note: Eric gave me several different options to use instead of sliced worms, but they were all less palatable. So to speak.) Jeff Atwood wrote an interesting post on the use of #regions in c...
A recent discussion on how to deal with dependencies when you're an agile team got me thinking...
Whether you are doing agile or waterfall (and whether the team you are dependent on is doing agile or ...
I was responding in comments, but it doesn't allow me to use links, so here's the long version:
Judah,
Yes, marking everything as virtual would have little performance impact. It would, however,...
This question came up on an internal C# alias, and I thought the answer would be of general interest. That's assuming that the answer is correct - it's been quite a while.
The .NET IL language provide...
After a bit of time to recover from my back-to-back conferences (TechEd 2008 in Orlando and the 2008 HealthVault Solutions Conference in Bellevue), I have a few thoughts to share.
I haven't been to T...
(Interestingly, I find myself writing more about agile and team stuff now that I'm not on a development team....)
This is in response to a question about how you balance individual em...
I wrote a little utility to browse vocabularies that I thought you might be interested in.
It uses the HelloWorld app id, so you should just be able to dump it to a directory and run it. ...
View Other bloggers