<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Joe Shirey</title>
    <link>http://www.joeshirey.com/</link>
    <description>Random Technical Stuff</description>
    <language>en-us</language>
    <copyright>Joe Shirey</copyright>
    <lastBuildDate>Wed, 23 Apr 2008 16:01:17 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>joe@joeshirey.com</managingEditor>
    <webMaster>joe@joeshirey.com</webMaster>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/JoeShirey" type="application/rss+xml" /><item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=83faa8fb-0cd0-415d-b372-1e171a3cd24e</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,83faa8fb-0cd0-415d-b372-1e171a3cd24e.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,83faa8fb-0cd0-415d-b372-1e171a3cd24e.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=83faa8fb-0cd0-415d-b372-1e171a3cd24e</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
The latest <a href="http://msdn2.microsoft.com/en-us/arcjournal/default.aspx" target="_blank">MSDN
Architecture Journal</a> has been released with a focus on "The Role of an Architect". 
I feel very strongly that being an architect is more than being a great technologist
or understanding patterns.  People skills separate the ordinary from the very
effective.  Because of that, I submitted a topic and wrote an article that appears
this month about <a href="http://msdn2.microsoft.com/en-us/arcjournal/cc505973.aspx" target="_blank">architect
soft skills</a>.   
</p>
        <p>
While you are there, check out the <a href="http://msdn2.microsoft.com/en-us/arcjournal/cc505974.aspx" target="_blank">excellent
article</a> by a peer of mine in Denver, Joseph Hofstader (it is great that we have
two people in Denver contributing this month).  I enjoy any article that contains
a Homer Simpson reference.
</p>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=83faa8fb-0cd0-415d-b372-1e171a3cd24e" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/276254524" height="1" width="1" /></body>
      <title>MSDN Architecture Journal 15</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,83faa8fb-0cd0-415d-b372-1e171a3cd24e.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/276254524/MSDNArchitectureJournal15.aspx</link>
      <pubDate>Wed, 23 Apr 2008 16:01:17 GMT</pubDate>
      <description>&lt;p&gt;
The latest &lt;a href="http://msdn2.microsoft.com/en-us/arcjournal/default.aspx" target="_blank"&gt;MSDN
Architecture Journal&lt;/a&gt; has been released with a focus on "The Role of an Architect".&amp;nbsp;
I feel very strongly that being an architect is more than being a great technologist
or understanding patterns.&amp;nbsp; People skills separate the ordinary from the very
effective.&amp;nbsp; Because of that, I submitted a topic and wrote an article that appears
this month about &lt;a href="http://msdn2.microsoft.com/en-us/arcjournal/cc505973.aspx" target="_blank"&gt;architect
soft skills&lt;/a&gt;.&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
While you are there, check out the &lt;a href="http://msdn2.microsoft.com/en-us/arcjournal/cc505974.aspx" target="_blank"&gt;excellent
article&lt;/a&gt; by a peer of mine in Denver, Joseph Hofstader (it is great that we have
two people in Denver contributing this month).&amp;nbsp; I enjoy any article that contains
a Homer Simpson reference.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=83faa8fb-0cd0-415d-b372-1e171a3cd24e" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,83faa8fb-0cd0-415d-b372-1e171a3cd24e.aspx</comments>
    <feedburner:origLink>http://www.joeshirey.com/2008/04/23/MSDNArchitectureJournal15.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=33c6b914-025c-4f64-ab4d-eb3f80bf7f53</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,33c6b914-025c-4f64-ab4d-eb3f80bf7f53.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,33c6b914-025c-4f64-ab4d-eb3f80bf7f53.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=33c6b914-025c-4f64-ab4d-eb3f80bf7f53</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
When I am working with customers there are a couple of topics that seem to always
come up - methodology and tools to support development.  My team has collaborated
with one of our partners, Neudesic, to put on an all day event that focuses on these
topics.  In particular, there will be a focus on Visual Studio Team System.  
</p>
        <p>
However, I will be delivering a session in Denver, Irvine, and Phoenix (I had a conflict
with LA) with no product focus.  I intend to discuss best practices and lessons
learned around adoption of process in the development lifecycle. I am excited about
this presentation because while tools are important, I find that there are many other
factors that are just as critical. 
</p>
        <p>
If you think the day will be valuable or know someone that would enjoy it, please
pass along the appropriate link:
</p>
        <ul>
          <li>
            <a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374276&amp;Culture=en-US" target="_blank">May
5, 2008 - Microsoft Office in Los Angeles</a>
          </li>
          <li>
            <a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374282&amp;Culture=en-US" target="_blank">May
22, 2008 - Microsoft Office in Denver</a>
          </li>
          <li>
            <a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374277&amp;Culture=en-US" target="_blank">June
10, 2008 - Microsoft Office in Irvine</a>
          </li>
          <li>
            <a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374283&amp;Culture=en-US" target="_blank">June
12, 2008 - Microsoft Office in Phoenix</a>
          </li>
        </ul>
        <p>
Hope to see you there.
</p>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=33c6b914-025c-4f64-ab4d-eb3f80bf7f53" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/275693142" height="1" width="1" /></body>
      <title>Adopting Visual Studio Team System Event in LA, Denver, Irvine, and Phoenix</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,33c6b914-025c-4f64-ab4d-eb3f80bf7f53.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/275693142/AdoptingVisualStudioTeamSystemEventInLADenverIrvineAndPhoenix.aspx</link>
      <pubDate>Tue, 22 Apr 2008 21:51:09 GMT</pubDate>
      <description>&lt;p&gt;
When I am working with customers there are a couple of topics that seem to always
come up - methodology and tools to support development.&amp;nbsp; My team has collaborated
with one of our partners, Neudesic, to put on an all day event that focuses on these
topics.&amp;nbsp; In particular, there will be a focus on Visual Studio Team System.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
However, I will be delivering a session in Denver, Irvine, and Phoenix (I had a conflict
with LA) with no product focus.&amp;nbsp; I intend to discuss best practices and lessons
learned around adoption of process in the development lifecycle. I am excited about
this presentation because while tools are important, I find that there are many other
factors that are just as critical. 
&lt;/p&gt;
&lt;p&gt;
If you think the day will be valuable or know someone that would enjoy it, please
pass along the appropriate link:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374276&amp;amp;Culture=en-US" target="_blank"&gt;May
5, 2008 - Microsoft Office in Los Angeles&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374282&amp;amp;Culture=en-US" target="_blank"&gt;May
22, 2008 - Microsoft Office in Denver&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374277&amp;amp;Culture=en-US" target="_blank"&gt;June
10, 2008 - Microsoft Office in Irvine&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032374283&amp;amp;Culture=en-US" target="_blank"&gt;June
12, 2008 - Microsoft Office in Phoenix&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Hope to see you there.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=33c6b914-025c-4f64-ab4d-eb3f80bf7f53" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,33c6b914-025c-4f64-ab4d-eb3f80bf7f53.aspx</comments>
    <feedburner:origLink>http://www.joeshirey.com/2008/04/22/AdoptingVisualStudioTeamSystemEventInLADenverIrvineAndPhoenix.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=ccd265d5-13a6-4869-bd5f-26e372d64fb6</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,ccd265d5-13a6-4869-bd5f-26e372d64fb6.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,ccd265d5-13a6-4869-bd5f-26e372d64fb6.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=ccd265d5-13a6-4869-bd5f-26e372d64fb6</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I have a Blackjack II and have really liked the phone so far (although I really want
a <a href="http://www.sonyericsson.com/x1/?lc=en&amp;cc=us" target="_blank">Sony Xperia
X1</a> when it releases).  Recently I mentioned to a couple of friends how much
I liked the BJII and they went out and purchased them.  They liked them also,
but wanted a home screen with smaller icons so they could better maximize their real
estate.  
</p>
        <p>
Here is the Windows Default Layout (notice that the mail/messaging notifications are
below and it is necessary to scroll down to get them).
</p>
        <p>
          <a href="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_2.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="image" src="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_thumb.png" width="275" border="0" />
          </a>
        </p>
        <p>
Here is the layout after I changed the home screen around a little bit.  I changed
to smaller icons and moved around a few of the items so my mail/messaging is above
the profile.
</p>
        <p>
          <a href="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_4.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="image" src="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_thumb_1.png" width="275" border="0" />
          </a>
        </p>
        <p>
I have posted the new home screen <a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/Public/SmallIcon.home.xml" target="_blank">here</a>. 
If you want to try it out, save it to the XML file to your device in the Application
Data\Home directory then go into your settings and change the home screen to "Default
with Small Icons".  
</p>
        <p>
Warning, I have not taken the time (nor do I have the ability) to internationalize
the XML file so if you are using a different language than US English you should open
the XML file and change the name to be appropriate for you.  
</p>
        <p>
