COURSE FINDER

ASP.NET MVC (Model View Controller)

£1100 per delegate. This may be less for special offers on specific course dates and in-company training courses

Duration: 4 days

Trainer: S047OW

Need course dates or locations to suit you? CLICK HERE TO SEND ENQUIRY...

Introduction

You can create ASP.NET websites using either webforms (for which we run separate 3-day courses in either VB or C#) or MVC (standing for Model View Controller, the subject of this course). As a rough overview, MVC requires a higher level of programming ability, lets you get closer to the HTML of a website and is - in Wise Owl's opinion - a more productive and more enjoyable development environment than standard ASP.NET webforms. However, the learning curve is also longer!

On this four-day course, you'll learn about views, models, controllers and routers; you'll learn how to use the entity data framework, and access data using LINQ; and you'll learn a fair bit about C# classes. Note that the course doesn't cover website security.

There is no VB equivalent of this course, because we've reluctantly concluded that C# is winning the programming wars, but if you are a VB guru you'll find it easy to adjust to the semi-colons and case-sensitivity of C#!

Prerequisites


You must know how to program in C# to attend this course (you don't need to be a guru, but you do need to be comfortable, and you need to have a good understanding of classes). Attending our two-day Introduction to C# course is a good way to ensure that you meet this requirement. The other pre-requisite for this course is that you should know HTML. You don't have to have used ASP.NET webforms to attend our MVC course.

The course uses MVC 4, .NET 4.5 Visual Studio 2012 and SQL Server 2012, but it's not particularly version-specific, and you'll find the learning useful whatever version of software you have back in your office.

Course Contents

Getting started with MVC

- MVC, .NET and VS versions
- MVC versus webforms
- How MVC works

Routers

- Parsing URLs
- Controllers, actions, parameters
- The importance of order

Controllers

- Default naming conventions
- Possible action results
- Coding controllers

Views and Razor

- Creating simple views
- The RAZOR language
- Mixing HTML and code

Views and models

- Basing views on models
- Strongly-typed views
- Using scaffolding
- Looping over items

Revision of classes

- Properties and methods
- Namespaces
- Inheritance

Database access methods

- Code-first databases
- Model first classes
- Database first classes

Entity data framework

- Creating an entity model
- Updating models
- Using generated code
- Things to watch out for

Extending entity models

- Partial classes
- Using annotations

Basic LINQ

- Selecting data
- Ordering data
- Using criteria

Returning LINQ data

- Returning lists
- Skipping and taking data
- Anonymous classes

Advanced LINQ

- Joining tables
- How grouping works
- Changing data via LINQ

View models

- View models as classes
- Creating view models

Reusing views

- Shared payouts
- Partial layouts

Configuring and deployment

- Using web.config
- Bundling CSS and JavaScript
- Deploying websites

Using SASS*

- What is SASS?
- CSS and SASS
- Installing Compass
- Web workbench

Please note that any items marked with a * will be covered if time allows.

Course Times

Usually 9.30am - 4.30pm. Course times will be confirmed in the joining instructions once the course has been booked.
The course either has new dates in data loading, or is only run as a dedicated or In Company course.
  • Corps Construct Logo
  • Safety & Health Logo
  • Hawks Logo
  • Know How Logo
  • SYNERGIETRAINING Logo
  • Induct Ltd Logo
  • Ace Safety Logo
  • 1UPACCESS Logo
  • BAM Construction Training Logo
  • Citrus Training Logo
  • 3B Training Logo
  • Astutis Logo
  • Construction Industry Training Providers Logo
  • Health Life and Safety Logo
  • MI Construction Training Logo
  • Innov8 Training Logo
  • BSI Training Logo
  • OM Safety Training Logo
  • TotalComms Training Logo
  • SDA Safety Logo
  • Construction Skills People Logo
  • Phoenix Health and Safety Logo
  • Harris Safety Training Logo
  • First Response Training Logo
  • Alliance Learning Logo
  • ALS Safety Logo
  • KeyOstas Logo
  • Libben Health and Safety Logo
  • Global Management Academy Logo
  • Illumine Logo
  • CCAS Health and Safety Logo
  • ROSPA Logo
  • PJH Safety Training Logo
  • OMS Logo
  • Tala Training Logo
  • PRS Health and Safety Training
  • SSG Training and Consultancy Logo
  • RB Services Logo
  • Safety Training Services Logo
  • Clarkson Evans Training Logo
  • Lighthouse Training Logo
  • The Building Safety Group Logo
  • ProSafety Logo
  • Total Training Solutions Logo
  • Kentec Training Logo
  • Total Electrical Training logo
  • NTSS logo
  • Frinton Training logo
  • Envesca logo
  • The Safety Maintenance Company logo
  • APT Health and Safety logo
  • Sandwell Training Association logo
  • PC Workshops logo
  • Zero Harm Training logo
  • R2 Training logo
  • The Bradley Group logo
  • Risk Health and Safety logo
  • Wise Global Training logo
  • Total Training Company Logo
  • Sibbald Training logo
  • Total Construction Training logo
  • UTN Training logo
  • Collective Safety Solutions logo
Telephone Hotline (footer image)

Telephone Hotline

01933 233884

(Monday to Friday - 8:00am to 5:30pm).

© 2021 Book My Course Limited. All rights reserved

Home | About Us | Contact Us | FAQs | Privacy Policy | Terms & Conditions | Site Map | News / Articles | Cookie Policy