﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" 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/"><channel><title>博客园-大陆响尾蛇-最新评论</title><link>http://www.cnblogs.com/luanwey/CommentsRSS.aspx</link><description>------那人却在灯火阑珊处</description><language>zh-cn</language><pubDate>Mon, 22 Nov 2010 15:57:59 GMT</pubDate><lastBuildDate>Mon, 22 Nov 2010 15:57:59 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2010/11/22/1544444.html#1966649</link><dc:creator>cheapest timberland boots</dc:creator><author>cheapest timberland boots</author><pubDate>Mon, 22 Nov 2010 15:10:50 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/11/22/1544444.html#1966649</guid><description><![CDATA[还有人在研究吗？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">cheapest timberland boots</a> 2010-11-22 23:10 <a href="http://www.cnblogs.com/luanwey/archive/2010/11/22/1544444.html#1966649#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2010/11/02/1544444.html#1948847</link><dc:creator>在路上狂奔的蜗牛</dc:creator><author>在路上狂奔的蜗牛</author><pubDate>Mon, 01 Nov 2010 18:26:19 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/11/02/1544444.html#1948847</guid><description><![CDATA[有人弄出来没，我不知道哪儿错误了，有无法测试的<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">在路上狂奔的蜗牛</a> 2010-11-02 02:26 <a href="http://www.cnblogs.com/luanwey/archive/2010/11/02/1544444.html#1948847#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2010/11/02/1544444.html#1948846</link><dc:creator>在路上狂奔的蜗牛</dc:creator><author>在路上狂奔的蜗牛</author><pubDate>Mon, 01 Nov 2010 18:25:50 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/11/02/1544444.html#1948846</guid><description><![CDATA[@小蔡111111111111
朋友，你研究出来没？帮帮我嘛。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">在路上狂奔的蜗牛</a> 2010-11-02 02:25 <a href="http://www.cnblogs.com/luanwey/archive/2010/11/02/1544444.html#1948846#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2010/10/17/1544444.html#1936507</link><dc:creator>在路上狂奔的蜗牛</dc:creator><author>在路上狂奔的蜗牛</author><pubDate>Sun, 17 Oct 2010 13:00:36 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/10/17/1544444.html#1936507</guid><description><![CDATA[你好，请问下，如果我要应用程序是多用户的，像username.example.com应该被匹配到“www.{clientname}.example.com”路由上。 

routes.Add(&quot;DomainRoute&quot;, new DomainRoute(
            &quot;{username}.example.com&quot;, //id作为二级域名
            &quot;{controller}/{action}/{id}&quot;, 
            new { username= &quot;&quot;, controller = &quot;Home&quot;, action = &quot;Index&quot;, id = &quot;&quot; }));

那我在专项的时候是怎么调用呢？比如登陆成功后怎么实现
test.example.com
这样呢？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">在路上狂奔的蜗牛</a> 2010-10-17 21:00 <a href="http://www.cnblogs.com/luanwey/archive/2010/10/17/1544444.html#1936507#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2010/05/10/1544444.html#1820403</link><dc:creator>一线风</dc:creator><author>一线风</author><pubDate>Mon, 10 May 2010 01:11:39 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/05/10/1544444.html#1820403</guid><description><![CDATA[不错，是个好东东。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">一线风</a> 2010-05-10 09:11 <a href="http://www.cnblogs.com/luanwey/archive/2010/05/10/1544444.html#1820403#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:新闻内容分页</title><link>http://www.cnblogs.com/luanwey/archive/2010/03/24/517171.html#1785937</link><dc:creator>xiaoping20022008</dc:creator><author>xiaoping20022008</author><pubDate>Wed, 24 Mar 2010 02:20:21 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/03/24/517171.html#1785937</guid><description><![CDATA[应该将代码完善一下.期待你的改进.共同探讨<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">xiaoping20022008</a> 2010-03-24 10:20 <a href="http://www.cnblogs.com/luanwey/archive/2010/03/24/517171.html#1785937#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:新闻内容分页</title><link>http://www.cnblogs.com/luanwey/archive/2010/03/24/517171.html#1785933</link><dc:creator>xiaoping20022008</dc:creator><author>xiaoping20022008</author><pubDate>Wed, 24 Mar 2010 02:19:10 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2010/03/24/517171.html#1785933</guid><description><![CDATA[你这个文章有个问题,只能向前,不能点从1-4,然后任意点就出错了。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">xiaoping20022008</a> 2010-03-24 10:19 <a href="http://www.cnblogs.com/luanwey/archive/2010/03/24/517171.html#1785933#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2009/11/27/1544444.html#1708830</link><dc:creator>izee</dc:creator><author>izee</author><pubDate>Fri, 27 Nov 2009 08:52:16 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2009/11/27/1544444.html#1708830</guid><description><![CDATA[这东西,安逸<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">izee</a> 2009-11-27 16:52 <a href="http://www.cnblogs.com/luanwey/archive/2009/11/27/1544444.html#1708830#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2009/08/12/1544444.html#1612935</link><dc:creator>winzheng</dc:creator><author>winzheng</author><pubDate>Wed, 12 Aug 2009 10:15:50 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2009/08/12/1544444.html#1612935</guid><description><![CDATA[藏在候选区里，让我好找啊，推荐一下。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">winzheng</a> 2009-08-12 18:15 <a href="http://www.cnblogs.com/luanwey/archive/2009/08/12/1544444.html#1612935#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:ASP.NET MVC 实现二级域名</title><link>http://www.cnblogs.com/luanwey/archive/2009/08/12/1544444.html#1612713</link><dc:creator>大陆响尾蛇</dc:creator><author>大陆响尾蛇</author><pubDate>Wed, 12 Aug 2009 07:02:40 GMT</pubDate><guid>http://www.cnblogs.com/luanwey/archive/2009/08/12/1544444.html#1612713</guid><description><![CDATA[是啊，我发现有好多人都要这个功能，不过这个只是简单，实际项目中还要扩展和改进。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/luanwey/" target="_blank">大陆响尾蛇</a> 2009-08-12 15:02 <a href="http://www.cnblogs.com/luanwey/archive/2009/08/12/1544444.html#1612713#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
