<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx</link><description>Last month , I wrote a number of posts on using T4 templates to get strong typing in ASP.NET MVC applications. The result is the T4MVC template available on CodePlex . This template has been pretty popular with many MVC users, and I received a huge amount</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9831830</link><pubDate>Mon, 13 Jul 2009 18:43:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9831830</guid><dc:creator>Hien Khieu</dc:creator><description>&lt;p&gt;David,&lt;/p&gt;
&lt;p&gt;How do I use this with query string (i.e. Default.aspx?Action=1)&lt;/p&gt;
</description></item><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9832049</link><pubDate>Mon, 13 Jul 2009 21:09:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9832049</guid><dc:creator>davidebb</dc:creator><description>&lt;p&gt;Hien Khieu: the constants are a replacement to hard coded literal strings, and can be used the same way. &amp;nbsp;So you can certainly append extra things to them. &amp;nbsp;But note that the value of the constant in the ~/ virtual path, which is not meant for client consumption. &amp;nbsp;It's only meant for server side usages like LoadControl.&lt;/p&gt;
</description></item><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9832685</link><pubDate>Tue, 14 Jul 2009 05:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9832685</guid><dc:creator>Hien Khieu</dc:creator><description>&lt;p&gt;Thank you very much, David.&lt;/p&gt;
&lt;p&gt;Your T4 stuff is awesome.&lt;/p&gt;
</description></item><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9834879</link><pubDate>Thu, 16 Jul 2009 03:25:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9834879</guid><dc:creator>Brian Chavez</dc:creator><description>&lt;p&gt;Haha, I did something like this a while ago.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.codeproject.com/KB/aspnet/slink.aspx"&gt;http://www.codeproject.com/KB/aspnet/slink.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I don't really maintain it anymore. Nice work :)&lt;/p&gt;
</description></item><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9835532</link><pubDate>Thu, 16 Jul 2009 15:03:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9835532</guid><dc:creator>MelGrubb</dc:creator><description>&lt;p&gt;For those interested in factoring out the paths, I've always taken the following approach (Only works in Web Projects, not Web Applications). Create multiple, static &amp;quot;URL&amp;quot; methods on each page's code-behind. Each method should be a valid &amp;quot;signature&amp;quot; for the page, with strongly-typed arguments. The method should return the proper URL for calling that page with the provided arguments. This puts the &amp;quot;magic path string&amp;quot; as well as the URL concatenation logic into the page itself. Now none of the rest of the application needs to know where the page is, or what its parameters are called.&lt;/p&gt;
</description></item><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9854679</link><pubDate>Fri, 31 Jul 2009 23:24:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9854679</guid><dc:creator>Rad</dc:creator><description>&lt;p&gt;Is there a way to create a richer code generation by building a custom T4 host for ASP.NET forms web application? &lt;/p&gt;
&lt;p&gt;How hard would be to add menu items to WAP project to build MVP kind of classes (view and presenters) from Model classes? I guess we could right click on a model class (business entity and you would be presented with 2 menu items to generate Presenter and View)?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rad&lt;/p&gt;
</description></item><item><title>re: AspPathGuru: A little T4 love for ASP.NET WebForms</title><link>http://blogs.msdn.com/davidebb/archive/2009/07/12/asppathguru-a-little-t4-love-for-asp-net-webforms.aspx#9854758</link><pubDate>Sat, 01 Aug 2009 00:49:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9854758</guid><dc:creator>davidebb</dc:creator><description>&lt;p&gt;Rad: this could certainly be done, but it would be completely different from this template, because it would do 'one time generation' instead of 'support code' (see this post: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/davidebb/archive/2009/07/17/two-ways-to-use-t4-templates-support-code-vs-one-time-generation.aspx"&gt;http://blogs.msdn.com/davidebb/archive/2009/07/17/two-ways-to-use-t4-templates-support-code-vs-one-time-generation.aspx&lt;/a&gt;). &amp;nbsp;What you're describing would be analogous to what ASP.NET MVC supports (e.g. Add View).&lt;/p&gt;
</description></item></channel></rss>