Skip to content

Starting point for an MVC Core project

Notifications You must be signed in to change notification settings

ZheyiXu/MVC_Start

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC_Start

Starting point for an MVC Core project

This is a usable starting template for an MVC core web application project that Microsoft should have provided with Visual Studio. This updates the empty MVC core web application template with the following changes. Tested with Visual Studio 15.5.4:

Added folder hierarchy to wwwroot folder - css, img, js, lib

Added Controllers, Models, Views folders

  • and added basic content
    • copied the ViewStart and Layout cshtml files from the MVC template
    • simplified Layout.cshtml by removing references to bootstrap etc

Added appsettings and bundleconfig files

  • copied from the MVC template

Updated Startup.cs class

  • to include MVC services
    • using the MVC template as the reference

About

Starting point for an MVC Core project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 62.5%
  • HTML 28.7%
  • CSS 8.4%
  • JavaScript 0.4%