Migrating Net Framework to Netcore