Web Server, Full Day Hands-On Labs

HOL02 Full Day Hands-On Lab: Develop an ASP.NET Core MVC/Entity Framework Core App in a Day


8:00am - 5:00pm

Level: Intermediate

Philip Japikse

Microsoft MVP, MCSD, CSM, and CSP

Developer, Coach, Author, Teacher

Interested in .NET Core and Entity Framework Core, but not sure where to start? Start here with an all-day hands-on lab where you'll build a complete solution using the latest development technology from Microsoft. Using Visual Studio 2017 (RC), you will build a data access library using Entity Framework Core, complete with repos and migrations. Then you'll package the data access library into a custom NuGet package for distribution. Next, you'll build a Core MVC site, leveraging all of the latest that Core MVC has to offer, including Tag Helpers, View Components, Dependency Injection, and more.

You will learn the new project structure for .NET Core Apps:

  • Creating a data access layer with Entity Framework Core
  • Initializing data for testing with EF Core
  • Creating NuGet packages from .NET Core projects
  • Building a website with ASP.NET Core MVC
  • Configuring the HTTP pipeline and routing
  • Using and creating Tag Helpers
  • Creating and using View Components
  • Leveraging Dependency Injection

Attendance is limited.

Attendee Requirements: You must provide your own laptop computer for this hands-on lab.

You will need to have Visual Studio 2017 RC Installed (any edition), with version 15.0.26020.0 or later. Visual Studio 2017 RC can be downloaded from https://www.visualstudio.com/vs/visual-studio-2017-rc/. When installing, make sure to select the ".NET Core and Docker (Preview)" workload.

You also need to have .NET Core 1.1 installed. The tooling installs with Visual Studio 2017 RC, but you must download the SDK from https://www.microsoft.com/net/download/core#/current. You'll need the "Current" version and not the LTS (Long Term Support) version for this HOL.

Finally, you'll need to have SQL Server Express 2016 Local DB installed. This is installed with VS2017 RC by default, but can also be installed from the SQL Server 2016 Express installer, located here: https://msdn.microsoft.com/en-us/library/hh510202.aspx.

Although not necessary to download beforehand, the starter files for this HOL are located in https://github.com/skimedic/dotnetcore_hol (one of my GITHUB repos).