<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 4: Adding an Admin View</title><link>http://asp.net</link><pubDate>Fri, 31 May 2013 07:24:00 GMT</pubDate><generator>umbraco</generator><description>Comments for Part 4: Adding an Admin View</description><language>en</language><atom:link href="http://asp.net/rss/comments/42620" rel="self" type="application/rss+xml" /><item><title>Comment Posted by ocsjack</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Mon, 27 Aug 2012 15:06:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016304</guid><description><![CDATA[ <p>Error Help -  What do I need to add to the project?</p><p>&#39;System.Web.Mvc.UrlHelper&#39; does not contain a definition for &#39;HttpRouteUrl&#39; and no extension method &#39;HttpRouteUrl&#39; accepting a first argument of type &#39;System.Web.Mvc.UrlHelper&#39; could be found (are you missing a using directive or an assembly reference?)</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ocsjack.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jamessmith119</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Tue, 28 Aug 2012 14:54:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016328</guid><description><![CDATA[ <p>Use &#39;RouteUrl&#39; - </p><p>string apiUri = Url.RouteUrl(&quot;DefaultApi&quot;, new { controller = &quot;admin&quot;, });</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/jamessmith119.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tala naji</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Sat, 01 Sep 2012 15:20:26 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016360</guid><description><![CDATA[ <p>hi .. i done all the steps .. but i&#39;m stop in Add Authorization step </p><p>because no filter folder in the application ! </p><p>and there is no InitializeSimpleMembershipAttribute.cs class !! </p><p>plz can u help me ? </p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/tala%20naji.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Rusteam</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Tue, 18 Sep 2012 11:09:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016457</guid><description><![CDATA[ <p>Tala Naji, you can create new role and account in Web Site Administration Tool. In Visual Studio 2012 you can run it in top menu in Project -&gt; ASP.NET Configuration. How to create role and account you can find in this link: <a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/ssa0wsyf" target="_blank">msdn.microsoft.com/</a>(v=vs.100).aspx</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Rusteam.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jbrownst</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Fri, 12 Oct 2012 01:11:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016609</guid><description><![CDATA[ <p>Add:</p><p>using System.Web.Security;</p><p>To:</p><p>InitializeSimpleMembershipAttribute.cs </p><p></p><p>If your project can&#39;t find a reference to &#39;Roles&#39;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/jbrownst.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by marble68</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Tue, 11 Dec 2012 19:59:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016987</guid><description><![CDATA[ <p>Hi. One step is missing here and that is to add:</p><p> - using System.Web.Security;</p><p>to the file:</p><p>- InitializeSimpleMembershipAttribute.cs</p><p></p><p>Failing to do so will cause this step compile to fail.</p><p></p><p>Great tutorial!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/marble68.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by victorwoo</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Tue, 25 Dec 2012 03:43:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000017060</guid><description><![CDATA[ <p>How to test the WEB API with fiddler after [Authorize] is been added?</p><p>I tried to add the following code to &quot;Request Headers&quot; of fiddler&#39;s Composer</p><p></p><p>Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==</p><p></p><p>While &quot;QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==&quot; stands for &quot;Administrator:password&quot;, but the returned HTTP code is still 401.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/victorwoo.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by froioa</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Thu, 18 Apr 2013 20:55:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018932</guid><description><![CDATA[ <p>The last code example above shows the AdminController.cs file defining the AdminController class as:</p><p>public class AdminController : ApiController</p><p>but my code lists it as:</p><p>public class AdminController : Controller</p><p>and it runs fine like this.  Was that a typo?</p><p></p><p>Thanks,</p><p>Adam</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/froioa.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pratik_godha</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Wed, 29 May 2013 10:28:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019205</guid><description><![CDATA[ <p>By Pratik Godha, Pratik Godha is a programmer-writer at Microsoft.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/pratik_godha.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by musterion</title><link>http://asp.net/web-api/overview/creating-web-apis/using-web-api-with-entity-framework/using-web-api-with-entity-framework,-part-4</link><pubDate>Fri, 31 May 2013 07:24:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019216</guid><description><![CDATA[ <p>@Html.EditorForModel() is not rendering the fields for the &quot;Add New Product&quot; fields. That secton of my HTML is just blank. Am I missing something?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/musterion.jpg?forceidenticon=false&amp;dt=635071794000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>