Creating web apps with MVC, Entity Framework, LINQ and jQuery

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 advocating a big shift away from the traditional ASP.NET Server-Side model. The old .aspx Web Forms are too slow, and we need to write faster, more responsive and more customisable web apps. This course shows you all the latest tips and techniques.

Course examples and exercises are generally in both VB and C#, allowing the delegate to choose the language they prefer. Delegates are, however, encouraged to use C#. If you’re a VB developer, we’ll help you add that C# string to your bow.
 

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

Book your team training at your premises

  • Date
  • Venue
  • Cost
  • More info

Book your place

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

Instead of letting .NET write all the client code for you, you need to get up to speed on writing fast, efficient MVC sites, and learn how to call server-side code without the drag of endless Postbacks and Viewdata that is a characteristic of Web Forms.

The course also shows how to expose data using Entity Framework/REST/JSON/AJAX, instead of using tired old Datasets/DataTables.

Microsoft have had MVC and EF offerings for some years now, but not until MVC 5 and EF 6 has the technology been really compelling. It is now.

Who is this course for

The problem with MVC, EF, LINQ and jQuery is that they are all far more complex to understand and write than the old Web Forms methods. If you come on this course, we’ll quickly take you through all the key points, background, tips and wrinkles that are so frustrating and slow to discover for yourself.

You will learn how to
  • Create MVC Web applications, and write Razor code
  • Expose data using Entity Framework
  • Use LINQ to query databases
  • Write fast, efficient jQuery
  • Write and compare web services using both WCF and Web API
  • Use AJAX with both MVC and jQuery
  • Learn how to return data using JSON and REST
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

You will have a clearer idea of the development choices that you have, and will have gained experience in writing code that uses all the new programming paradigms of MVC, Razor, EF, LINQ, jQuery and Web API.

.NET New features
  • Web Sites, APIs and Real-Time
  • Web Pages, Web Forms and MVC
  • Problems with Web Forms
  • MVC
  • Web Pages
  • Razor
  • Faster, More Flexible, but More Work
  • One ASP.NET
  • Lots of Open Source Code
  • New Products
  • NoSQL
  • LINQ
  • LINQPad
  • LINQ With Databases
  • Syntactic Sugar
Razor
  • Code Render Blocks
  • Razor with Web Apps, Web Sites and MVC
  • Microsoft Edge
  • Layout Pages
  • Further Reading
MVC
  • Introduction
  • History of MVC
  • Rails
  • The Basics of MVC
  • A Simple MVC Example
  • Web Development Helpers
  • Bootstrap
MVC with Data
  • Using MVC with Data
  • Improving our Site
  • Paging
  • Further Work
Entity Framework
  • Introduction
  • Entity Framework Overview
  • EF and Performance
  • EF6 Goes Fully OOB
  • Code First and Database First
  • Code First, Model First Example
  • EF Basics A Worked Example
  • Going Further
jQuery
  • Introduction to jQuery
  • Event handling with JavaScript
  • jQuery and MVC
  • jQuery UI and MVC
  • Digging Deeper into jQuery (Optional)
Introduction to AJAX
  • Introduction to AJAX
  • Writing AJAX From Scratch
jQuery and MVC
  • Introduction to jQuery and ASP.NET
  • jQuery with AJAX and MVC
  • jQuery with Databases
  • AJAX and jQuery with EF 
  • Going Further
Web API
  • Introduction to Web Services
  • A Brief History of Remote Calls
  • WCF
  • What is SOA?
  • REST
  • JSON
  • Recent Developments
  • Web API
  • Web API with Data
  • The Web API Template
  • WebApiTestClient
  • Web API and NuGet
  • Databinding with jQuery
  • AngularJS (Optional)
  • ViewModel
  • Further Work
Raw SQL
  • Introduction
  • Create Some Stored Procedures
  • Write Your Own Models, Views, Controllers
  • Replace DataReader with DbContext
  • Use EF to Create Model Classes
  • In Conclusion
Authentication
  • Introduction
  • Authentication Methods
  • Individual User Accounts Example
  • Windows Authentication
  • Microsoft Sample Application
Prerequisites

Before attending this course, it is recommended that delegates are able to manage a solution using Visual Studio and have some application programming experience with a .NET language. (C# or VB.NET).  A basic knowledge of HTML and JavaScript is also extremely useful.

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?