Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 1.04 KB

File metadata and controls

17 lines (14 loc) · 1.04 KB

Porting From .NET Framework (1 hour)

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.

Lab: Porting an ASP.NET application to ASP.NET Core 2.0

  1. Create a new ASP.NET MVC 5 application in Visual Studio.
  2. 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:
    1. Prerequisites
    2. Target Frameworks
    3. Project structure differences
    4. Global.asax file replacement
    5. Storing Configurations
    6. Native Dependency Injection
    7. Serving Static Files
    8. 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.