<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0 (10-4 on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/shows/10-4/10-4-episode-11-bi-directional-routing-with-aspnet-webforms-40/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0 (10-4 on Channel 9)</title><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/</link></image><description>10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</description><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/</link><language>en-us</language><pubDate>Tue, 07 Jul 2009 18:16:42 GMT</pubDate><lastBuildDate>Tue, 07 Jul 2009 18:16:42 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>&lt;p&gt;Great to hear!&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=477309</link><pubDate>Tue, 07 Jul 2009 18:16:43 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=477309</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/477309/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Great to hear!</evnet:previewtext><dc:creator>Jonathan Carter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/477309/Trackback.aspx</trackback:ping></item><item><title>Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>&lt;p&gt;i am using that really efficient&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=473883</link><pubDate>Mon, 15 Jun 2009 18:25:10 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=473883</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/473883/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>i am using that really efficient</evnet:previewtext><dc:creator>unlock iphone</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/473883/Trackback.aspx</trackback:ping></item><item><title>Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>3:05am to 8:41am &lt;BR&gt;&lt;BR&gt;thats fast :P</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=460203</link><pubDate>Sun, 08 Mar 2009 15:55:00 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=460203</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/460203/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>3:05am to 8:41am thats fast :P</evnet:previewtext><dc:creator>stevo_</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/460203/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>I would go with the unique string approach. Since part of the whole objective is to provide more meaningful URLs to end users, integer/guid identifiers don't really provide them any value. That doesn't mean that you won't still need to do something along the lines of "Products/1" in situations were that makes sense. You might have resources that don't legitimately have a unique value other than an ID. For SEO purposes having a descriptive value in the URL certainly helps as well. "Products/Cups" is capable of being spidered as a resource on "cups" whereas "Products/45" isn't. Will that make a huge difference? Maybe not, but every little bit helps :)&lt;br&gt;&lt;br&gt;There is no need to get religious on either approach, it all just comes down to which approach serves the needs of your application the best. Since routing is so extensible, you should have fun building the sitemap you want. There is soooo much more to it then what I showed in this demo since this episode was meant only to show how routing and webforms can work together. General purpose routing has plenty of awesome little features.&lt;br&gt;&lt;br&gt;I doubt there will be a 10-4 episode on ASP.NET Routing specifically since it isn't a feature in .NET Framework 4.0, but I could throw together some ad-hoc screencasts and plop them on my blog (http://www.lostintangent.com) or C9.&lt;br&gt;&lt;br&gt;Keep these great questions coming guys, I seriously love the 10-4 community :)&lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459942</link><pubDate>Fri, 06 Mar 2009 01:21:58 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459942</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459942/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I would go with the unique string approach. Since part of the whole objective is to provide more meaningful URLs to end users, integer/guid identifiers don't really provide them any value. That doesn't mean that you won't still need to do something along the lines of "Products/1" in situations were&amp;#8230;</evnet:previewtext><dc:creator>Jonathan Carter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459942/Trackback.aspx</trackback:ping></item><item><title>Re: Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>&lt;P&gt;Do the new route tools help in moving from a site with identity keys (int) to text values.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;products.aspx?pid=1&lt;BR&gt;becomes&lt;BR&gt;products/chairs/&lt;BR&gt;&lt;BR&gt;I guess it would be difficult to map all the number / string pairs as routes in a config file.&amp;nbsp; I assume they could be added programatically on application start.&amp;nbsp; They would have to be recreated if something was later added to the database?&lt;BR&gt;&lt;BR&gt;Or do you suggest moving away from passing the primary keys of database related objects and instead passing a unique string?&lt;BR&gt;&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459934</link><pubDate>Fri, 06 Mar 2009 00:20:52 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459934</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459934/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Do the new route tools help in moving from a site with identity keys (int) to text values.&amp;nbsp; products.aspx?pid=1becomesproducts/chairs/I guess it would be difficult to map all the number / string pairs as routes in a config file.&amp;nbsp; I assume they could be added programatically on application&amp;#8230;</evnet:previewtext><dc:creator>JoshBlack</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459934/Trackback.aspx</trackback:ping></item><item><title>Re: Re: Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>&lt;P&gt;Thank you JC! I wrote you some ideas a month ago.&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459924</link><pubDate>Thu, 05 Mar 2009 23:03:49 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459924</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459924/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thank you JC! I wrote you some ideas a month ago.</evnet:previewtext><dc:creator>Alexei Ivannicoff</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459924/Trackback.aspx</trackback:ping></item><item><title>Re: Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>That is one of the first questions that always comes up after seeing ASP.NET Routing :) As of right now the only way to configure your routes is through code. That said, I'm a firm believer that a good API is the perfect foundation for layering additional forms of expression (i.e. loading routes from a config file or DB). There are a couple prototypes floating around that pull your route definitions from config that I'd be more than happy to share with you.&lt;br&gt;&lt;br&gt;As far as new rendering of controls, I'll deifnitely try to fit this in later episodes. Funny enough I actually showed off a very subtle change to the ListView control in this episode but I didn't call it out. You no longer have to have a PlaceHolderTemplate if your ItemTemplate's contents are truly seperate markup (i.e. not &amp;lt;li&amp;gt;'s within a &amp;lt;ul&amp;gt; for instance). &lt;br&gt;&lt;br&gt;Feel free to email me (joncart at microsoft dot com) and I can share some additional info in the meantine. &lt;br&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459907</link><pubDate>Thu, 05 Mar 2009 21:32:56 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459907</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459907/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>That is one of the first questions that always comes up after seeing ASP.NET Routing :) As of right now the only way to configure your routes is through code. That said, I'm a firm believer that a good API is the perfect foundation for layering additional forms of expression (i.e. loading routes&amp;#8230;</evnet:previewtext><dc:creator>Jonathan Carter</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459907/Trackback.aspx</trackback:ping></item><item><title>Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>&lt;P&gt;Very well implemented very useful feature!&lt;BR&gt;One question: what about urls localization? &lt;BR&gt;Should I populate the RouteTable by hand for every languages or there is some resource related stuffs in the API?&lt;BR&gt;Thx&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459889</link><pubDate>Thu, 05 Mar 2009 20:09:35 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459889</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459889/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Very well implemented very useful feature!One question: what about urls localization? Should I populate the RouteTable by hand for every languages or there is some resource related stuffs in the API?Thx</evnet:previewtext><dc:creator>Mathias Kozlowski</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459889/Trackback.aspx</trackback:ping></item><item><title>Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>&lt;P&gt;And about new rendering mode of controls.&lt;BR&gt;Thank you.&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459834</link><pubDate>Thu, 05 Mar 2009 13:08:30 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459834</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459834/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>And about new rendering mode of controls.Thank you.</evnet:previewtext><dc:creator>Alexei Ivannicoff</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459834/Trackback.aspx</trackback:ping></item><item><title>Re: 10-4 Episode 11: Bi-Directional Routing with ASP.NET WebForms 4.0</title><description>That is great! Will it be possible to have declarative syntax of it? For example in web.routing file?&lt;BR&gt;JC can you tell about changes of App_Theme? I wrote about it on connect but no answer.</description><comments></comments><link>http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459833</link><pubDate>Thu, 05 Mar 2009 13:07:03 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/shows/10-4/10-4-Episode-11-Bi-Directional-Routing-with-ASPNET-WebForms-40/?CommentID=459833</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/459833/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>That is great! Will it be possible to have declarative syntax of it? For example in web.routing file?JC can you tell about changes of App_Theme? I wrote about it on connect but no answer.</evnet:previewtext><dc:creator>Alexei Ivannicoff</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/459833/Trackback.aspx</trackback:ping></item></channel></rss>