Also, if you want to move things around in the home screen, it is quite easy. 
Just open the XML file and reorder the &lt;plugin&gt; elements to match your liking.
</p>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=ccd265d5-13a6-4869-bd5f-26e372d64fb6" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/271744455" height="1" width="1" /></body>
      <title>Samsung Blackjack II Home Screen</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,ccd265d5-13a6-4869-bd5f-26e372d64fb6.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/271744455/SamsungBlackjackIIHomeScreen.aspx</link>
      <pubDate>Wed, 16 Apr 2008 22:26:52 GMT</pubDate>
      <description>&lt;p&gt;
I have a Blackjack II and have really liked the phone so far (although I really want
a &lt;a href="http://www.sonyericsson.com/x1/?lc=en&amp;amp;cc=us" target="_blank"&gt;Sony Xperia
X1&lt;/a&gt; when it releases).&amp;nbsp; Recently I mentioned to a couple of friends how much
I liked the BJII and they went out and purchased them.&amp;nbsp; They liked them also,
but wanted a home screen with smaller icons so they could better maximize their real
estate.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Here is the Windows Default Layout (notice that the mail/messaging notifications are
below and it is necessary to scroll down to get them).
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="image" src="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_thumb.png" width="275" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Here is the layout after I changed the home screen around a little bit.&amp;nbsp; I changed
to smaller icons and moved around a few of the items so my mail/messaging is above
the profile.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="image" src="http://www.joeshirey.com/content/binary/WindowsLiveWriter/SamsungBlackjackIIHomeScreen_BA96/image_thumb_1.png" width="275" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
I have posted the new home screen &lt;a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/Public/SmallIcon.home.xml" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp;
If you want to try it out, save it to the XML file to your device in the Application
Data\Home directory then go into your settings and change the home screen to "Default
with Small Icons".&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Warning, I have not taken the time (nor do I have the ability) to internationalize
the XML file so if you are using a different language than US English you should open
the XML file and change the name to be appropriate for you.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Also, if you want to move things around in the home screen, it is quite easy.&amp;nbsp;
Just open the XML file and reorder the &amp;lt;plugin&amp;gt; elements to match your liking.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=ccd265d5-13a6-4869-bd5f-26e372d64fb6" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,ccd265d5-13a6-4869-bd5f-26e372d64fb6.aspx</comments>
      <category>Personal Technology</category>
    <feedburner:origLink>http://www.joeshirey.com/2008/04/16/SamsungBlackjackIIHomeScreen.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=5238c572-ef9f-4812-ac93-32b26416ef52</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,5238c572-ef9f-4812-ac93-32b26416ef52.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,5238c572-ef9f-4812-ac93-32b26416ef52.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=5238c572-ef9f-4812-ac93-32b26416ef52</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I wanted to thank everyone that showed up for my presentation on Office Development
with Visual Studio in both Denver and Phoenix.  I wanted to put together a follow
up with code samples if you are interested in digging into the topic further.
</p>
        <ul>
          <li>
The first demo that I did was a Word add-in that hooked into a set of web services. 
I have a posting with a how to video about creating a Word add-in <a href="http://www.joeshirey.com/2007/12/08/ExtendingTheOfficeUI.aspx" target="_blank">here</a> (requires
the Silverlight runtime).  The specific demo that I did in Denver wires up a
Word Add-In to the Northwind database.  I have posted that code <a title="here" href="http://www.joeshirey.com/files/worduidemo.zip">here</a> -
you will need to download and install the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46A0-8DA2-EEBC53A68034&amp;displaylang=en" target="_blank">Northwind
sample database</a> and set the connection string to get it working.  The sample
I used in Phoenix was slightly different and was dependent on services that were created
in other sessions.  If you were in Phoenix and want to look at some working code
go ahead and download the sample above.  It is pretty much the same as the demo
I did in Phoenix but hooks into a database directly rather than consuming services. 
I have posted the code I wrote in Phoenix <a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/PatientLookup.zip">here</a>,
but the code will not work without the services back end so it would be reference
code only. I also showed how to lookup the Office Icons using the <a href="http://timheuer.com/blog/archive/2008/02/22/power-tools-for-office-developers.aspx" target="_blank">Office
Developer Power Tools</a> in Phoenix.</li>
          <li>
In the second demo I created an Outlook add-in with some ribbon customizations and
an Outlook form region.  Because the code I used in both Denver in Phoenix was
dependent on the other sessions I don't have a working add-in to post.  However,
I have posted the code <a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/PrescriptionRenewal.zip">here</a> for
you to download if you want to just see the code.  
</li>
          <li>
In my third demo I showed how you could use System.IO.Packaging to manipulate Word
documents on the server without needing to actually run Word on the server. 
In Denver I used a sample that is posted <a href="http://www.joeshirey.com/files/createinvoice.zip">here</a> and
should just work because the data is encapsulated within the project.  I have
also posted my demo from Phoenix <a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/WordOnTheServer.zip">here</a> but
again it is dependent on other services so the code would be for reference only. 
If you are interested in this method of working with Office documents on the server,
there is a <a href="http://msdn2.microsoft.com/en-us/library/bb735940.aspx" target="_blank">good
MSDN</a> article about this.  I also use the <a href="http://www.codeplex.com/dbe" target="_blank">Word
Content Control Toolkit</a> to show how arbitrary XML can be databound to Content
Controls within Word.</li>
        </ul>
        <p>
Hopefully you enjoyed the session and found it worth your time.  If you found
this session interesting, I would recommend exploring the <a href="http://msdn2.microsoft.com/en-us/office/default.aspx" target="_blank">Office
Developer area of MSDN</a> to drill into any of the topics we discussed during the
session.
</p>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=5238c572-ef9f-4812-ac93-32b26416ef52" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/262730288" height="1" width="1" /></body>
      <title>Heroes Happen Here Developer Session Follow Up</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,5238c572-ef9f-4812-ac93-32b26416ef52.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/262730288/HeroesHappenHereDeveloperSessionFollowUp.aspx</link>
      <pubDate>Wed, 02 Apr 2008 15:29:35 GMT</pubDate>
      <description>&lt;p&gt;
I wanted to thank everyone that showed up for my presentation on Office Development
with Visual Studio in both Denver and Phoenix.&amp;nbsp; I wanted to put together a follow
up with code samples if you are interested in digging into the topic further.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
The first demo that I did was a Word add-in that hooked into a set of web services.&amp;nbsp;
I have a posting with a how to video about creating a Word add-in &lt;a href="http://www.joeshirey.com/2007/12/08/ExtendingTheOfficeUI.aspx" target="_blank"&gt;here&lt;/a&gt; (requires
the Silverlight runtime).&amp;nbsp; The specific demo that I did in Denver wires up a
Word Add-In to the Northwind database.&amp;nbsp; I have posted that code &lt;a title="here" href="http://www.joeshirey.com/files/worduidemo.zip"&gt;here&lt;/a&gt; -
you will need to download and install the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46A0-8DA2-EEBC53A68034&amp;amp;displaylang=en" target="_blank"&gt;Northwind
sample database&lt;/a&gt; and set the connection string to get it working.&amp;nbsp; The sample
I used in Phoenix was slightly different and was dependent on services that were created
in other sessions.&amp;nbsp; If you were in Phoenix and want to look at some working code
go ahead and download the sample above.&amp;nbsp; It is pretty much the same as the demo
I did in Phoenix but hooks into a database directly rather than consuming services.&amp;nbsp;
I have posted the code I wrote in Phoenix &lt;a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/PatientLookup.zip"&gt;here&lt;/a&gt;,
but the code will not work without the services back end so it would be reference
code only. I also showed how to lookup the Office Icons using the &lt;a href="http://timheuer.com/blog/archive/2008/02/22/power-tools-for-office-developers.aspx" target="_blank"&gt;Office
Developer Power Tools&lt;/a&gt; in Phoenix.&lt;/li&gt;
&lt;li&gt;
In the second demo I created an Outlook add-in with some ribbon customizations and
an Outlook form region.&amp;nbsp; Because the code I used in both Denver in Phoenix was
dependent on the other sessions I don't have a working add-in to post.&amp;nbsp; However,
I have posted the code &lt;a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/PrescriptionRenewal.zip"&gt;here&lt;/a&gt; for
you to download if you want to just see the code.&amp;nbsp; 
&lt;/li&gt;
&lt;li&gt;
In my third demo I showed how you could use System.IO.Packaging to manipulate Word
documents on the server without needing to actually run Word on the server.&amp;nbsp;
In Denver I used a sample that is posted &lt;a href="http://www.joeshirey.com/files/createinvoice.zip"&gt;here&lt;/a&gt; and
should just work because the data is encapsulated within the project.&amp;nbsp; I have
also posted my demo from Phoenix &lt;a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/WordOnTheServer.zip"&gt;here&lt;/a&gt; but
again it is dependent on other services so the code would be for reference only.&amp;nbsp;
If you are interested in this method of working with Office documents on the server,
there is a &lt;a href="http://msdn2.microsoft.com/en-us/library/bb735940.aspx" target="_blank"&gt;good
MSDN&lt;/a&gt; article about this.&amp;nbsp; I also use the &lt;a href="http://www.codeplex.com/dbe" target="_blank"&gt;Word
Content Control Toolkit&lt;/a&gt; to show how arbitrary XML can be databound to Content
Controls within Word.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Hopefully you enjoyed the session and found it worth your time.&amp;nbsp; If you found
this session interesting, I would recommend exploring the &lt;a href="http://msdn2.microsoft.com/en-us/office/default.aspx" target="_blank"&gt;Office
Developer area of MSDN&lt;/a&gt; to drill into any of the topics we discussed during the
session.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=5238c572-ef9f-4812-ac93-32b26416ef52" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,5238c572-ef9f-4812-ac93-32b26416ef52.aspx</comments>
    <feedburner:origLink>http://www.joeshirey.com/2008/04/02/HeroesHappenHereDeveloperSessionFollowUp.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=d5a50f2f-344e-48cc-b118-632eefa6b7e9</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,d5a50f2f-344e-48cc-b118-632eefa6b7e9.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,d5a50f2f-344e-48cc-b118-632eefa6b7e9.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=d5a50f2f-344e-48cc-b118-632eefa6b7e9</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Pretty much since the time I left the Denver Launch until now I have been on the road
