<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.dotnetmafia.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>Corey Roth [MVP] : Cutting Edge</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Cutting+Edge/default.aspx</link><description>Tags: Cutting Edge</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>301 Redirects in .NET 4.0</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/08/28/301-redirects-in-net-4-0.aspx</link><pubDate>Fri, 28 Aug 2009 14:46:48 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:960</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=960</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/08/28/301-redirects-in-net-4-0.aspx#comments</comments><description>&lt;p&gt;I posted in the past how to do a simple search engine friendly redirect using the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/03/26/search-engine-friendly-redirect.aspx"&gt;301 HTTP status code&lt;/a&gt;.&amp;#160; I thought this was always something that needed to be included in the framework and it looks like it finally will be in .NET 4.0.&amp;#160; I saw this mentioned in &lt;a href="http://weblogs.asp.net/scottgu/archive/2009/08/27/multi-targeting-support-vs-2010-and-net-4-series.aspx"&gt;Scottgu’s&lt;/a&gt; post about multi-targeting and thought it was worth mentioning today since I have posted on it in the past.&amp;#160; To do a 301 redirect, use the new &lt;em&gt;RedirectPermanent()&lt;/em&gt; method on the response object.&amp;#160; It takes the same parameters as the Redirect() method.&amp;#160; Here is what it would look like.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Response.RedirectPermanent(“/SomeOtherPage.aspx”);&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;This type of redirect obviously doesn’t really matter for internal sites, but for public facing sites, if you are relying on a redirect somewhere, it is best to do it with a 301 as the search engines don’t really care for the standard 302 redirect.&amp;#160; At least they didn’t at one time.&amp;#160; I am not SEO expert.&lt;/p&gt;  &lt;p&gt;Follow me on &lt;a href="http://twitter.com/coreyroth"&gt;twitter&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=960" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Cutting+Edge/default.aspx">Cutting Edge</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/.NET+4.0/default.aspx">.NET 4.0</category></item><item><title>Cowboy Coding a Data Editor with ASP.NET Dynamic Data</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/12/11/cowboy-coding-a-data-editor-with-asp-net-dynamic-data.aspx</link><pubDate>Tue, 11 Dec 2007 15:33:27 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:21</guid><dc:creator>C-Dog's .NET Tip of the Day</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=21</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/12/11/cowboy-coding-a-data-editor-with-asp-net-dynamic-data.aspx#comments</comments><description>The ASP.NET 3.5 Extensions Preview came out this week. The biggest feature people are of course talking about is the MVC framework. I won&amp;#39;t be talking about that today since ten thousand other people already are. Today I will be talking about a new...(&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/12/11/cowboy-coding-a-data-editor-with-asp-net-dynamic-data.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=21" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/LINQ+to+SQL/default.aspx">LINQ to SQL</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Cutting+Edge/default.aspx">Cutting Edge</category></item><item><title>Hate Repeaters? Try a ListView!</title><link>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/07/02/hate-repeaters-try-a-listview.aspx</link><pubDate>Mon, 02 Jul 2007 17:31:44 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:47</guid><dc:creator>C-Dog's .NET Tip of the Day</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=47</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/07/02/hate-repeaters-try-a-listview.aspx#comments</comments><description>Repeaters have always been a necessary evil. They are simply the only practical way to do custom formatting when binding to lists of data. Oddly enough, it turns out that not everyone just wants to display a grid of data. In the past, by using the repeater...(&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2007/07/02/hate-repeaters-try-a-listview.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=47" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Cutting+Edge/default.aspx">Cutting Edge</category><category domain="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item></channel></rss>