如何移植到 .NET 核心? [英] How to port to .NET core?

查看:29
本文介绍了如何移植到 .NET 核心?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找从 Windows .NET 框架Ubuntu linux 使用 开源 .NET 核心

I was looking for possibilities for porting some web projects from Windows .NET framework to Ubuntu linux using open source .NET core

经过与 Mono 的斗争,我几乎放弃了.我将 .NET core 视为新的希望.让 我们中的任何人 从 .NET 移植到 .NET 核心?

After a lot of struggle with Mono, which I have almost gave up. I was looking at .NET core as a new hope. Have anyone of us ported from .NET to .NET core?

如果是,可能的问题是否可以像我在使用 Mono 时遇到的那样要分享吗?

推荐答案

从 .NET 迁移到 .NET Core 是一个巨大的进步,尤其是当您要利用 Core 时.目前没有一键式端口,我怀疑您是否会获得一键式迁移,例如从 VS 2013 项目迁移到 VS 2015 项目.整个启动流程是不同的,要自动切换到该流程将非常困难.目前,我认为迁移到 .NET Core 本质上是一种重写.至于这对您的项目是否值得 - 这真的很难说,而且可能不太适合该站点.

Moving from .NET to .NET Core is a huge move, especially if you're going to take advantage of Core. There is not currently a one click port, and I doubt you'll ever get a one-click migration like migrating from a VS 2013 project to a VS 2015 project. The entire startup flow is different, and to automate switching to that would be incredibly difficult. For now, the way I am looking at it is that moving to .NET Core is essentially a rewrite. As to whether that is worth it to you for your project - well that's really hard to say and also probably not well suited to that site.

也就是说,如果您进行重写,您可能会带来很多业务逻辑.您只需要重做许多其他结构.

That said, if you do rewrite you can probably bring along a lot of your business logic. You just will need to redo a lot of the other structure.

这篇关于如何移植到 .NET 核心?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