(I am blogging this from DIA right now as I head to Seattle).  I will update
this with a few more things when I get a minute to breathe, but for those of you who
were interested in some of the code/topics from the Office Developer session you can
check out my posting from <a href="http://www.joeshirey.com/2007/12/21/FollowUpFromThePhoenixMSDNPowerSeriesEvent.aspx" target="_blank">here</a> where
I used a number of the same or similar demos.  Be early next week I will expand
this posting so it maps more closely to the session.
</p>
        <p>
Thanks for coming out and we will see you an another event soon.
</p>
        <p>
Update: I finally have a few minutes this morning and have finally put together a <a href="http://www.joeshirey.com/2008/04/02/HeroesHappenHereDeveloperSessionFollowUp.aspx">more
detailed post about the session</a>.  I also wanted to publicly thank Stephen
Smith from <a href="http://www.starz.com">Starz</a> for spending a few minutes with
us during the developer keynote to tell us how Visual Studio 2008, WPF, WCF, and WF
have been essential for their video encoding and distribution project.
</p>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=d5a50f2f-344e-48cc-b118-632eefa6b7e9" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/257958773" height="1" width="1" /></body>
      <title>Denver Launch Event Follow Up</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,d5a50f2f-344e-48cc-b118-632eefa6b7e9.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/257958773/DenverLaunchEventFollowUp.aspx</link>
      <pubDate>Tue, 25 Mar 2008 23:14:55 GMT</pubDate>
      <description>&lt;p&gt;
Pretty much since the time I left the Denver Launch until now I have been on the road
(I am blogging this from DIA right now as I head to Seattle).&amp;nbsp; I will update
this with a few more things when I get a minute to breathe, but for those of you who
were interested in some of the code/topics from the Office Developer session you can
check out my posting from &lt;a href="http://www.joeshirey.com/2007/12/21/FollowUpFromThePhoenixMSDNPowerSeriesEvent.aspx" target="_blank"&gt;here&lt;/a&gt; where
I used a number of the same or similar demos.&amp;nbsp; Be early next week I will expand
this posting so it maps more closely to the session.
&lt;/p&gt;
&lt;p&gt;
Thanks for coming out and we will see you an another event soon.
&lt;/p&gt;
&lt;p&gt;
Update: I finally have a few minutes this morning and have finally put together a &lt;a href="http://www.joeshirey.com/2008/04/02/HeroesHappenHereDeveloperSessionFollowUp.aspx"&gt;more
detailed post about the session&lt;/a&gt;.&amp;nbsp; I also wanted to publicly thank Stephen
Smith from &lt;a href="http://www.starz.com"&gt;Starz&lt;/a&gt; for spending a few minutes with
us during the developer keynote to tell us how Visual Studio 2008, WPF, WCF, and WF
have been essential for their video encoding and distribution project.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=d5a50f2f-344e-48cc-b118-632eefa6b7e9" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,d5a50f2f-344e-48cc-b118-632eefa6b7e9.aspx</comments>
    <feedburner:origLink>http://www.joeshirey.com/2008/03/25/DenverLaunchEventFollowUp.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=f146149e-dcc8-4feb-9342-8158253ba222</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,f146149e-dcc8-4feb-9342-8158253ba222.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,f146149e-dcc8-4feb-9342-8158253ba222.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=f146149e-dcc8-4feb-9342-8158253ba222</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Thanks to all of you who attended my presentation yesterday on Live Services and the
Live API - hope you had as much fun as I did.  Here are my follow up links:
</p>
        <h4>General
</h4>
        <p>
If you just want the presentation go <a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/Big%20Event%20Live%20Services.pdf" target="_blank">here</a>,
but if you want to learn more about Windows Live development visit <a href="http://dev.live.com" target="_blank">http://dev.live.com</a>. 
I showed off the the Windows Live Quick Apps (<a href="http://contosobicycleclub.mslivelabs.com/" target="_blank">Contoso
Bicycle Club</a>, <a href="http://contosobicycleclub.mslivelabs.com/" target="_blank">Cotoso
University</a>, <a href="http://contosoisv.mslivelabs.com/" target="_blank">Contoso
ISV</a>, and <a href="http://adventureworksresorts.sharplogic.com/AWR/Default.aspx" target="_blank">AdventureWorks
Resort</a>) can be found on <a href="http://www.codeplex.com/WLQuickApps" target="_blank">CodePlex</a>. 
Also, if you are getting more serious about developing Live applications, you should
consider taking a look at the <a href="http://dev.live.com/tools/" target="_blank">Visual
Studio Tools for Live</a>.
</p>
        <h4>Virtual Earth
</h4>
        <p>
If you want to learn more about Virtual Earth visit the <a href="http://dev.live.com/virtualearth/" target="_blank">developer
center</a> and in particular the <a href="http://dev.live.com/virtualearth/sdk/" target="_blank">Virtual
Earth Interactive SDK</a>.  A great example of the usage of Virtual Earth are
the radar maps on <a href="http://www.weather.com">http://www.weather.com</a>. 
I showed off integrating in some <a href="http://georss.mit.edu/" target="_blank">GeoRSS
feeds from MIT</a> into a map and also showed <a href="http://www.joeshirey.com/2008/02/01/AddingVirtualEarthToTheASPNETClubSiteStarterKit.aspx" target="_blank">a
demo of a modified Club Site Starter Kit</a>.
</p>
        <h4>Live ID
</h4>
        <p>
The Live ID discussion was very lively and interesting.  I showed you the sample
from the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b5a78784-922d-4267-a6e9-5d2ecf1dced8&amp;displaylang=en" target="_blank">Live
ID Client SDK</a> and the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=8BA187E5-3630-437D-AFDF-59AB699A483D&amp;displaylang=en" target="_blank">Live
ID Web SDK</a>.
</p>
        <h4>Live Contacts and Photos
</h4>
        <p>
Although we didn't do much in the way of demo we also talked a bit about <a href="http://dev.live.com/contacts/" target="_blank">Live
Contacts</a> and <a href="http://dev.live.com/spaces/photos/" target="_blank">Live
Photos</a>.  There is a <a href="http://blogs.msdn.com/dthorpe/archive/2006/10/05/Windows-Live-Contacts-Control-Beta-0.2-Released.aspx" target="_blank">great
blog posting you should visit</a> if you are interested in Live Contacts.
</p>
        <h4>Live Search
</h4>
        <p>
We also discussed the ability to add search to your site including the <a href="http://search.live.com/siteowner" target="_blank">AJAX
based client control</a> and the ability to use the <a href="http://dev.live.com/livesearch/sdk/" target="_blank">Interactive
SDK</a> to handle queries programmatically.
</p>
        <h4>Live Messenger and Live Agents
</h4>
        <p>
