<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>Using Web API with ASP.NET Web Forms</title><link>http://www.asp.net</link><pubDate>Sat, 16 Mar 2013 16:17:49 GMT</pubDate><generator>umbraco</generator><description>Comments for Using Web API with ASP.NET Web Forms</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/37852" rel="self" type="application/rss+xml" /><item><title>Comment Posted by rana-anees@hotmail.com</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Mon, 06 Aug 2012 05:00:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016117</guid><description><![CDATA[ <p>Can we use Web API on big scale running websites? Does it supports Entity Framework? </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/rana-anees@hotmail.com.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by waelfarag</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Wed, 22 Aug 2012 09:36:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016248</guid><description><![CDATA[ <p>Wow, Great Article, Please Put it under it&#39;s own Category &quot;Web API for Web Forms Developers&quot; Now I can Continue the Totorials.</p><p>I have created the same steps but For Web Site (Not Web App) and It goes OK</p><p>I was using a class library to hold the code for My WCF services and refere to it in the .svc file, Now Just add a API Controller class to the same library and here we go.</p><p>For Web forms Developers, Use Web API In web forms, you don&#39;t need to learn MVC.</p><p></p><p>One Final Question: How does MapHttpRoute detects the controller class anyway?!!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/waelfarag.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by barryman9000</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Wed, 22 Aug 2012 14:40:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016255</guid><description><![CDATA[ <p>In order to use &quot;RouteTable.Routes.MapHttpRoute&quot; in my Global.asax file I had to add references and using statements for:</p><p>using System.Net.Http;</p><p>using System.Web.Http;</p><p>using System.Web.Http.WebHost;</p><p>using System.Web.Routing; </p><p></p><p>I should add that I created a solution with a Web API project and a Web Application project, then just referenced the MVC project in my web app to access the Controller and Model assemblies... in case that was the reason I had to add all those references.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/barryman9000.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by barryman9000</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Wed, 22 Aug 2012 14:42:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016256</guid><description><![CDATA[ <p>Very helpful tutorial, thanks Mike! There&#39;s a typo in your jQuery (&#39;&lt;tr/&gt;&#39;) but fixing it still didn&#39;t work for me... I ended up with this, which worked:</p><p></p><p>var row = &#39;&lt;tr&gt;&lt;td&gt;&#39; + val.Name + &#39;&lt;/td&gt;&lt;td&gt;&#39; + val.Price + &#39;&lt;/td&gt;&lt;/tr&gt;&#39;;</p><p>$(&#39;#products&#39;).append(row);</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/barryman9000.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by alaa9jo</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Mon, 27 Aug 2012 03:59:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016298</guid><description><![CDATA[ <p>Is it possible to do unit testing on the controller since it&#39;s within app_code folder?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/alaa9jo.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ssta604</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Mon, 15 Oct 2012 02:26:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016627</guid><description><![CDATA[ <p>Awesome post!  </p><p></p><p>Had to change the jQuery template from {text: row} to {html: row} for it to work.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ssta604.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by timh2359</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Tue, 29 Jan 2013 12:17:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018277</guid><description><![CDATA[ <p>Succinct and to the point. Just what I needed to integrate web api into a project I have right now. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/timh2359.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by srinivasareddyp</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Fri, 08 Mar 2013 03:39:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018617</guid><description><![CDATA[ <p>Thanks great help</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/srinivasareddyp.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by trisys</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Sat, 16 Mar 2013 16:06:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018717</guid><description><![CDATA[ <p>RouteTable is not declared - only 13 months after you wrote this and your code is broken already!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/trisys.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by trisys</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Sat, 16 Mar 2013 16:09:15 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018718</guid><description><![CDATA[ <p>Global.asax need following Imports/Using:</p><p></p><p>Imports System.Web.SessionState</p><p>Imports System.Web.Http</p><p>Imports System.Web.Http.WebHost</p><p>Imports System.Web.Routing</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/trisys.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by trisys</title><link>http://www.asp.net/web-api/overview/creating-web-apis/using-web-api-with-aspnet-web-forms</link><pubDate>Sat, 16 Mar 2013 16:17:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018719</guid><description><![CDATA[ <p>Nope - compiled, but Application_Start does not get called - Windows 7 64-bit, VS2010 - what needs to be done to fix this now?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/trisys.jpg?forceidenticon=false&amp;dt=635045767800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>