Course not currently available

ASP.NET MVC

Course

In Manchester ()

£ 1,195 + VAT

Description

  • Typology

    Workshop

  • Level

    Advanced

  • Class hours

    24h

  • Duration

    4 Days

Description

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#!

Questions & Answers

Ask a question and other users will answer you

We will only publish your name and question

Subjects

  • LINQ
  • Routers
  • HTML

Teachers and trainers (1)

Andy Brown

Andy Brown

Microsoft Trainer & Programmer

Course programme

Course ContentsGetting 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

If time

Using SASS
  • What is SASS?
  • CSS and SASS
  • Installing Compass
  • Web workbench

ASP.NET MVC

£ 1,195 + VAT