One of the more interesting discussions we had was around <a href="http://dev.live.com/messenger/" target="_blank">Live
Messenger</a> and <a href="http://dev.live.com/agents/" target="_blank">Live Agents</a>. 
I showed how to <a href="http://settings.messenger.live.com/Applications/createhtml.aspx" target="_blank">create
a control</a> you could drop onto a web page to embed IM communication purely through
HTML.  I also showed some example agents that were pretty interesting. 
If you would like to add them to your Live Messenger, search for the contact <a href="mailto:smarterchild@hotmail.com">smarterchild@hotmail.com</a> and <a href="mailto:encarta@botmetro.net">encarta@botmetro.net</a>. 
As part of that discussion we also talked about <a href="http://dev.live.com/alerts/" target="_blank">Live
Alerts</a>.
</p>
        <h4>Silverlight Streaming
</h4>
        <p>
I also did a quick demo that showed off embedding <a href="http://dev.live.com/silverlight/" target="_blank">Silverlight
Streaming</a> applications into your web page.  There are <a href="http://msdn2.microsoft.com/en-us/library/bb851598.aspx" target="_blank">instructions
for packaging up your application</a> for Silverlight Streaming, but I also recommend
looking at the <a href="http://www.microsoft.com/expression/products/overview.aspx?key=encoder" target="_blank">Expression
Media Encoder</a> if you are specifically looking at media.  I also really like
the <a href="http://blogs.msdn.com/cheller/archive/2007/07/30/silverlight-streaming-new-iframe-based-invocation-mechanism.aspx" target="_blank">&lt;iframe&gt;
method</a> of embedding the application in your Silverlight applications in about
any web page.
</p>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=f146149e-dcc8-4feb-9342-8158253ba222" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/227515210" height="1" width="1" /></body>
      <title>The Big Event Live Presentation Follow Up</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,f146149e-dcc8-4feb-9342-8158253ba222.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/227515210/TheBigEventLivePresentationFollowUp.aspx</link>
      <pubDate>Fri, 01 Feb 2008 23:07:07 GMT</pubDate>
      <description>&lt;p&gt;
Thanks to all of you who attended my presentation yesterday on Live Services and the
Live API - hope you had as much fun as I did.&amp;nbsp; Here are my follow up links:
&lt;/p&gt;
&lt;h4&gt;General
&lt;/h4&gt;
&lt;p&gt;
If you just want the presentation go &lt;a href="http://cid-6d9147e2c6a294d5.skydrive.live.com/self.aspx/PublicPrez/Big%20Event%20Live%20Services.pdf" target="_blank"&gt;here&lt;/a&gt;,
but if you want to learn more about Windows Live development visit &lt;a href="http://dev.live.com" target="_blank"&gt;http://dev.live.com&lt;/a&gt;.&amp;nbsp;
I showed off the the Windows Live Quick Apps (&lt;a href="http://contosobicycleclub.mslivelabs.com/" target="_blank"&gt;Contoso
Bicycle Club&lt;/a&gt;, &lt;a href="http://contosobicycleclub.mslivelabs.com/" target="_blank"&gt;Cotoso
University&lt;/a&gt;, &lt;a href="http://contosoisv.mslivelabs.com/" target="_blank"&gt;Contoso
ISV&lt;/a&gt;, and &lt;a href="http://adventureworksresorts.sharplogic.com/AWR/Default.aspx" target="_blank"&gt;AdventureWorks
Resort&lt;/a&gt;) can be found on &lt;a href="http://www.codeplex.com/WLQuickApps" target="_blank"&gt;CodePlex&lt;/a&gt;.&amp;nbsp;
Also, if you are getting more serious about developing Live applications, you should
consider taking a look at the &lt;a href="http://dev.live.com/tools/" target="_blank"&gt;Visual
Studio Tools for Live&lt;/a&gt;.
&lt;/p&gt;
&lt;h4&gt;Virtual Earth
&lt;/h4&gt;
&lt;p&gt;
If you want to learn more about Virtual Earth visit the &lt;a href="http://dev.live.com/virtualearth/" target="_blank"&gt;developer
center&lt;/a&gt; and in particular the &lt;a href="http://dev.live.com/virtualearth/sdk/" target="_blank"&gt;Virtual
Earth Interactive SDK&lt;/a&gt;.&amp;nbsp; A great example of the usage of Virtual Earth are
the radar maps on &lt;a href="http://www.weather.com"&gt;http://www.weather.com&lt;/a&gt;.&amp;nbsp;
I showed off integrating in some &lt;a href="http://georss.mit.edu/" target="_blank"&gt;GeoRSS
feeds from MIT&lt;/a&gt; into a map and also showed &lt;a href="http://www.joeshirey.com/2008/02/01/AddingVirtualEarthToTheASPNETClubSiteStarterKit.aspx" target="_blank"&gt;a
demo of a modified Club Site Starter Kit&lt;/a&gt;.
&lt;/p&gt;
&lt;h4&gt;Live ID
&lt;/h4&gt;
&lt;p&gt;
The Live ID discussion was very lively and interesting.&amp;nbsp; I showed you the sample
from the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b5a78784-922d-4267-a6e9-5d2ecf1dced8&amp;amp;displaylang=en" target="_blank"&gt;Live
ID Client SDK&lt;/a&gt; and the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=8BA187E5-3630-437D-AFDF-59AB699A483D&amp;amp;displaylang=en" target="_blank"&gt;Live
ID Web SDK&lt;/a&gt;.
&lt;/p&gt;
&lt;h4&gt;Live Contacts and Photos
&lt;/h4&gt;
&lt;p&gt;
Although we didn't do much in the way of demo we also talked a bit about &lt;a href="http://dev.live.com/contacts/" target="_blank"&gt;Live
Contacts&lt;/a&gt; and &lt;a href="http://dev.live.com/spaces/photos/" target="_blank"&gt;Live
Photos&lt;/a&gt;.&amp;nbsp; There is a &lt;a href="http://blogs.msdn.com/dthorpe/archive/2006/10/05/Windows-Live-Contacts-Control-Beta-0.2-Released.aspx" target="_blank"&gt;great
blog posting you should visit&lt;/a&gt; if you are interested in Live Contacts.
&lt;/p&gt;
&lt;h4&gt;Live Search
&lt;/h4&gt;
&lt;p&gt;
We also discussed the ability to add search to your site including the &lt;a href="http://search.live.com/siteowner" target="_blank"&gt;AJAX
based client control&lt;/a&gt; and the ability to use the &lt;a href="http://dev.live.com/livesearch/sdk/" target="_blank"&gt;Interactive
SDK&lt;/a&gt; to handle queries programmatically.
&lt;/p&gt;
&lt;h4&gt;Live Messenger and Live Agents
&lt;/h4&gt;
&lt;p&gt;
One of the more interesting discussions we had was around &lt;a href="http://dev.live.com/messenger/" target="_blank"&gt;Live
Messenger&lt;/a&gt; and &lt;a href="http://dev.live.com/agents/" target="_blank"&gt;Live Agents&lt;/a&gt;.&amp;nbsp;
I showed how to &lt;a href="http://settings.messenger.live.com/Applications/createhtml.aspx" target="_blank"&gt;create
a control&lt;/a&gt; you could drop onto a web page to embed IM communication purely through
HTML.&amp;nbsp; I also showed some example agents that were pretty interesting.&amp;nbsp;
If you would like to add them to your Live Messenger, search for the contact &lt;a href="mailto:smarterchild@hotmail.com"&gt;smarterchild@hotmail.com&lt;/a&gt; and &lt;a href="mailto:encarta@botmetro.net"&gt;encarta@botmetro.net&lt;/a&gt;.&amp;nbsp;
As part of that discussion we also talked about &lt;a href="http://dev.live.com/alerts/" target="_blank"&gt;Live
Alerts&lt;/a&gt;.
&lt;/p&gt;
&lt;h4&gt;Silverlight Streaming
&lt;/h4&gt;
&lt;p&gt;
I also did a quick demo that showed off embedding &lt;a href="http://dev.live.com/silverlight/" target="_blank"&gt;Silverlight
Streaming&lt;/a&gt; applications into your web page.&amp;nbsp; There are &lt;a href="http://msdn2.microsoft.com/en-us/library/bb851598.aspx" target="_blank"&gt;instructions
for packaging up your application&lt;/a&gt; for Silverlight Streaming, but I also recommend
looking at the &lt;a href="http://www.microsoft.com/expression/products/overview.aspx?key=encoder" target="_blank"&gt;Expression
Media Encoder&lt;/a&gt; if you are specifically looking at media.&amp;nbsp; I also really like
the &lt;a href="http://blogs.msdn.com/cheller/archive/2007/07/30/silverlight-streaming-new-iframe-based-invocation-mechanism.aspx" target="_blank"&gt;&amp;lt;iframe&amp;gt;
method&lt;/a&gt; of embedding the application in your Silverlight applications in about
any web page.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=f146149e-dcc8-4feb-9342-8158253ba222" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,f146149e-dcc8-4feb-9342-8158253ba222.aspx</comments>
      <category>Events</category>
      <category>Live</category>
    <feedburner:origLink>http://www.joeshirey.com/2008/02/01/TheBigEventLivePresentationFollowUp.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=15b020fb-20d3-40f8-9833-6cc94598773b</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,15b020fb-20d3-40f8-9833-6cc94598773b.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,15b020fb-20d3-40f8-9833-6cc94598773b.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=15b020fb-20d3-40f8-9833-6cc94598773b</wfw:commentRss>
      <title>Adding Virtual Earth to the ASP.NET Club Site Starter Kit</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,15b020fb-20d3-40f8-9833-6cc94598773b.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/227490738/AddingVirtualEarthToTheASPNETClubSiteStarterKit.aspx</link>
      <pubDate>Fri, 01 Feb 2008 21:53:12 GMT</pubDate>
      <description>&lt;p&gt;
