<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Gabo's blog - All Comments</title><link>http://weblogs.asp.net/gabriellopez/default.aspx</link><description>wax on, wax off for .net developers</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Office Seat Map webpart</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/27/office-seat-map-webpart.aspx#6421202</link><pubDate>Sat, 19 Jul 2008 16:58:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6421202</guid><dc:creator>gabouy</dc:creator><description>&lt;p&gt;No, I'm using regular web references to query MOSS web services.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6421202" width="1" height="1"&gt;</description></item><item><title>re: Office Seat Map webpart</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/27/office-seat-map-webpart.aspx#6417078</link><pubDate>Fri, 18 Jul 2008 20:18:46 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6417078</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;I take it you&amp;#39;re not using WCF to query the profiles? &amp;nbsp;For some reason, I&amp;#39;m not able to call the GetUserProfileBy&amp;lt;&amp;gt; web methods. It throws a strange formatter exception. &amp;nbsp;But only in WCF. Works fine in .NET 2.0.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6417078" width="1" height="1"&gt;</description></item><item><title>re: How to develop a casual game with Silverlight 2</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/01/how-to-develop-a-casual-game-with-silverlight-2.aspx#6360569</link><pubDate>Sat, 05 Jul 2008 00:45:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6360569</guid><dc:creator>Nokola</dc:creator><description>&lt;p&gt;Hi Miguel,&lt;/p&gt;
&lt;p&gt;I also started a &amp;quot;casual&amp;quot; breakout clone sometime ago and this is where it all ended up: &lt;a rel="nofollow" target="_new" href="http://www.nokola.com/shock"&gt;http://www.nokola.com/shock&lt;/a&gt; - a full-blown playable game with lots of features.. :)&lt;/p&gt;
&lt;p&gt;Thanks for the post! It&amp;#39;s great to know people interested in Silverlight gaming!&lt;/p&gt;
&lt;p&gt;About embedding: if you have access to the raw HTML for your blog (usually from the editor), just add the IFRAME from Silverlight streaming (like in here: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/nikola/archive/2008/07/04/building-the-reallistic-water-ripples-sample-in-silverlight.aspx"&gt;blogs.msdn.com/.../building-the-reallistic-water-ripples-sample-in-silverlight.aspx&lt;/a&gt;)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6360569" width="1" height="1"&gt;</description></item><item><title>re: Office Seat Map webpart</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/27/office-seat-map-webpart.aspx#6327572</link><pubDate>Fri, 27 Jun 2008 14:22:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6327572</guid><dc:creator>gabouy</dc:creator><description>&lt;p&gt;Carmine, Thanks! Since this code was paid for by one of our customers I cannot publish it without approval, If I get it I may do so in the future.&lt;/p&gt;
&lt;p&gt;Andy, I'm using MOSS UserProfile web service (http://&amp;lt;moss&amp;gt;/_vti_bin/userprofileservice.asmx), in a two step process, first I query the user store with a high privileges account in a scheduled process which generates an xml file. The second step is consuming the generated xml, which is published in a web application and consumed as a REST web service from the silverlight app. &lt;/p&gt;
&lt;p&gt;This is the piece of code I'm using to query the MOSS User profile store:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static List&amp;lt;Profile&amp;gt; GetUserProfiles()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List&amp;lt;Profile&amp;gt; profiles = new List&amp;lt;Profile&amp;gt;();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dictionary&amp;lt;string, Profile&amp;gt; dictionary = new Dictionary&amp;lt;string, Profile&amp;gt;();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MOSSUserProfile.UserProfileService service = new UserProfileService();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;service.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int numProfiles = (int)service.GetUserProfileCount();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; numProfiles; i++)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Profile p = new Profile();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PropertyData[] properties = service.GetUserProfileByIndex(i).UserProfile; &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;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.AccountName = GetPropertyStringValue(&amp;quot;AccountName&amp;quot;, properties);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!dictionary.ContainsKey(p.AccountName)) &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.PictureUrl = GetPropertyStringValue(&amp;quot;PictureURL&amp;quot;, properties);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.Name = GetPropertyStringValue(&amp;quot;PreferredName&amp;quot;, properties);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.Mobile = GetPropertyStringValue(&amp;quot;CellPhone&amp;quot;, properties);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.PhoneExtension= GetPropertyStringValue(&amp;quot;WorkPhone&amp;quot;, properties);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.Email = GetPropertyStringValue(&amp;quot;WorkEmail&amp;quot;, properties);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;profiles.Add(p);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dictionary.Add(p.AccountName, p);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;profiles.Sort(new ProfileItemComparer());&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return profiles;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6327572" width="1" height="1"&gt;</description></item><item><title>re: Office Seat Map webpart</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/27/office-seat-map-webpart.aspx#6327463</link><pubDate>Fri, 27 Jun 2008 13:48:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6327463</guid><dc:creator>Carmine</dc:creator><description>&lt;p&gt;What a great idea! Are you able to post your source on this project? Thanks!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6327463" width="1" height="1"&gt;</description></item><item><title>re: How to develop a casual game with Silverlight 2</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/01/how-to-develop-a-casual-game-with-silverlight-2.aspx#6253270</link><pubDate>Fri, 06 Jun 2008 14:17:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6253270</guid><dc:creator>Miguel Saez</dc:creator><description>&lt;p&gt;I&amp;#39;ve been doing some tests with a Live Writer plugin to embed Silverlight apps right up from silverlight streaming. Not really good results either :(&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6253270" width="1" height="1"&gt;</description></item><item><title>re: How to develop a casual game with Silverlight 2</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/01/how-to-develop-a-casual-game-with-silverlight-2.aspx#6250241</link><pubDate>Thu, 05 Jun 2008 14:57:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6250241</guid><dc:creator>gabouy</dc:creator><description>&lt;p&gt;Thanks Miguel (can i call you mike ;), yeah it&amp;#180;d be cool to embed it in a blog, I've done some simple embedding tests with blogger with no luck :( I&amp;#180;m working on a more playable, pimped up, version, no available in &lt;a rel="nofollow" target="_new" href="http://www.happyclone-online-games.com/"&gt;www.happyclone-online-games.com&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Regarding the CodePlex project it may be a good idea for a more sophisticated game, this sort of casual game should be easily achieved with the new popfly tools to create games.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6250241" width="1" height="1"&gt;</description></item><item><title>re: How to develop a casual game with Silverlight 2</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/01/how-to-develop-a-casual-game-with-silverlight-2.aspx#6249945</link><pubDate>Thu, 05 Jun 2008 13:11:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6249945</guid><dc:creator>Miguel Saez</dc:creator><description>&lt;p&gt;Bueniiiisimo. We have to publish the game in silverlight streaming and embed the game in the blog. It would be great to start working in a Silverlight Codeplex project for fun.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6249945" width="1" height="1"&gt;</description></item><item><title>breakout</title><link>http://weblogs.asp.net/gabriellopez/archive/2008/06/01/how-to-develop-a-casual-game-with-silverlight-2.aspx#6243758</link><pubDate>Tue, 03 Jun 2008 03:21:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6243758</guid><dc:creator>breakout</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;breakout&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6243758" width="1" height="1"&gt;</description></item></channel></rss>