实例介绍
MVC+EF框架+Bootstrap项目实例源码,适合入门学习或者项目快速开发,可部署运行
【实例截图】
【核心代码】
DWJ_EF
└── DWJ_EF
├── ContosoUniversity
│ ├── App_Start
│ │ ├── BundleConfig.cs
│ │ ├── FilterConfig.cs
│ │ └── RouteConfig.cs
│ ├── bin
│ │ ├── Antlr3.Runtime.dll
│ │ ├── Antlr3.Runtime.pdb
│ │ ├── ContosoUniversity.dll
│ │ ├── ContosoUniversity.dll.config
│ │ ├── ContosoUniversity.pdb
│ │ ├── EntityFramework.dll
│ │ ├── EntityFramework.SqlServer.dll
│ │ ├── EntityFramework.SqlServer.xml
│ │ ├── EntityFramework.xml
│ │ ├── Microsoft.Web.Infrastructure.dll
│ │ ├── Newtonsoft.Json.dll
│ │ ├── Newtonsoft.Json.xml
│ │ ├── PagedList.dll
│ │ ├── PagedList.Mvc.dll
│ │ ├── PagedList.Mvc.xml
│ │ ├── PagedList.xml
│ │ ├── System.Web.Helpers.dll
│ │ ├── System.Web.Helpers.xml
│ │ ├── System.Web.Mvc.dll
│ │ ├── System.Web.Mvc.xml
│ │ ├── System.Web.Optimization.dll
│ │ ├── System.Web.Optimization.xml
│ │ ├── System.Web.Razor.dll
│ │ ├── System.Web.Razor.xml
│ │ ├── System.Web.WebPages.Deployment.dll
│ │ ├── System.Web.WebPages.Deployment.xml
│ │ ├── System.Web.WebPages.dll
│ │ ├── System.Web.WebPages.Razor.dll
│ │ ├── System.Web.WebPages.Razor.xml
│ │ ├── System.Web.WebPages.xml
│ │ └── WebGrease.dll
│ ├── Content
│ │ ├── bootstrap.css
│ │ ├── bootstrap.min.css
│ │ ├── PagedList.css
│ │ └── Site.css
│ ├── ContosoUniversity.csproj
│ ├── ContosoUniversity.csproj.user
│ ├── Controllers
│ │ ├── CourseController.cs
│ │ ├── DepartmentController.cs
│ │ ├── HomeController.cs
│ │ ├── InstructorController.cs
│ │ └── StudentController.cs
│ ├── DAL
│ │ ├── SchoolConfiguration.cs
│ │ ├── SchoolContext.cs
│ │ ├── SchoolInitializer.cs
│ │ ├── SchoolInterceptorLogging.cs
│ │ └── SchoolInterceptorTransientErrors.cs
│ ├── favicon.ico
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ └── glyphicons-halflings-regular.woff
│ ├── Global.asax
│ ├── Global.asax.cs
│ ├── Logging
│ │ ├── ILogger.cs
│ │ └── Logger.cs
│ ├── Migrations
│ │ ├── 201411021828194_InitialCreate.cs
│ │ ├── 201411021828194_InitialCreate.Designer.cs
│ │ ├── 201411021828194_InitialCreate.resx
│ │ ├── 201411021834484_MaxLengthOnNames.cs
│ │ ├── 201411021834484_MaxLengthOnNames.Designer.cs
│ │ ├── 201411021834484_MaxLengthOnNames.resx
│ │ ├── 201411021841373_ComplexDataModel.cs
│ │ ├── 201411021841373_ComplexDataModel.Designer.cs
│ │ ├── 201411021841373_ComplexDataModel.resx
│ │ ├── 201411021957458_DepartmentSP.cs
│ │ ├── 201411021957458_DepartmentSP.Designer.cs
│ │ ├── 201411021957458_DepartmentSP.resx
│ │ ├── 201411022009135_RowVersion.cs
│ │ ├── 201411022009135_RowVersion.Designer.cs
│ │ ├── 201411022009135_RowVersion.resx
│ │ ├── 201411022351064_Inheritance.cs
│ │ ├── 201411022351064_Inheritance.Designer.cs
│ │ ├── 201411022351064_Inheritance.resx
│ │ └── Configuration.cs
│ ├── Models
│ │ ├── Course.cs
│ │ ├── Department.cs
│ │ ├── Enrollment.cs
│ │ ├── Instructor.cs
│ │ ├── OfficeAssignment.cs
│ │ ├── Person.cs
│ │ └── Student.cs
│ ├── obj
│ │ └── Debug
│ │ ├── ContosoUniversity.csproj.FileListAbsolute.txt
│ │ ├── ContosoUniversity.csproj.GenerateResource.Cache
│ │ ├── ContosoUniversity.csprojResolveAssemblyReference.cache
│ │ ├── ContosoUniversity.dll
│ │ ├── ContosoUniversity.Migrations.ComplexDataModel.resources
│ │ ├── ContosoUniversity.Migrations.DepartmentSP.resources
│ │ ├── ContosoUniversity.Migrations.Inheritance.resources
│ │ ├── ContosoUniversity.Migrations.InitialCreate.resources
│ │ ├── ContosoUniversity.Migrations.MaxLengthOnNames.resources
│ │ ├── ContosoUniversity.Migrations.RowVersion.resources
│ │ ├── ContosoUniversity.pdb
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── packages.config
│ ├── Project_Readme.html
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Scripts
│ │ ├── bootstrap.js
│ │ ├── bootstrap.min.js
│ │ ├── jquery-1.10.2.intellisense.js
│ │ ├── jquery-1.10.2.js
│ │ ├── jquery-1.10.2.min.js
│ │ ├── jquery-1.10.2.min.map
│ │ ├── jquery.validate.js
│ │ ├── jquery.validate.min.js
│ │ ├── jquery.validate.unobtrusive.js
│ │ ├── jquery.validate.unobtrusive.min.js
│ │ ├── jquery.validate-vsdoc.js
│ │ ├── modernizr-2.6.2.js
│ │ ├── _references.js
│ │ ├── respond.js
│ │ └── respond.min.js
│ ├── ViewModels
│ │ ├── AssignedCourseData.cs
│ │ ├── EnrollmentDateGroup.cs
│ │ └── InstructorIndexData.cs
│ ├── Views
│ │ ├── Course
│ │ │ ├── Create.cshtml
│ │ │ ├── Delete.cshtml
│ │ │ ├── Details.cshtml
│ │ │ ├── Edit.cshtml
│ │ │ ├── Index.cshtml
│ │ │ └── UpdateCourseCredits.cshtml
│ │ ├── Department
│ │ │ ├── Create.cshtml
│ │ │ ├── Delete.cshtml
│ │ │ ├── Details.cshtml
│ │ │ ├── Edit.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Home
│ │ │ ├── About.cshtml
│ │ │ ├── Contact.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Instructor
│ │ │ ├── Create.cshtml
│ │ │ ├── Delete.cshtml
│ │ │ ├── Details.cshtml
│ │ │ ├── Edit.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ └── _Layout.cshtml
│ │ ├── Student
│ │ │ ├── Create.cshtml
│ │ │ ├── Delete.cshtml
│ │ │ ├── Details.cshtml
│ │ │ ├── Edit.cshtml
│ │ │ └── Index.cshtml
│ │ ├── _ViewStart.cshtml
│ │ └── Web.config
│ ├── Web.config
│ ├── Web.Debug.config
│ └── Web.Release.config
├── ContosoUniversity.sln
├── ContosoUniversity.v12.suo
└── packages
├── Antlr.3.4.1.9004
│ ├── Antlr.3.4.1.9004.nupkg
│ ├── Antlr.3.4.1.9004.nuspec
│ └── lib
│ ├── Antlr3.Runtime.dll
│ └── Antlr3.Runtime.pdb
├── bootstrap.3.0.0
│ ├── bootstrap.3.0.0.nupkg
│ ├── bootstrap.3.0.0.nuspec
│ └── Content
│ ├── Content
│ │ ├── bootstrap.css
│ │ ├── bootstrap.min.css
│ │ ├── bootstrap-theme.css
│ │ └── bootstrap-theme.min.css
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ └── glyphicons-halflings-regular.woff
│ └── Scripts
│ ├── bootstrap.js
│ └── bootstrap.min.js
├── EntityFramework.6.1.1
│ ├── content
│ │ ├── App.config.transform
│ │ └── Web.config.transform
│ ├── EntityFramework.6.1.1.nupkg
│ ├── EntityFramework.6.1.1.nuspec
│ ├── lib
│ │ ├── net40
│ │ │ ├── EntityFramework.dll
│ │ │ ├── EntityFramework.SqlServer.dll
│ │ │ ├── EntityFramework.SqlServer.xml
│ │ │ └── EntityFramework.xml
│ │ └── net45
│ │ ├── EntityFramework.dll
│ │ ├── EntityFramework.SqlServer.dll
│ │ ├── EntityFramework.SqlServer.xml
│ │ └── EntityFramework.xml
│ └── tools
│ ├── about_EntityFramework.help.txt
│ ├── EntityFramework.PowerShell.dll
│ ├── EntityFramework.PowerShell.Utility.dll
│ ├── EntityFramework.psd1
│ ├── EntityFramework.psm1
│ ├── init.ps1
│ ├── install.ps1
│ └── migrate.exe
├── jQuery.1.10.2
│ ├── Content
│ │ └── Scripts
│ │ ├── jquery-1.10.2.js
│ │ ├── jquery-1.10.2.min.js
│ │ ├── jquery-1.10.2.min.map
│ │ └── jquery-1.10.2-vsdoc.js
│ ├── jQuery.1.10.2.nupkg
│ ├── jQuery.1.10.2.nuspec
│ └── Tools
│ ├── common.ps1
│ ├── install.ps1
│ ├── jquery-1.10.2.intellisense.js
│ └── uninstall.ps1
├── jQuery.Validation.1.11.1
│ ├── Content
│ │ └── Scripts
│ │ ├── jquery.validate.js
│ │ ├── jquery.validate.min.js
│ │ └── jquery.validate-vsdoc.js
│ ├── jQuery.Validation.1.11.1.nupkg
│ └── jQuery.Validation.1.11.1.nuspec
├── Microsoft.AspNet.Mvc.5.2.0
│ ├── Content
│ │ ├── Web.config.install.xdt
│ │ └── Web.config.uninstall.xdt
│ ├── lib
│ │ └── net45
│ │ ├── System.Web.Mvc.dll
│ │ └── System.Web.Mvc.xml
│ ├── Microsoft.AspNet.Mvc.5.2.0.nupkg
│ └── Microsoft.AspNet.Mvc.5.2.0.nuspec
├── Microsoft.AspNet.Razor.3.2.0
│ ├── lib
│ │ └── net45
│ │ ├── System.Web.Razor.dll
│ │ └── System.Web.Razor.xml
│ ├── Microsoft.AspNet.Razor.3.2.0.nupkg
│ └── Microsoft.AspNet.Razor.3.2.0.nuspec
├── Microsoft.AspNet.Web.Optimization.1.1.3
│ ├── lib
│ │ └── net40
│ │ ├── System.Web.Optimization.dll
│ │ └── system.web.optimization.xml
│ ├── Microsoft.AspNet.Web.Optimization.1.1.3.nupkg
│ └── Microsoft.AspNet.Web.Optimization.1.1.3.nuspec
├── Microsoft.AspNet.WebPages.3.2.0
│ ├── Content
│ │ ├── Web.config.install.xdt
│ │ └── Web.config.uninstall.xdt
│ ├── lib
│ │ └── net45
│ │ ├── System.Web.Helpers.dll
│ │ ├── System.Web.Helpers.xml
│ │ ├── System.Web.WebPages.Deployment.dll
│ │ ├── System.Web.WebPages.Deployment.xml
│ │ ├── System.Web.WebPages.dll
│ │ ├── System.Web.WebPages.Razor.dll
│ │ ├── System.Web.WebPages.Razor.xml
│ │ └── System.Web.WebPages.xml
│ ├── Microsoft.AspNet.WebPages.3.2.0.nupkg
│ └── Microsoft.AspNet.WebPages.3.2.0.nuspec
├── Microsoft.jQuery.Unobtrusive.Validation.3.2.0
│ ├── Content
│ │ └── Scripts
│ │ ├── jquery.validate.unobtrusive.js
│ │ └── jquery.validate.unobtrusive.min.js
│ ├── Microsoft.jQuery.Unobtrusive.Validation.3.2.0.nupkg
│ └── Microsoft.jQuery.Unobtrusive.Validation.3.2.0.nuspec
├── Microsoft.Web.Infrastructure.1.0.0.0
│ ├── lib
│ │ └── net40
│ │ └── Microsoft.Web.Infrastructure.dll
│ ├── Microsoft.Web.Infrastructure.1.0.0.0.nupkg
│ └── Microsoft.Web.Infrastructure.1.0.0.0.nuspec
├── Modernizr.2.6.2
│ ├── Content
│ │ └── Scripts
│ │ └── modernizr-2.6.2.js
│ ├── Modernizr.2.6.2.nupkg
│ ├── Modernizr.2.6.2.nuspec
│ └── Tools
│ ├── common.ps1
│ ├── install.ps1
│ └── uninstall.ps1
├── Newtonsoft.Json.6.0.3
│ ├── lib
│ │ ├── net20
│ │ │ ├── Newtonsoft.Json.dll
│ │ │ └── Newtonsoft.Json.xml
│ │ ├── net35
│ │ │ ├── Newtonsoft.Json.dll
│ │ │ └── Newtonsoft.Json.xml
│ │ ├── net40
│ │ │ ├── Newtonsoft.Json.dll
│ │ │ └── Newtonsoft.Json.xml
│ │ ├── net45
│ │ │ ├── Newtonsoft.Json.dll
│ │ │ └── Newtonsoft.Json.xml
│ │ ├── netcore45
│ │ │ ├── Newtonsoft.Json.dll
│ │ │ └── Newtonsoft.Json.xml
│ │ ├── portable-net40+sl4+wp7+win8
│ │ │ ├── Newtonsoft.Json.dll
│ │ │ └── Newtonsoft.Json.xml
│ │ └── portable-net45+wp80+win8+wpa81
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ ├── Newtonsoft.Json.6.0.3.nupkg
│ ├── Newtonsoft.Json.6.0.3.nuspec
│ └── tools
│ └── install.ps1
├── PagedList.1.17.0.0
│ ├── lib
│ │ └── net40
│ │ ├── PagedList.dll
│ │ └── PagedList.xml
│ ├── PagedList.1.17.0.0.nupkg
│ └── PagedList.1.17.0.0.nuspec
├── PagedList.Mvc.4.5.0.0
│ ├── Content
│ │ └── Content
│ │ └── PagedList.css
│ ├── lib
│ │ └── net40
│ │ ├── PagedList.Mvc.dll
│ │ └── PagedList.Mvc.XML
│ ├── PagedList.Mvc.4.5.0.0.nupkg
│ └── PagedList.Mvc.4.5.0.0.nuspec
├── repositories.config
├── Respond.1.2.0
│ ├── content
│ │ └── Scripts
│ │ ├── respond.js
│ │ └── respond.min.js
│ ├── Respond.1.2.0.nupkg
│ └── Respond.1.2.0.nuspec
└── WebGrease.1.5.2
├── lib
│ └── WebGrease.dll
├── tools
│ ├── install.ps1
│ ├── uninstall.ps1
│ └── WG.exe
├── WebGrease.1.5.2.nupkg
└── WebGrease.1.5.2.nuspec
92 directories, 281 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论