• 大小: 0.24M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 二级域名  泛解析  MVC  

资源简介

资源截图

代码片段和文件信息

using System.Web;
using System.Web.Mvc;
using System.Web.UI;

namespace MvcDomainRouting
{
    public partial class _Default : Page
    {
        public void Page_Load(object sender System.EventArgs e)
        {
            // Change the current path so that the Routing handler can correctly interpret
            // the request then restore the original path so that the OutputCache module
            // can correctly process the response (if caching is enabled).

            string originalPath = Request.Path;
            HttpContext.Current.RewritePath(Request.ApplicationPath false);
            IHttpHandler httpHandler = new MvcHttpHandler();
            httpHandler.ProcessRequest(HttpContext.Current);
            HttpContext.Current.RewritePath(originalPath false);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2009-05-18 10:57  MvcDomainRouting\
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\App_Data\
     目录           0  2009-05-18 10:57  MvcDomainRouting\MvcDomainRouting\bin\
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\Code\
     文件         314  2009-05-14 15:48  MvcDomainRouting\MvcDomainRouting\Code\DomainData.cs
     文件        6421  2009-05-15 15:17  MvcDomainRouting\MvcDomainRouting\Code\DomainRoute.cs
     文件        3883  2009-05-15 14:52  MvcDomainRouting\MvcDomainRouting\Code\linkExtensions.cs
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\Content\
     文件        4952  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Content\Site.css
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\Controllers\
     文件       13054  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Controllers\AccountController.cs
     文件         482  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Controllers\HomeController.cs
     文件         269  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Default.aspx
     文件         826  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Default.aspx.cs
     文件         108  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Global.asax
     文件        2132  2009-05-15 14:48  MvcDomainRouting\MvcDomainRouting\Global.asax.cs
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\Models\
     文件        6049  2009-05-14 15:51  MvcDomainRouting\MvcDomainRouting\MvcDomainRouting.csproj
     文件        1360  2009-05-14 15:51  MvcDomainRouting\MvcDomainRouting\MvcDomainRouting.csproj.user
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\obj\
     目录           0  2009-05-18 10:57  MvcDomainRouting\MvcDomainRouting\obj\Debug\
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\obj\Debug\Refactor\
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\obj\Debug\TempPE\
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\Properties\
     文件        1459  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\Properties\AssemblyInfo.cs
     目录           0  2009-05-18 10:55  MvcDomainRouting\MvcDomainRouting\scripts\
     文件      202542  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\scripts\jquery-1.3.2-vsdoc.js
     文件      127052  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\scripts\jquery-1.3.2.js
     文件      202542  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\scripts\jquery-1.3.2.min-vsdoc.js
     文件       59326  2009-05-14 14:39  MvcDomainRouting\MvcDomainRouting\scripts\jquery-1.3.2.min.js
............此处省略21个文件信息

评论

共有 条评论