• 大小: 284KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-06-11
  • 语言: C#
  • 标签: .net  mvclinqsql  

资源简介

很实用的东东 适合.net mvc 模式 初学人员

资源截图

代码片段和文件信息

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

namespace MvcApplication1
{
    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);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      28672  2009-12-12 09:42  MvcApplication1\MvcApplication1\bin\MvcApplication1.dll

     文件      60928  2009-12-12 09:42  MvcApplication1\MvcApplication1\bin\MvcApplication1.pdb

     文件       4952  2009-12-10 16:12  MvcApplication1\MvcApplication1\Content\Site.css

     文件      13053  2009-12-10 16:12  MvcApplication1\MvcApplication1\Controllers\AccountController.cs

     文件       3074  2009-12-12 09:41  MvcApplication1\MvcApplication1\Controllers\BookController.cs

     文件        481  2009-12-10 16:12  MvcApplication1\MvcApplication1\Controllers\HomeController.cs

     文件        268  2009-12-10 16:12  MvcApplication1\MvcApplication1\Default.aspx

     文件        825  2009-12-10 16:12  MvcApplication1\MvcApplication1\Default.aspx.cs

     文件        107  2009-12-10 16:12  MvcApplication1\MvcApplication1\Global.asax

     文件        972  2009-12-10 16:21  MvcApplication1\MvcApplication1\Global.asax.cs

     文件        578  2009-12-10 16:22  MvcApplication1\MvcApplication1\Models\BookService.cs

     文件       2618  2009-12-10 16:14  MvcApplication1\MvcApplication1\Models\MyBookShop.dbml

     文件       1661  2009-12-10 16:14  MvcApplication1\MvcApplication1\Models\MyBookShop.dbml.layout

     文件      14783  2009-12-10 16:14  MvcApplication1\MvcApplication1\Models\MyBookShop.designer.cs

     文件       7042  2009-12-12 08:50  MvcApplication1\MvcApplication1\MvcApplication1.csproj

     文件       1373  2009-12-12 08:50  MvcApplication1\MvcApplication1\MvcApplication1.csproj.user

     文件        354  2009-12-12 08:47  MvcApplication1\MvcApplication1\obj\Debug\MvcApplication1.csproj.FileListAbsolute.txt

     文件      28672  2009-12-12 09:42  MvcApplication1\MvcApplication1\obj\Debug\MvcApplication1.dll

     文件      60928  2009-12-12 09:42  MvcApplication1\MvcApplication1\obj\Debug\MvcApplication1.pdb

     文件       6592  2009-12-12 09:35  MvcApplication1\MvcApplication1\obj\Debug\ResolveAssemblyReference.cache

     文件      11776  2009-12-10 16:14  MvcApplication1\MvcApplication1\obj\Debug\TempPE\Models.MyBookShop.designer.cs.dll

     文件       1401  2009-12-10 16:12  MvcApplication1\MvcApplication1\Properties\AssemblyInfo.cs

     文件     202542  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\jquery-1.3.2-vsdoc.js

     文件     127052  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\jquery-1.3.2.js

     文件     202542  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\jquery-1.3.2.min-vsdoc.js

     文件      59326  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\jquery-1.3.2.min.js

     文件     310836  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\MicrosoftAjax.debug.js

     文件      99358  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\MicrosoftAjax.js

     文件      12592  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\MicrosoftMvcAjax.debug.js

     文件       4870  2009-12-10 16:12  MvcApplication1\MvcApplication1\scripts\MicrosoftMvcAjax.js

............此处省略36个文件信息

评论

共有 条评论