I recently put together a demo for &lt;a href="http://www.joeshirey.com/2008/01/09/TheBigEventInDenverAndPhoenix.aspx"&gt;The
Big Event&lt;/a&gt; and I wanted to document how I developed this demo.&amp;nbsp; The &lt;a href="http://www.asp.net/downloads/starter-kits/club/"&gt;Club
Site Starter Kit&lt;/a&gt; is a free download for Visual Studio that comes with source code.&amp;nbsp;
It contains the basics for a club site including Events, News, Photos, and Links.&amp;nbsp;
In looking at the Events component, there is a locations function where a user can
enter in an address for the event.&amp;nbsp; My goal was to extend the UI to provide a
map view of the events in the system on the front page.
&lt;/p&gt;
&lt;p&gt;
I based on lot of this work on &lt;a href="http://blogs.msdn.com/bethmassi/archive/2007/12/03/northwind-meets-virtual-earth-generate-ve-maps-with-linq.aspx"&gt;a
posting from Beth Massi&lt;/a&gt; which shows how to map some of the Northwind sample accounts
in Virtual Earth using VB.NET which has some killer language features around XML.
&lt;/p&gt;
&lt;p&gt;
To create a new Club Site, open Visual Studio and create a new website.&amp;nbsp; After
you have installed the Club Site Starter Kit you will have a new project type under
"My Templates".&amp;nbsp; If you create the site it will run right out of the box.&amp;nbsp;
At this point you probably want to go into the ASP.NET configuration (under the Website
menu) and create an administrator account.&amp;nbsp; The admin account will be required
to actually update data on the site.
&lt;/p&gt;
&lt;p&gt;
Now that we have the site up and running lets go through the modifications.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Extend the Database&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
The club site starter kit comes with a database that contains a table for locations.&amp;nbsp;
I added two more fields to the database: &lt;font face="Courier New"&gt;lat&lt;/font&gt; and &lt;font face="Courier New"&gt;long&lt;/font&gt; both
as varchar(50).&amp;nbsp; These fields will store the latitude and longitude associated
with the address.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Get the Latitude and Longitude when creating or updating an address&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
One of the things that Beth discovered when putting together her sample was a &lt;a href="http://geocoder.us/"&gt;website&lt;/a&gt; that
will geocode (convert) an address to latitude and longitude using a Rest based web
service.&amp;nbsp; The first step was to leverage this web service whenever a new or updated
address is entered into the site on the locations.aspx page.&amp;nbsp; Since the page
is bound to the database, I created two additional controls on the page that were
hidden and held the latitude and longitude into both the insert and update views.&amp;nbsp;
I also trapped the OnTextChanged event.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;asp&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;TextBox&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;Text&lt;/span&gt;&lt;span style="color: blue"&gt;='&lt;/span&gt;&lt;span style="background: yellow; mso-highlight: yellow"&gt;&amp;lt;%&lt;/span&gt;#
Bind("Address") &lt;span style="background: yellow; mso-highlight: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color: blue"&gt;'&lt;/span&gt; &lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&lt;/span&gt; &lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;="TextBox1"&lt;/span&gt; &lt;span style="color: red"&gt;Rows&lt;/span&gt;&lt;span style="color: blue"&gt;="10" &lt;/span&gt;&lt;span style="color: red"&gt;TextMode&lt;/span&gt;&lt;span style="color: blue"&gt;="MultiLine"&lt;/span&gt; &lt;span style="color: red"&gt;Width&lt;/span&gt;&lt;span style="color: blue"&gt;="500px"&lt;/span&gt; &lt;span style="color: red"&gt;Height&lt;/span&gt;&lt;span style="color: blue"&gt;="166px"&lt;/span&gt; &lt;span style="color: red"&gt;OnTextChanged&lt;/span&gt;&lt;span style="color: blue"&gt;="TextBox1_TextChanged"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;asp&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;TextBox&lt;/span&gt;&lt;span style="color: blue"&gt;&lt;?xml:namespace prefix = o /&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;asp&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;TextBox&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;Text&lt;/span&gt;&lt;span style="color: blue"&gt;='&lt;/span&gt;&lt;span style="background: yellow; mso-highlight: yellow"&gt;&amp;lt;%&lt;/span&gt;#
Bind("lat") &lt;span style="background: yellow; mso-highlight: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color: blue"&gt;'&lt;/span&gt; &lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&lt;/span&gt; &lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;="txtLat"&lt;/span&gt; &lt;span style="color: red"&gt;Visible&lt;/span&gt;&lt;span style="color: blue"&gt;="false"&lt;/span&gt; &lt;span style="color: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;asp&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;TextBox&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;Text&lt;/span&gt;&lt;span style="color: blue"&gt;='&lt;/span&gt;&lt;span style="background: yellow; mso-highlight: yellow"&gt;&amp;lt;%&lt;/span&gt;#
Bind("long") &lt;span style="background: yellow; mso-highlight: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color: blue"&gt;'&lt;/span&gt; &lt;span style="color: red"&gt;runat&lt;/span&gt;&lt;span style="color: blue"&gt;="server"&lt;/span&gt; &lt;span style="color: red"&gt;ID&lt;/span&gt;&lt;span style="color: blue"&gt;="txtLong"&lt;/span&gt; &lt;span style="color: red"&gt;Visible&lt;/span&gt; &lt;span style="color: blue"&gt;="false"&lt;/span&gt; &lt;span style="color: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p class="MsoNormal"&gt;
In the page server code I added the following C# that handles the OnTextChanged event
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;protected&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: blue"&gt;void&lt;/span&gt; TextBox1_TextChanged(&lt;span style="color: blue"&gt;object&lt;/span&gt; sender, &lt;span style="color: #2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;TextBox&lt;/span&gt; lng
= (&lt;span style="color: #2b91af"&gt;TextBox&lt;/span&gt;)(FormView1.FindControl(&lt;span style="color: #a31515"&gt;"txtLong"&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;TextBox&lt;/span&gt; lat
= (&lt;span style="color: #2b91af"&gt;TextBox&lt;/span&gt;)(FormView1.FindControl(&lt;span style="color: #a31515"&gt;"txtLat"&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;TextBox&lt;/span&gt; address
= (&lt;span style="color: #2b91af"&gt;TextBox&lt;/span&gt;)(FormView1.FindControl(&lt;span style="color: #a31515"&gt;"TextBox1"&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;var&lt;/span&gt; url
= &lt;span style="color: #a31515"&gt;"http://geocoder.us/service/rest/?address="&lt;/span&gt; +
Server.UrlEncode(address.Text);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt; nsGeo
= &lt;span style="color: #a31515"&gt;"http://www.w3.org/2003/01/geo/wgs84_pos#"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt; geo;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;try&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;geo
= &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;.Load(url); 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;catch&lt;/span&gt; (&lt;span style="color: #2b91af"&gt;Exception&lt;/span&gt; ex)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green"&gt;//in
production put in some better exception handling&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;throw&lt;/span&gt; ex;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;lng.Text
= geo.Element(nsGeo + &lt;span style="color: #a31515"&gt;"Point"&lt;/span&gt;).Element(nsGeo + &lt;span style="color: #a31515"&gt;"long"&lt;/span&gt;).Value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;lat.Text
= geo.Element(nsGeo + &lt;span style="color: #a31515"&gt;"Point"&lt;/span&gt;).Element(nsGeo + &lt;span style="color: #a31515"&gt;"lat"&lt;/span&gt;).Value;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p class="MsoNormal"&gt;
The above code encodes the address and calls the geocoder web service to obtain the
latitude and longitude.&amp;nbsp; If you want to try out the service you can call it directly
via your browser (for example &lt;a title="http://geocoder.us/service/rest/?address=1600%20Pennsylvania%20Avenue%20NW%20Washington,%20DC%2020500" href="http://geocoder.us/service/rest/?address=1600%20Pennsylvania%20Avenue%20NW%20Washington,%20DC%2020500"&gt;http://geocoder.us/service/rest/?address=1600%20Pennsylvania%20Avenue%20NW%20Washington,%20DC%2020500&lt;/a&gt; will
give you the latitude and longitude of the White House).&amp;nbsp; 
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
The last two lines extract the latitude and longitude from the resulting XML using &lt;a href="http://msdn2.microsoft.com/en-us/library/bb308959.aspx#linqoverview_topic7"&gt;LINQ
to XML&lt;/a&gt;.&amp;nbsp; I find it much easier than trying to traverse the DOM but you can
pull that information using traditional DOM code.&amp;nbsp; 
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
One other point is that I would probably make is that this code would need to have
some additional error processing when an invalid address is entered or if the geocoding
service is not available.&amp;nbsp; Currently, if this particular geocoder service cannot
convert the address the Club Site application will just leave these fields blank and
the point will not show up on the map.&amp;nbsp; Also, this particular service isn't always
as accurate as I would like (but it is free), I have had some points be off by a couple
hundred yards. 
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;strong&gt;Create a GeoRSS Feed&lt;/strong&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
There are a couple of ways to integrate your custom data with Virtual Earth but I
personally like the ability to integrate a GeoRSS feed.&amp;nbsp; If you want to find
out more about programming against Virtual Earth check out the &lt;a href="http://dev.live.com/virtualearth/sdk/"&gt;Interactive
SDK&lt;/a&gt;.&amp;nbsp; Since I have the data stored in a database I created the feed using
the following code:
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Collections;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Configuration;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Data;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Linq;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Web;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Web.Security;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Web.UI;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Web.UI.HtmlControls;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Web.UI.WebControls;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Web.UI.WebControls.WebParts;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;using&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; System.Xml.Linq;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: blue"&gt;partial&lt;/span&gt; &lt;span style="color: blue"&gt;class&lt;/span&gt; &lt;span style="color: #2b91af"&gt;GeoRSS&lt;/span&gt; :
System.Web.UI.&lt;span style="color: #2b91af"&gt;Page&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;protected&lt;/span&gt; &lt;span style="color: blue"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color: blue"&gt;object&lt;/span&gt; sender, &lt;span style="color: #2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Response.ContentType
= &lt;span style="color: #a31515"&gt;"text/xml"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt; geoRSS
= GetGeoRSS();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Response.Write(geoRSS.ToString());&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;private&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt; GetGeoRSS()&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;NorthwindDataContext&lt;/span&gt; db
= &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;NorthwindDataContext&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;var&lt;/span&gt; events
= &lt;span style="color: blue"&gt;from&lt;/span&gt; e &lt;span style="color: blue"&gt;in&lt;/span&gt; db.Events&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;select&lt;/span&gt; &lt;span style="color: blue"&gt;new&lt;/span&gt; {
e.id, e.title, e.description, e.starttime, e.endtime, e.LocationDetail.address, e.LocationDetail.Location_title,
e.LocationDetail.lat, e.LocationDetail.@long };&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt; nsGeo
= &lt;span style="color: #a31515"&gt;"http://www.w3.org/2003/01/geo/wgs84_pos#"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt; nsGeorss
= &lt;span style="color: #a31515"&gt;"http://www.georss.org/georss"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt; nsGml
= &lt;span style="color: #a31515"&gt;"http://www.opengis.net/gml"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt; xmlFeed
= &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"rss"&lt;/span&gt;, 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"version"&lt;/span&gt;,
2.0),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt;.Xmlns
+ &lt;span style="color: #a31515"&gt;"geo"&lt;/span&gt;, nsGeo),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt;.Xmlns
+ &lt;span style="color: #a31515"&gt;"georss"&lt;/span&gt;, nsGeorss),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;XNamespace&lt;/span&gt;.Xmlns
+ &lt;span style="color: #a31515"&gt;"gml"&lt;/span&gt;, nsGml),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"channel"&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"title"&lt;/span&gt;, &lt;span style="color: #a31515"&gt;"Club
Events Feed"&lt;/span&gt;),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"link"&lt;/span&gt;,
Request.Url.AbsoluteUri),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"description"&lt;/span&gt;, &lt;span style="color: #a31515"&gt;"Events
coming up..."&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt; xmlChannel
= xmlFeed.Element(&lt;span style="color: #a31515"&gt;"channel"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;foreach&lt;/span&gt; (&lt;span style="color: blue"&gt;var&lt;/span&gt; row &lt;span style="color: blue"&gt;in&lt;/span&gt; events)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;xmlChannel.Add(&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"item"&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"title"&lt;/span&gt;,
row.title),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"link"&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"rel"&lt;/span&gt;, &lt;span style="color: #a31515"&gt;"via"&lt;/span&gt;),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"href"&lt;/span&gt;, &lt;span style="color: #a31515"&gt;"http://localhost:1589/ClubWebSite1/Events_view.aspx?EventID="&lt;/span&gt; +
row.id.ToString())&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"description"&lt;/span&gt;,
row.description),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"content"&lt;/span&gt;,
(&lt;span style="color: blue"&gt;string&lt;/span&gt;)BuildContent(row.description, row.starttime,
(&lt;span style="color: #2b91af"&gt;DateTime&lt;/span&gt;)row.endtime, row.address, row.Location_title),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XAttribute&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"type"&lt;/span&gt;, &lt;span style="color: #a31515"&gt;"html"&lt;/span&gt;)),&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(nsGml
+ &lt;span style="color: #a31515"&gt;"Point"&lt;/span&gt;,&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;XElement&lt;/span&gt;(nsGml
+ &lt;span style="color: #a31515"&gt;"pos"&lt;/span&gt;, row.lat + &lt;span style="color: #a31515"&gt;"
"&lt;/span&gt; + row.@long)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;return&lt;/span&gt; xmlFeed;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;private&lt;/span&gt; &lt;span style="color: blue"&gt;string&lt;/span&gt; BuildContent(&lt;span style="color: blue"&gt;string&lt;/span&gt; description, &lt;span style="color: #2b91af"&gt;DateTime&lt;/span&gt; starttime, &lt;span style="color: #2b91af"&gt;DateTime&lt;/span&gt; endtime, &lt;span style="color: blue"&gt;string&lt;/span&gt; address, &lt;span style="color: blue"&gt;string&lt;/span&gt; locname)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;string&lt;/span&gt; content;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;string&lt;/span&gt; when
= starttime.ToLongDateString() + &lt;span style="color: #a31515"&gt;" "&lt;/span&gt; + starttime.ToShortTimeString()
+ &lt;span style="color: #a31515"&gt;" - "&lt;/span&gt; + endtime.ToShortTimeString();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;content
= &lt;span style="color: #a31515"&gt;"&amp;lt;b&amp;gt;"&lt;/span&gt; + when + &lt;span style="color: #a31515"&gt;"&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;"&lt;/span&gt; +
locname + &lt;span style="color: #a31515"&gt;"&amp;lt;br&amp;gt;"&lt;/span&gt; + address + &lt;span style="color: #a31515"&gt;"&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;"&lt;/span&gt; +
description;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;return&lt;/span&gt; content;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;}&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;Basically the above code uses LINQ to SQL to pull the data out of the database and LINQ to XML to format the XML output.&amp;nbsp; You can create the XML in any fashion that you would like as long as it conforms to the &lt;a href="http://www.georss.org/"&gt;GeoRSS
standard&lt;/a&gt;.&amp;nbsp; The other reason I like this approach is that I can also extend this approach to filter by all sorts of criteria via querystring (if I wanted to filter by date for example).&amp;nbsp; &lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;The actual georss.aspx html code is below.&amp;nbsp; Notice that I am not caching any information (because I use this in demos).&amp;nbsp; In a real environment I would tune the cache a little differently.&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; background: yellow; font-family: 'Courier New'; mso-no-proof: yes; mso-highlight: yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;@&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: #a31515"&gt;Page&lt;/span&gt; &lt;span style="color: red"&gt;Language&lt;/span&gt;&lt;span style="color: blue"&gt;="C#"&lt;/span&gt; &lt;span style="color: red"&gt;AutoEventWireup&lt;/span&gt;&lt;span style="color: blue"&gt;="true"&lt;/span&gt; &lt;span style="color: red"&gt;CodeFile&lt;/span&gt;&lt;span style="color: blue"&gt;="GeoRSS.aspx.cs"&lt;/span&gt; &lt;span style="color: red"&gt;Inherits&lt;/span&gt;&lt;span style="color: blue"&gt;="GeoRSS"&lt;/span&gt; &lt;span style="background: yellow; mso-highlight: yellow"&gt;%&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; background: yellow; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes; mso-highlight: yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes"&gt;Response.Expires
= -1; &lt;span style="background: yellow; mso-highlight: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;
&lt;strong&gt;Modify the Home Page to Include the Map&lt;/strong&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;At this point the heavy lifting is complete.&amp;nbsp; Now all that is left is to actually place the map on the home page and bind it to the GeoRSS feed that we created.&amp;nbsp; The one difficulty in this example is that the Club Site Starter Kit uses master pages and content pages.&amp;nbsp; This causes two issues in that we cannot easily trap the &amp;lt;body&amp;gt; tag OnLoad event and we have to programmatically inject script into the &amp;lt;head&amp;gt; secion.&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;I added the following C# code to inject the include script for the map control into the &amp;lt;head&amp;gt; section of the page:&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;protected&lt;/span&gt; &lt;span style="color: blue"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color: blue"&gt;object&lt;/span&gt; sender, &lt;span style="color: #2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Page.ClientScript.RegisterClientScriptInclude(&lt;span style="color: #a31515"&gt;"VEScript"&lt;/span&gt;, &lt;span style="color: #a31515"&gt;"http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
Then I added the map to the appropriate portion of the page.&amp;nbsp; You can see that
I added a &amp;lt;br&amp;gt; tag with an OnLoad event to trigger the map load.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;br&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;onload&lt;/span&gt;&lt;span style="color: blue"&gt;="GetMap();"&lt;/span&gt; &lt;span style="color: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;div&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;id&lt;/span&gt;&lt;span style="color: blue"&gt;="myMap"&lt;/span&gt; &lt;span style="color: red"&gt;style&lt;/span&gt;&lt;span style="color: blue"&gt;="&lt;/span&gt;&lt;span style="color: red"&gt;position&lt;/span&gt;:&lt;span style="color: blue"&gt;relative&lt;/span&gt;; &lt;span style="color: red"&gt;width&lt;/span&gt;:&lt;span style="color: blue"&gt;446px&lt;/span&gt; ; &lt;span style="color: red"&gt;height&lt;/span&gt;:&lt;span style="color: blue"&gt;400px"/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
Finally, I added a script for the GetMap event to render the map and wire it up to
the GeoRSS feed.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; font-family: 'Courier New'; mso-no-proof: yes"&gt;script&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt; &lt;span style="color: red"&gt;type&lt;/span&gt;&lt;span style="color: blue"&gt;="text/javascript"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;var&lt;/span&gt; map
= &lt;span style="color: blue"&gt;null&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;self.setTimeout(&lt;span style="color: #a31515"&gt;"GetMap()"&lt;/span&gt;,
1);&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;function&lt;/span&gt; GetMap()&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;map
= &lt;span style="color: blue"&gt;new&lt;/span&gt; VEMap(&lt;span style="color: #a31515"&gt;'myMap'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;map.SetDashboardSize(VEDashboardSize.Small);&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;map.LoadMap();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;var&lt;/span&gt; layer
= &lt;span style="color: blue"&gt;new&lt;/span&gt; VEShapeLayer();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue"&gt;var&lt;/span&gt; veLayerSpec
= &lt;span style="color: blue"&gt;new&lt;/span&gt; VEShapeSourceSpecification(VEDataType.GeoRSS, &lt;span style="color: #a31515"&gt;"georss.aspx"&lt;/span&gt;,
layer);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;map.ImportShapeLayerData(veLayerSpec, &lt;span style="color: blue"&gt;null&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; color: blue; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: #a31515; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes"&gt;script&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; line-height: 115%; font-family: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p class="MsoNormal"&gt;
The one thing I had to add that you won't find in the Interactive SDK is the &lt;font face="Courier New"&gt;self.setTimeout&lt;/font&gt; call.&amp;nbsp;
This forces this function to load after the entire body is done rendering.
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
Here is the final result:
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;a href="http://www.joeshirey.com/content/binary/WindowsLiveWriter/AddingVirtualEarth.NETClubSiteStarterKit_D102/image_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="772" alt="image" src="http://www.joeshirey.com/content/binary/WindowsLiveWriter/AddingVirtualEarth.NETClubSiteStarterKit_D102/image_thumb.png" width="794" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=15b020fb-20d3-40f8-9833-6cc94598773b" /&gt;&lt;img src="http://feeds.feedburner.com/~r/JoeShirey/~4/227490738" height="1" width="1"/&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,15b020fb-20d3-40f8-9833-6cc94598773b.aspx</comments>
      <category>Live</category>
    <feedburner:origLink>http://www.joeshirey.com/2008/02/01/AddingVirtualEarthToTheASPNETClubSiteStarterKit.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=94b533dd-d291-46d8-bc00-dcfc365bbc13</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,94b533dd-d291-46d8-bc00-dcfc365bbc13.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,94b533dd-d291-46d8-bc00-dcfc365bbc13.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=94b533dd-d291-46d8-bc00-dcfc365bbc13</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
My team and I have been putting together an event that should be a lot of fun. 
From <a href="http://timheuer.com/blog/" target="_blank">Tim Heuer's blog</a>:
</p>
        <blockquote>
          <p>
            <font face="Tahoma" color="#004040">miss the days of devdays?  me too. 
my team is trying to bring a little of that spark back!  </font>
            <a href="http://joeshirey.com">
              <font face="Tahoma" color="#004040">joe
shirey</font>
            </a>
            <font face="Tahoma" color="#004040"> on my team has organized a full-day
of developer and architect goodness.  we'll be hosting two events, one in the
phoenix, arizona metro area and one in the denver, colorado metro area.  here's
the gist:</font>
          </p>
          <p>
            <font face="Tahoma" color="#004040">
            </font>  
</p>
          <p>
            <font face="Tahoma">
              <font color="#004040">
                <strong>keynote</strong>: microsoft patterns
and practices is being shipped in to talk about what they've produced and the logic
behind it!</font>
            </font>
          </p>
          <p>
            <font face="Tahoma" color="#004040">
            </font>  
</p>
          <p>
            <font face="Tahoma">
              <font color="#004040">
                <strong>
                  <u>developer track</u>
                </strong>:</font>
            </font>
          </p>
          <ul>
            <ul>
              <li>
                <font face="Tahoma" color="#004040">exposing and consuming data using the microsoft
stack (</font>
                <a href="http://robbagby.com">
                  <font face="Tahoma" color="#004040">rob
bagby</font>
                </a>
                <font face="Tahoma" color="#004040">): take a look at the ado.net
entity framework, linq and the ado.net data services (project 'astoria'). </font>
              </li>
              <li>
                <font face="Tahoma" color="#004040">office as a developer platform (tim heuer): didn't
know you could easily write office applications using managed code?  let me show
you how easy it is and what visual studio 2008 has done to enable this and make it
even easier. </font>
              </li>
              <li>
                <font face="Tahoma" color="#004040">what is new in visual basic 9 (</font>
                <a href="http://www.bethmassi.com">
                  <font face="Tahoma" color="#004040">beth
massi</font>
                </a>
                <font face="Tahoma" color="#004040">): that's right.  beth massi
-- if you are a vb'er, you've no doubt heard the name from the vb team.  we convinced
her that she needed to be a part of this and she agreed!  come learn from beth
all the new goodness that is VB9: xml literals, object initializers, anonymous types,
extension methods, lambda expressions and some wicked intellisense improvements! </font>
              </li>
            </ul>
          </ul>
          <p>
            <font face="Tahoma">
              <font color="#004040">
                <strong>
                  <u>architect track</u>
                </strong>:</font>
            </font>
          </p>
          <ul>
            <ul>
              <li>
                <font face="Tahoma" color="#004040">why user experience matters: face it, developers
are not good at defining user interfaces and thus it is often an aspect that is left
out.  let's discuss the reason this needs to change and how attention to the
user experience affects application adoption. </font>
              </li>
              <li>
                <font face="Tahoma" color="#004040">agile development at microsoft: the team from
patterns and practices will discuss how they have fully adopted agile methods in their
development team and their learnings over the years. </font>
              </li>
              <li>
                <font face="Tahoma" color="#004040">the Windows Live platform: think windows live
is just virtual earth?  think again!  come hear about the services available
to you as service-based building blocks that microsoft has exposed for your use! </font>
              </li>
            </ul>
          </ul>
          <p>
            <font face="Tahoma" color="#004040">this is going to be a great day and a must-see
event.  it is completely free to attend.  come hang out with us.  we
will also have a couple of surprises throughout the day and some fun stuff to show
as well. </font>
          </p>
          <p>
            <font face="Tahoma" color="#004040">
            </font>  
</p>
          <p>
            <font face="Tahoma" color="#004040">register for your event today:</font>
          </p>
          <p>
            <font face="Tahoma" color="#004040">
            </font>  
</p>
          <p>
            <a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032364687&amp;culture=en-US">
              <font face="Tahoma" color="#004040">
                <strong>PHOENIX
29 JAN REGISTER HERE</strong>
              </font>
            </a>
          </p>
          <p>
            <font face="Tahoma" color="#004040">
            </font>  
</p>
          <p>
            <a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032364690&amp;culture=en-US">
              <font face="Tahoma" color="#004040">
                <strong>DENVER
31 JAN REGISTER HERE</strong>
              </font>
            </a>
          </p>
          <p>
            <font face="Tahoma" color="#004040">
            </font>  
</p>
          <p>
            <font face="Tahoma" color="#004040">do not miss out on this opportunity to hear from
some locals as well as some people we are dragging out from redmond and the product
teams!</font>
          </p>
        </blockquote>
        <img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=94b533dd-d291-46d8-bc00-dcfc365bbc13" />
      <xhtml:img xmlns:xhtml="http://www.w3.org/1999/xhtml" src="http://feeds.feedburner.com/~r/JoeShirey/~4/213494081" height="1" width="1" /></body>
      <title>The Big Event in Denver and Phoenix</title>
      <guid isPermaLink="false">http://www.joeshirey.com/PermaLink,guid,94b533dd-d291-46d8-bc00-dcfc365bbc13.aspx</guid>
      <link>http://feeds.feedburner.com/~r/JoeShirey/~3/213494081/TheBigEventInDenverAndPhoenix.aspx</link>
      <pubDate>Wed, 09 Jan 2008 00:42:36 GMT</pubDate>
      <description>&lt;p&gt;
My team and I have been putting together an event that should be a lot of fun.&amp;nbsp;
From &lt;a href="http://timheuer.com/blog/" target="_blank"&gt;Tim Heuer's blog&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;miss the days of devdays?&amp;nbsp; me too.&amp;nbsp;
my team is trying to bring a little of that spark back!&amp;nbsp; &lt;/font&gt;&lt;a href="http://joeshirey.com"&gt;&lt;font face="Tahoma" color="#004040"&gt;joe
shirey&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#004040"&gt; on my team has organized a full-day
of developer and architect goodness.&amp;nbsp; we'll be hosting two events, one in the
phoenix, arizona metro area and one in the denver, colorado metro area.&amp;nbsp; here's
the gist:&lt;/font&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;
&lt;font face="Tahoma"&gt;&lt;font color="#004040"&gt;&lt;strong&gt;keynote&lt;/strong&gt;: microsoft patterns
and practices is being shipped in to talk about what they've produced and the logic
behind it!&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;
&lt;font face="Tahoma"&gt;&lt;font color="#004040"&gt;&lt;strong&gt;&lt;u&gt;developer track&lt;/u&gt;&lt;/strong&gt;:&lt;/font&gt;&lt;/font&gt; 
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;font face="Tahoma" color="#004040"&gt;exposing and consuming data using the microsoft
stack (&lt;/font&gt;&lt;a href="http://robbagby.com"&gt;&lt;font face="Tahoma" color="#004040"&gt;rob
bagby&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#004040"&gt;): take a look at the ado.net
entity framework, linq and the ado.net data services (project 'astoria'). &lt;/font&gt; 
&lt;li&gt;
&lt;font face="Tahoma" color="#004040"&gt;office as a developer platform (tim heuer): didn't
know you could easily write office applications using managed code?&amp;nbsp; let me show
you how easy it is and what visual studio 2008 has done to enable this and make it
even easier. &lt;/font&gt; 
&lt;li&gt;
&lt;font face="Tahoma" color="#004040"&gt;what is new in visual basic 9 (&lt;/font&gt;&lt;a href="http://www.bethmassi.com"&gt;&lt;font face="Tahoma" color="#004040"&gt;beth
massi&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#004040"&gt;): that's right.&amp;nbsp; beth massi
-- if you are a vb'er, you've no doubt heard the name from the vb team.&amp;nbsp; we convinced
her that she needed to be a part of this and she agreed!&amp;nbsp; come learn from beth
all the new goodness that is VB9: xml literals, object initializers, anonymous types,
extension methods, lambda expressions and some wicked intellisense improvements! &lt;/font&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;font face="Tahoma"&gt;&lt;font color="#004040"&gt;&lt;strong&gt;&lt;u&gt;architect track&lt;/u&gt;&lt;/strong&gt;:&lt;/font&gt;&lt;/font&gt; 
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;font face="Tahoma" color="#004040"&gt;why user experience matters: face it, developers
are not good at defining user interfaces and thus it is often an aspect that is left
out.&amp;nbsp; let's discuss the reason this needs to change and how attention to the
user experience affects application adoption. &lt;/font&gt; 
&lt;li&gt;
&lt;font face="Tahoma" color="#004040"&gt;agile development at microsoft: the team from
patterns and practices will discuss how they have fully adopted agile methods in their
development team and their learnings over the years. &lt;/font&gt; 
&lt;li&gt;
&lt;font face="Tahoma" color="#004040"&gt;the Windows Live platform: think windows live
is just virtual earth?&amp;nbsp; think again!&amp;nbsp; come hear about the services available
to you as service-based building blocks that microsoft has exposed for your use! &lt;/font&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;this is going to be a great day and a must-see
event.&amp;nbsp; it is completely free to attend.&amp;nbsp; come hang out with us.&amp;nbsp; we
will also have a couple of surprises throughout the day and some fun stuff to show
as well. &lt;/font&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;register for your event today:&lt;/font&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;
&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032364687&amp;amp;culture=en-US"&gt;&lt;font face="Tahoma" color="#004040"&gt;&lt;strong&gt;PHOENIX
29 JAN REGISTER HERE&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;
&lt;a href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032364690&amp;amp;culture=en-US"&gt;&lt;font face="Tahoma" color="#004040"&gt;&lt;strong&gt;DENVER
31 JAN REGISTER HERE&lt;/strong&gt;&lt;/font&gt;&lt;/a&gt; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p&gt;
&lt;font face="Tahoma" color="#004040"&gt;do not miss out on this opportunity to hear from
some locals as well as some people we are dragging out from redmond and the product
teams!&lt;/font&gt;
&lt;/p&gt;
&lt;/blockquote&gt;&lt;img width="0" height="0" src="http://www.joeshirey.com/aggbug.ashx?id=94b533dd-d291-46d8-bc00-dcfc365bbc13" /&gt;</description>
      <comments>http://www.joeshirey.com/CommentView,guid,94b533dd-d291-46d8-bc00-dcfc365bbc13.aspx</comments>
      <category>Events</category>
    <feedburner:origLink>http://www.joeshirey.com/2008/01/09/TheBigEventInDenverAndPhoenix.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://www.joeshirey.com/Trackback.aspx?guid=94b36a5b-89f1-433a-b3de-393d1c9294ee</trackback:ping>
      <pingback:server>http://www.joeshirey.com/pingback.aspx</pingback:server>
      <pingback:target>http://www.joeshirey.com/PermaLink,guid,94b36a5b-89f1-433a-b3de-393d1c9294ee.aspx</pingback:target>
      <dc:creator>Joe Shirey</dc:creator>
      <wfw:comment>http://www.joeshirey.com/CommentView,guid,94b36a5b-89f1-433a-b3de-393d1c9294ee.aspx</wfw:comment>
      <wfw:commentRss>http://www.joeshirey.com/SyndicationService.asmx/GetEntryCommentsRss?guid=94b36a5b-89f1-433a-b3de-393d1c9294ee</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Thanks to all of you who attended the Phoenix MSDN Power Series Event on 12/20. 
The slides will be posted via MSDN Events and I will provide links to them once they
are live.  A couple of other items for those of you that attended.
</p>
        <p>
          <strong>Office as a Platform Session</strong>
        </p>
        <ul>
          <li>
If you want to know more about server side generation of documents, there is a <a href="http://msdn2.microsoft.com/en-us/library/bb735940.aspx" target="_blank">good
article on MSDN</a> about it.  I have also posted the code I used in the demo <a href="http://www.joeshirey.com/files/createinvoice.zip">here</a>. 
To get it to work, you will want to unzip the contents to a directory and open it
using the "Open Web Site..." functionality in VS.NET.  This demo should work
in both VS.NET 2005 and 2008 as long as you have installed .NET Fx 3.0.  I also
had a question about what reference you need to add if you want to use System.IO.Packaging
in your solutions - it is WindowsBase.</li>
          <li>
If you are interested in the part of the talk where I modified Word 2007, you can
check out my <a href="http://www.joeshirey.com/2007/12/08/ExtendingTheOfficeUI.aspx">video</a> on
an earlier posting to see the walkthru.  I have also posted my demo code that
wires up the UI to a database <a href="http://www.joeshirey.com/files/worduidemo.zip">here</a>. 
If you download that code, you will need to have the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=06616