ASP.NET News from Blogger: Eric Gunnersons C# Compendium   Get the feed of: Eric Gunnersons C# Compendium

Total News: 273

A Programmer's Guide to C# 5.0

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...

Small in, Big out

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...

A Programmers Guide to C# 2012

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 ...

A new year and a new group

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...

Improve HealthVault query efficiency with final transforms

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...

Mobile HealthVault Apps and Sync

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 ...

A movie scene

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...

Dealing with blob data in HealthVault XML

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...

CHC 2011 HealthVault talk, and what is new for HealthVault this past year

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...

Speaking at CHC 2011

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...

Default parameters in C#

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...

HealthVault Event Notifications

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...

Writing Tests for HealthVault Applications

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...

Naked came the null delegate

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...

HealthVault SDK and Visual Studio 2005

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...

Metricism

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...

Floating point numbers and string representations

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 ...

Thoughts on Thoughts on TDD

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, ...

The power of "no"...

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...

HealthVault 0908 SDK Highlights

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...

Blog refactoring 2.0

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...

Thoughts on agile design and platforms

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,...

Is programming a generic skill?

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...

Introduction to HealthVault Development #12: More than one person

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 ...

Rekeying the HealthVault/Amalga USB Key

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...

Microsoft Connected Health Conference

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...

Introduction to HealthvaultDevelopment #11: Data filtering

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...

HealthVault XPath Explorer

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...

Introduction to HealthVault Development #10: Adding additional data to healthvault

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...

Introduction to HealthVault Development #9: Optional Authorization

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...

Introduction to HealthVault Development #8: Related items

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...

Introduction to HealthVault Development #6 Fixing a mistake

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...

Introduction to HealthVault Development #5 Do I weigh too much?

  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...

Introduction to HealthVault Development #4 Storing and retrieving weights

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...

Introduction to HealthVault Development #3: Configuring our application

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...

Introduction to HealthVault Development #2: Hello World

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...

Introduction to HealthVault Development #1: Introduction

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...

Benchmarking, C++, and C# Micro-optimizations

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...

wireless LCD photo frame...

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? ...

Versioning in HealthVault

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...

Fun with HealthVault transforms

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,...

Dr. Horrible...

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...

HealthVault data type design...

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 ...

#region. Sliced bread or sliced worms?

(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...

Taking on dependencies

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 ...

Why does C# always use callvirt? - followup

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,...

Why does C# always use callvirt?

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...

Conference wrap-up...

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...

Individual Empowerment and agile...

(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...

HealthVault Vocabulary Browser

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