• 大小: 19.82M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: MVC  实例  c  t  MVC5  

资源简介


资源截图

代码片段和文件信息

using ContosoUniversity.DAL;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;

namespace ContosoUniversity
{
    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            //Database.SetInitializer(null);
           Database.SetInitializer(new DropCreateDatabaseIfModelChanges());
             //Database.SetInitializer(new MigrateDatabaseToLatestVersion());

            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            Route

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

     文件      85927  2015-08-18 13:32  ContosoUniversity\.vs\config\applicationhost.config

    ..A..H.    286208  2015-10-12 17:33  ContosoUniversity\.vs\ContosoUniversity\v14\.suo

    ..A..H.    250368  2017-05-10 15:42  ContosoUniversity\.vs\ContosoUniversity\v15\.suo

     文件    3342336  2017-05-10 15:42  ContosoUniversity\ContosoUniversity\App_Data\ContosoUniversity.mdf

     文件    1310720  2017-05-10 15:42  ContosoUniversity\ContosoUniversity\App_Data\ContosoUniversity_log.ldf

     文件       1551  2015-07-31 15:42  ContosoUniversity\ContosoUniversity\App_Start\BundleConfig.cs

     文件        544  2015-07-29 14:57  ContosoUniversity\ContosoUniversity\App_Start\FilterConfig.cs

     文件        610  2015-01-15 22:19  ContosoUniversity\ContosoUniversity\App_Start\RouteConfig.cs

     文件     102912  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\Antlr3.Runtime.dll

     文件     431616  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\Antlr3.Runtime.pdb

     文件      80896  2017-05-10 15:32  ContosoUniversity\ContosoUniversity\bin\ContosoUniversity.dll

     文件       4052  2015-09-17 17:21  ContosoUniversity\ContosoUniversity\bin\ContosoUniversity.dll.config

     文件     175616  2017-05-10 15:32  ContosoUniversity\ContosoUniversity\bin\ContosoUniversity.pdb

     文件    5195984  2015-01-20 09:57  ContosoUniversity\ContosoUniversity\bin\Entityframework.dll

     文件     620240  2015-01-20 09:57  ContosoUniversity\ContosoUniversity\bin\Entityframework.SqlServer.dll

     文件     154866  2015-01-20 09:57  ContosoUniversity\ContosoUniversity\bin\Entityframework.SqlServer.xml

     文件    3652467  2015-01-20 09:57  ContosoUniversity\ContosoUniversity\bin\Entityframework.xml

     文件      45416  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\Microsoft.Web.Infrastructure.dll

     文件     502272  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\Newtonsoft.Json.dll

     文件     478726  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\Newtonsoft.Json.xml

     文件    1603072  2015-07-29 14:18  ContosoUniversity\ContosoUniversity\bin\NPOI.dll

     文件      14336  2015-01-20 10:02  ContosoUniversity\ContosoUniversity\bin\PagedList.dll

     文件      21504  2015-01-20 10:02  ContosoUniversity\ContosoUniversity\bin\PagedList.Mvc.dll

     文件      20174  2015-01-20 10:02  ContosoUniversity\ContosoUniversity\bin\PagedList.Mvc.xml

     文件      22515  2015-01-20 10:02  ContosoUniversity\ContosoUniversity\bin\PagedList.xml

     文件     139984  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\System.Web.Helpers.dll

     文件      74850  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\System.Web.Helpers.xml

     文件     565448  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\System.Web.Mvc.dll

     文件     952428  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\System.Web.Mvc.xml

     文件      70864  2015-01-19 09:07  ContosoUniversity\ContosoUniversity\bin\System.Web.Optimization.dll

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

评论

共有 条评论