Hands on Lab: Develop an Entity Framework Core and ASP.NET Core MVC App in a Day
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 will 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 will package the data access library into a custom NuGet
package for distribution. Next, you will 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
- 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 the SDK must be downloaded from https://www.microsoft.com/net/download/core#/current. The "Current" version and not the LTS (Long Term Support) version is needed for this HOL.
- Finally, you will 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).
Laptop with VS2017 and SQL Server Express