<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
	<title>Data-Driven Services with Silverlight 2</title>
	<description><![CDATA[O'Reilly's Data-Driven Services with Silverlight 2 Book Forum]]></description>
	<link>http://forums.oreilly.com/index.php</link>
	<pubDate>Sun, 22 Nov 2009 20:02:30 -0500</pubDate>
	<ttl>120</ttl>
	<image>
		<title>Data-Driven Services with Silverlight 2</title>
		<url>http://www.oreilly.com/catalog/covers/9780596523091_thumb.gif</url>
		<link>http://forums.oreilly.com/index.php</link>
	</image>
	<item>
		<title>Great Book!  Thanks For Writting It!</title>
		<link>http://forums.oreilly.com/index.php?showtopic=4334</link>
		<description><![CDATA[Hi John.<br /><br />I picked up your book today and wanted you to know that it is one of the most useful books I have purchased in quite a while.<br /><br />Thank you for sharing your contibution.<br /><br />Phil<br />]]></description>
		<pubDate>Sat, 23 May 2009 16:31:50 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=4334</guid>
	</item>
	<item>
		<title>Productview.xaml Not Showing Up In Editor</title>
		<link>http://forums.oreilly.com/index.php?showtopic=1164</link>
		<description><![CDATA[The culprit seems to be this StaticResource:<br /><br />Style="{StaticResource TextBlockCaptionStyle}"<br /><br />which is used many times in the file.<br /><br />Removing allows you to view the page, but the text doesn't look so good.<br /><br />Page: xx of the Preface in the book mentions that the styles and templates are to be provided at www.silverlight-Data.com, but I was not able to find them.<br /><br />Probably a simple fix, but I'm such a SilverLightWeight I can't figure it out! <img src="http://forums.oreilly.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Thanks,<br /><br />Phil K.<br /><br />BTW:  I spent 10 hours reading about ADO.NET and SL2 on the web and was totally confused.  One hour with Chapter 11 and it filled in many of the gaps!  Great Job John!]]></description>
		<pubDate>Sat, 14 Feb 2009 02:16:35 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=1164</guid>
	</item>
	<item>
		<title>Changing Connection String To Get Chapter 11 Example To Work</title>
		<link>http://forums.oreilly.com/index.php?showtopic=1163</link>
		<description><![CDATA[I was pleasantly suprised that the source code compiled!  <img src="http://forums.oreilly.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />Here is how I figured out how to change the connection string to get the - EFDataServices_VB sourcecode to work.<br /><br />Create a new 'Dynamic Data Entities Project' using VS 2008.  Right click on the new project root and select 'Add New Item'.  In the dialog select ADO.NET Entity Data Model.  The wizard prompts you for the database to use, select 'NorthwindEF.mdf', select at least one of tables to add to the model.<br /><br />When finished I then copied the connection string in the web.config file of the new project to the web.config file of the EFDataServices_VB project and it worked.<br /><br />Phil K.<br /><br /><br /><br /><br />]]></description>
		<pubDate>Sat, 14 Feb 2009 02:09:12 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=1163</guid>
	</item>
	<item>
		<title>Custom Service Operations</title>
		<link>http://forums.oreilly.com/index.php?showtopic=934</link>
		<description><![CDATA[This topic was posed on my web site, so I thought I might move it here in case anyone else had the same question ..... here is the chain ....<br /><br />-----------------------------------------<br />Larry D  on 12.30.2008 at 4:55 PM<br /><br />    Hi John, everyone else:<br /><br />    following the ADO.Net Data Services (chpt 11) approach, I'd like to add a service that returns the current user identity from the server.<br /><br />    In NorthwindDataService.svc.cs (EFDataServices)<br /><br />    I thought I could just add<br /><br />    [WebGet]<br /><br />    public string CurrentUser()<br /><br />    {<br /><br />    return HttpContext.Current.User.Identity.ToString();<br /><br />    }<br /><br />    However it does not show up, I'm assuming due to it not being IQueryable.<br /><br />    Is there a recommended approach to adding services such as this to the ado.net data services? The example in the book for CustomersByCity is IQueryable.<br /><br />    thanks,<br /><br />    -Larry<br /><br />-----------------------------------------<br />Larry D on 12.30.2008 at 7:38 PM<br /><br />    Hi John,<br /><br />    the WebGet CustomersByCity doesn't appear to be working for me (from chapter 11 EFDataServices NorthwindDataService.svc.cs). I get 404 resource not found when trying as per the inline doc.<br /><br />    Also when browsing to NorthwindDataService.svc, should CustomersByCity appear with the other endpoints listed? No errors when compiling, and I'm using the code as downloaded.<br /><br />    suggestions?<br /><br />    thanks,<br /><br />    -Larry<br /><br />-----------------------------------------<br />John Papa on 12.30.2008 at 9:40 PM<br /><br />    Larry,<br /><br />    The CustomersByCity method will not appear as a proxy method explictly. Instead, it is accessible via a RESTful URI off of the EntityContainer. For example:<br /><br />    <a href="http://localhost:8890/NorthwindDataService.svc/CustomersByCity/?city='London'" target="_blank">http://localhost:8890/NorthwindDataService...#39;London'</a><br /><br />    This will invoke the CustomersByCity method in the service.<br /><br />    You would also need to allow permission to the web method using this line of code (which I commented out in the sample code, so you can just uncomment it )<br /><br />    config.SetServiceOperationAccessRule("CustomersByCity", ServiceOperationRights.All);<br /><br />    Finally, make sure Customers entityset is accessible by doing this:<br /><br />    config.SetEntitySetAccessRule("Customers", EntitySetRights.AllRead);<br /><br />]]></description>
		<pubDate>Tue, 30 Dec 2008 21:44:39 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=934</guid>
	</item>
	<item>
		<title>Source Code Available</title>
		<link>http://forums.oreilly.com/index.php?showtopic=875</link>
		<description><![CDATA[I just posted the complete source code for the book at both O'Reilly's site <a href="http://www.silverlight-data.com" target="_blank">and on my site</a>.  On <a href="http://www.silverlight-data.com" target="_blank">www.silverlight-data.com</a> its in my Links list on the right side of the page. Its all of the code in both VB and C#, so its about 58MB.<br /><br />Please write up a review for the book when you get a moment at O'Reilly and/or Amazon. Much appreciated!]]></description>
		<pubDate>Fri, 19 Dec 2008 16:44:58 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=875</guid>
	</item>
	<item>
		<title>Welcome!</title>
		<link>http://forums.oreilly.com/index.php?showtopic=847</link>
		<description><![CDATA[Hi,<br /><br />Thank you for joining the forums for my book and for you interest in my book! I will release code samples for the book around the end of this month when the book is available for full release. Please ask any questions about the book or the code or anything related to the topic in general. <br /><br />Once the book is released, I will also post information on my web site for the book at <a href="http://www.silverlight-data.com" target="_blank">www.silverlight-data.com </a> including updates to the code and supplementary topics for the book.<br /><br /><br />John Papa]]></description>
		<pubDate>Thu, 11 Dec 2008 18:11:35 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=847</guid>
	</item>
</channel>
</rss>