<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eric Polerecky &#187; esri</title>
	<atom:link href="http://eric.polerecky.com/archives/category/esri/feed/" rel="self" type="application/rss+xml" />
	<link>http://eric.polerecky.com</link>
	<description>An outlet for my obsession with technology</description>
	<lastBuildDate>Mon, 14 Jun 2010 14:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ESRI Silverlight Map vs. Prism Regions</title>
		<link>http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/</link>
		<comments>http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 14:00:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[esri]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/</guid>
		<description><![CDATA[<br/>After a day or so of working with Silverlight it became quite apparent that you can’t, no you Shouldn’t build Silverlight LOB (Line of Business) applications without Prism. 
Prism offers a way to break down your application into modules. And it uses Regions as a way to put it all back together again. Its very


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>After a day or so of working with Silverlight it became quite apparent that you can’t, no you Shouldn’t build Silverlight LOB (Line of Business) applications without Prism. </p>
<p>Prism offers a way to break down your application into modules. And it uses Regions as a way to put it all back together again. Its very similar to the ASP.NET MasterPage/Content area approach. </p>
<p>Unfortunately for me; the control toolkit I’m using (I work for GISi now; its a mapping company…more on that in a future post) is from ESRI but none of the ESRI samples use Prism. When I got down to the nitty gritty I ended up tearing out my hair over my inability to make the map control do two things.</p>
<ol>
<li>Live in a module (a module is a separate project) </li>
<li>Take up 100% of the height and width of the shell. – Its a prism term – long post and screencasts coming soon. </li>
</ol>
<p>I could make the map do 1 or 2 but not 1 and 2&#8230;that is until I got some help from <a href="http://www.sharpgis.net/" target="_blank">@sharpgis</a></p>
<p><a href="http://forums.esri.com/Thread.asp?c=158&amp;f=2455&amp;t=290394&amp;mc=4">http://forums.esri.com/Thread.asp?c=158&amp;f=2455&amp;t=290394&amp;mc=4</a></p>
<p>So, the key is to use </p>
<pre> HorizontalContentAlignment=&quot;Stretch&quot; VerticalContentAlignment=&quot;Stretch&quot;</pre>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
