In this session, we'll overview how to update existing code from the full .NET Framework to .NET Core. We'll help you understand which code can and can't port eaisly, and we'll go through some real world porting examples.
- Create a new ASP.NET MVC 5 application in Visual Studio.
- Following the steps of this tutorial, see if you can port the application to ASP.NET Core 2.0. The tutorial covers the following steps:
- Prerequisites
- Target Frameworks
- Project structure differences
- Global.asax file replacement
- Storing Configurations
- Native Dependency Injection
- Serving Static Files
- Additional Resources
Note: You might not have time to complete the port in the time allotted. You can come back to it later in the day, or bring it home for homework. The important part is to understand the overall steps involved, not to complete the port.