<?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>Fri, 07 May 2010 13:55:36 +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-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>
