Steps to migrate the original ASP.NET MVC project to ASP.NET Core:
Install VS2015 + .NET Core SDK + VS2015 Tooling (Preview 2 at the time); fix common installer issues (0x80072f8a) per linked guide.
Create a new empty ASP.NET Core app; add NuGet packages (AngleSharp, Newtonsoft.Json, etc.).
Copy Controllers/Views; in Core, static files live under
wwwroot, so move assets accordingly.Configure Startup:
| |
- Rewrite
GetHTMLByURLusingWebRequest(Core changed HttpWebRequest usage) and proper encodings.
The rest is adapting namespaces/usings and resolving API differences.