<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Part 6: Creating Product and Order Controllers</title><link>http://asp.net</link><pubDate>Wed, 25 Jul 2012 08:45:25 GMT</pubDate><generator>umbraco</generator><description>Comments for Part 6: Creating Product and Order Controllers</description><language>en</language><atom:link href="http://asp.net/rss/comments/42625" rel="self" type="application/rss+xml" /><item><title>Comment Posted by saurabhgautam</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-6</link><pubDate>Wed, 04 Jul 2012 12:03:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015913</guid><description><![CDATA[ <p>Mike,</p><p>I think there is a typo in following line:</p><p>var product = (from p in MapProducts() </p><p>                           where p.Id == 1 </p><p>                           select p).FirstOrDefault();</p><p></p><p>it should be</p><p></p><p>var product = (from p in MapProducts() </p><p>                           where p.Id == id</p><p>                           select p).FirstOrDefault();</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/saurabhgautam.jpg?forceidenticon=false&amp;dt=635049894600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jlserrano</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-6</link><pubDate>Wed, 25 Jul 2012 08:45:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016044</guid><description><![CDATA[ <p>Hi, when you use User.Identity.Name to restrict results, in the real world you should us a userId and also a deptId. &#39;Ive been trying to use with webAPi a custom Identity using GenericIdentity and store this info in the cookie and retrieve again inside the Apicontroller from the Principal and so on with no success.</p><p></p><p>I`have been reading and some guys says this is not supported, please have you any link or any sample or any advice to use AutheticationForms with Custom Identity in a MVC4-webapi?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/jlserrano.jpg?forceidenticon=false&amp;dt=635049894600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>