Creating web apps with .NET

Take advantage of the latest technologies to write fast, flexible and maintainable websites
Overview

The course is designed to explore all the latest happenings in the .NET world. If you use .NET, you'll probably know that Microsoft are currently offering two different ways to build web apps – MVC and Razor Pages. In addition, .NET has had a major uplift, currently known as Core. Core is the next generation of ASP.NET, and is a completely new web stack developed from the ground up.

As .NET MVC 5 and Entity Framework 6 are no longer being worked on, this course covers the new MVC Core and the new EF Core; plus the totally new Razor Pages (which appeared at Core 2.0).

Every .NET developer needs to learn these new technologies, how they work and what their strengths and weaknesses are.

Crucially, you’ll also learn why Microsoft have made these dramatic changes – it’s all about building .NET apps for Linux and iOS.

Course Code
VST103DEV
Duration
3 Days
Delivery Style
Classroom
Course Type
Public or Private
Max Delegates
12
Available as Nutshell
No

Book your virtual training

  • Date
  • Venue
  • Cost
  • More info

Book your place

  • Date
  • Venue
  • Cost
  • Availability
  •  
  • Date06 Jul 2020
  • VenueWorcester
  • Cost£1,197 £957.60
  • AvailabilityAvailable
  • Book Now
  • Date09 Nov 2020
  • VenueWorcester
  • Cost£1,197
  • AvailabilityAvailable
  • Book Now
Purpose of this course

This course will help you get quickly up to speed with everything you need to create or maintain .NET web sites.

Who is this course for

The problem with MVC, EF, LINQ and Razor Pages is that they are all a bit fiddly to teach yourself. If you come on this course, we’ll quickly take you through all the key points, background, tips, tricks and wrinkles that are so frustrating and slow to discover for yourself.

You will learn how to

See what’s changed between MVC 5 and MVC Core. This will include:

  • Tag Helpers.
  • The Interface Design Pattern.
  • Dependency Injection.
  • Async/Await.

You will also learn about the new kid on the block – Razor Pages, and why you might and might not want to use them.
Finally, we’ll see what’s changed in Entity Framework between EF6 and EF Core.

Benefits for your organisation

Writing web apps using these new techniques can be challenging. Asking your developers to learn on the job can be slow and costly. If you send your developers on this course, they will come back to work refreshed, enthused, and ready to hit the ground running.

Benefits for you as an individual

It’s a no-brainer. If you’re a .NET developer, you need to know about all the technologies listed above.

.NET New features
  • Intro to .NET Core
  • Web Forms, MVC and Razor Pages
  • Problems with Web Forms
  • MVC
  • Razor Pages
  • Razor
  • Faster, More Flexible, but More Work
  • LINQ
  • LINQPad
  • LINQ with Databases
  • Syntactic Sugar
Razor
  • Code Render Blocks
  • A Razor Worked Example
  • Layout Pages
  • Further Reading
  • Digging Deeper With Razor
MVC
  • Introduction
  • History of MVC
  • Rails
  • The Basics of MVC
  • A Simple MVC Example
  • What Files Do We Get?
  • Web Development Helpers
  • Bootstrap Themes
MVC with Data
  • Data-driven Web Pages
  • Worked EF Example
  • Dependency Injection
  • Create Controllers and Views
  • Tidy Up
  • What Code Do We Have?
  • Views
  • Improving Our Site
  • Editing the EF Classes
  • Add Sorting on Columns
  • Add Filtering
  • Add Paging
  • X.PagedList (Optional)
Razor Pages
  • Introduction to Razor Pages
  • A Worked Example
  • Passing Data from a PageModel to a Page
  • Handler Methods
  • Posting Data Back to the Server
  • More Than One Button
  • Dotnet Commands
  • Going Further
Razor Pages With Data
  • Razor Pages With Data
  • Create Pages and PageModels
  • Tidy Up
  • A Look at the Code Behind
  • Add Sorting on Columns
  • Add Paging
  • Going Further
Web API
  • Introduction to Web Services
  • A Brief History of Remote Calls
  • WCF
  • What is SOA?
  • REST
  • JSON
  • gRPC
  • A Worked Web API Example
  • Web API with Data
  • Documenting with Swagger
  • Going Further
Client-Side Code
  • Write a Client
  • Call Our Web API
  • Other Options for Data Binding
  • AngularJS (Optional)
  • ViewModel
  • Further Work
Prerequisites

Before attending this course, it is recommended that delegates have a little familiarity with Visual Studio and C#.  A basic knowledge of HTML and JavaScript is also extremely useful, but not critical

Pre-course work required

None

More about the exam

There is no exam!

About the Lead Trainer

No training is dull with Tim. He oozes a real pleasure in teaching people stuff they don’t know. Tim loves developing new courses and sharing his knowledge at many on-site customer locations. In addition to training, Tim is an experienced consultant, advising on company computing requirements.  Did we mention that he also likes to read computing books and blogs in his spare time?