CTEC2402: Sofware Development Project

Module Supplementary Material

This section contains supplementary material to stupport students in completing CTEC2402 SW Development Project module which is part of the DMU HND in Computing. The purpose is to provide information on

MVC5: Model-View-Controller

In order to create MVC4 projects you must first install Visual Studio 2012 so that it can validate HTML5 code, can edit SQL Server LocalDb databases, and has templates for MVC4. Please complete all the required installations as outlined in the VS 2012 and SQL Server web pages. Be aware that there are issues with using SQL Server databases. However Access databases cannot be used with MVC4.

  • Creating an MVC4 Project using the Code First approach
  • Creating model classes to match the proposed database
  • Annotating the classes to include full client side data validation
  • Creating relationships between the classes
  • How to configure the project to use an SQL Server LocalDb database file.
  • Creating a controller and web pages to list, add, edit and delete instances of each class in the database.
  • Adding Authentication, Authorisation and membership roles

MVC Architecture

UML Class Diagram