<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Talking to HealthVault via ASP.NET MVC #1</title>
	<atom:link href="http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/</link>
	<description>A view from inside the HealthVault</description>
	<lastBuildDate>Sat, 31 Dec 2011 10:19:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vaibhavb</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-2334</link>
		<dc:creator>vaibhavb</dc:creator>
		<pubDate>Fri, 06 Aug 2010 23:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-2334</guid>
		<description>hi Shawn -

Since you are just reading the data, may be you can create wrapper classes on the existing HealthVault SDK HealthRecordItems and pass the wrappers directly to the view. 

regards,
Vaibhav</description>
		<content:encoded><![CDATA[<p>hi Shawn -</p>
<p>Since you are just reading the data, may be you can create wrapper classes on the existing HealthVault SDK HealthRecordItems and pass the wrappers directly to the view. </p>
<p>regards,<br />
Vaibhav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-2333</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Thu, 05 Aug 2010 20:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-2333</guid>
		<description>Vaibhav, Yes.  Originally, that was what I meant but I have worked through it using the HealthVaultController technique you mentioned.

Now that I can login/logout of HealthVault via my mvc app, I am venturing into creating the models.  Would you have any advice for me in that area?  Thankfully, this particular app only reads health information from the users HV record.

Any guidance is much appreciated.
Shawn</description>
		<content:encoded><![CDATA[<p>Vaibhav, Yes.  Originally, that was what I meant but I have worked through it using the HealthVaultController technique you mentioned.</p>
<p>Now that I can login/logout of HealthVault via my mvc app, I am venturing into creating the models.  Would you have any advice for me in that area?  Thankfully, this particular app only reads health information from the users HV record.</p>
<p>Any guidance is much appreciated.<br />
Shawn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaibhavb</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-2328</link>
		<dc:creator>vaibhavb</dc:creator>
		<pubDate>Wed, 04 Aug 2010 18:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-2328</guid>
		<description>hi Shawn - By user-authenticating you mean implementing the redirection targets and work-flow, right?  If you provide tad bit more info, I&#039;ll try to help. regards, Vaibhav</description>
		<content:encoded><![CDATA[<p>hi Shawn &#8211; By user-authenticating you mean implementing the redirection targets and work-flow, right?  If you provide tad bit more info, I&#8217;ll try to help. regards, Vaibhav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-2327</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Wed, 04 Aug 2010 18:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-2327</guid>
		<description>Do either of you have additional working samples or guidance on user-authenticating against HealthVault using MVC?</description>
		<content:encoded><![CDATA[<p>Do either of you have additional working samples or guidance on user-authenticating against HealthVault using MVC?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaibhavb</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-1473</link>
		<dc:creator>vaibhavb</dc:creator>
		<pubDate>Tue, 21 Jul 2009 23:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-1473</guid>
		<description>hi Brian -

This is awesome! Haven&#039;t gotten the chance to try this approach. I was thinking of going the route of not using session object and trying to figure out the HealthVault auth token redirect through HealthVaultController class.


regards.
Vaibhav</description>
		<content:encoded><![CDATA[<p>hi Brian -</p>
<p>This is awesome! Haven&#8217;t gotten the chance to try this approach. I was thinking of going the route of not using session object and trying to figure out the HealthVault auth token redirect through HealthVaultController class.</p>
<p>regards.<br />
Vaibhav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-1472</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Mon, 20 Jul 2009 19:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-1472</guid>
		<description>Ok the remaining pieces to this puzzle seem to be as follows: 

- insert the following line into _Default.Page_Load.aspx.cs:

Session[&quot;HttpContext&quot;] = this.Context;

- Extend the class Sytem.Web.Mvc.Controller
- add to it&#039;s base constructor the following lines:

HttpContext context = (HttpContext)Session[&quot;HttpContext&quot;];
PersonInfo info = WebApplicationUtilities.PageOnPreLoad(context, true);

- Expose PersonInfo as a property of MyController or whatever you&#039;ve named it.

This might just do the trick...</description>
		<content:encoded><![CDATA[<p>Ok the remaining pieces to this puzzle seem to be as follows: </p>
<p>- insert the following line into _Default.Page_Load.aspx.cs:</p>
<p>Session["HttpContext"] = this.Context;</p>
<p>- Extend the class Sytem.Web.Mvc.Controller<br />
- add to it&#8217;s base constructor the following lines:</p>
<p>HttpContext context = (HttpContext)Session["HttpContext"];<br />
PersonInfo info = WebApplicationUtilities.PageOnPreLoad(context, true);</p>
<p>- Expose PersonInfo as a property of MyController or whatever you&#8217;ve named it.</p>
<p>This might just do the trick&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-1471</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Mon, 20 Jul 2009 14:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-1471</guid>
		<description>additionally there were a variety of tweaks that i had to make to the web.config file to get things pointing in the right direction.  i have no good place for hosting this information at the moment but would be happy to share with anyone interested...</description>
		<content:encoded><![CDATA[<p>additionally there were a variety of tweaks that i had to make to the web.config file to get things pointing in the right direction.  i have no good place for hosting this information at the moment but would be happy to share with anyone interested&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/comment-page-1/#comment-1468</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 17 Jul 2009 19:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://healthblog.vitraag.com/2009/07/talking-to-healthvault-via-aspnet-mvc-1/#comment-1468</guid>
		<description>howdy,
in the middle of doing this myself - maybe we can share experiences...  i&#039;ll add that i have changed references to Page to HealthServicePage and references to ActionPage to HealthServiceActionPage - this allows you authenticate upon hitting the site.  currently figuring out how to pass auth credentials into the controllers...</description>
		<content:encoded><![CDATA[<p>howdy,<br />
in the middle of doing this myself &#8211; maybe we can share experiences&#8230;  i&#8217;ll add that i have changed references to Page to HealthServicePage and references to ActionPage to HealthServiceActionPage &#8211; this allows you authenticate upon hitting the site.  currently figuring out how to pass auth credentials into the controllers&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

