Visual Studio 2015

Visual Studio 2015 contains all the components required to develop web pages with database back ends and universal apps. It also now contains a Microsoft Git Provider. To use Git well however it still needs Git Tools added as an extension (see Git Version Control» )

Starting a New Project

Projects work better than Web Sites particularly when moving work between College and home. So start a New Project by selecting File -> New -> Project from the file menu

Please check you have selected the required language (C# or VB), you have given the new project a clear and unambiguous name such as TalkIsCheapWebSite and it is stored in your project folder such as College/HND/Unit14 . Please note that no folder or file names should contain spaces as some web languages cannot handle them. Use the underbar if you wish to break the name into words, or use uppercase for the start of each word in the name

Also make sure that you have left create directory for solution ticked in order to keep all files for the solution in a single folder which can then be copied elsewhere if necessary and will include any Git local repository.

When you click Ok you will then be offered a choice of project types, select Web Forms or MVC

Project Types Dialog

For some simple HTML web sites it is better to start with an empty ASP.NET web application, and add any files and folders as necessary. However for most situations starting with a Web Forms, or MVC 5 web site will speed up development considerably.

For a short video on this please see Creating a Web Forms ASP.NET Website please not choose File New Project and not File New Website.

For ASP.NET web forms web sites there are some standard folders in addition to App_Data and App_Code. Typically style sheets are stored in a Content folder, JavaScript files in a Scripts folder, any database classes are stored in the Models folder and I normally add an Images folder to store any images. If there are more than 7 images, use sub-folders inside the Images folder.

Visual Studio Index