官术网_书友最值得收藏!

  • Learning ASP.NET Core 2.0
  • Jason De Oliveira Michel Bruchet
  • 375字
  • 2021-07-02 22:04:14

When to choose ASP.NET Core 2.0

After having seen the various features and functionalities provided by ASP.NET Core 2.0, you could ask yourself if it will replace the full classic .NET Framework in the future. It is true that ASP.NET Core 2.0 and the underlying .NET Core Framework provide some major enhancement and performance improvements, but there are still some specific scenarios, where those new application patterns do not apply and where the full .NET Framework will be the best and sometimes even the only choice.

Migrating your whole existing applications to ASP.NET Core right from the start might be difficult or even impossible to do. You should think about how to transform your applications progressively to lower the risk of failure or over-complexification and give yourself time to really understand the new patterns and paradigms.

You could start for instance by only using ASP.NET Core 2.0 for all new developments, then see how to migrate your legacy code later and sometimes even leave it be since there will be no real benefits for migrating it over. If you are really interested in the migration topic, please consider the appendix, since we have a full chapter dedicated to this important topic.

ASP.NET Core and the .NET Core Framework get more and more framework and client library support each day. Microsoft, tool and framework vendors, and the different developer communities work hard to provide a large set of functionalities for allowing feature-rich and high performing web applications. Everybody wants to work on this promising technology that could shape the future in a sustainable way.

The possibility to use .NET Core and .NET Framework libraries together at the same time when using .NET Standard 2.0 extends the possibilities even more and gives developers a temporary solution until every important feature and every major framework will be available in .NET Core.

To recap what has been discussed in this chapter, you should use ASP.NET Core 2.0 for your server applications when:

  • You have cross-platform needs
  • You are specifically targeting microservices
  • You want to use Docker containers
  • You need high performance and highly scalable applications
  • You need to put multiple applications with different .NET versions side by side
  • The presented technical restrictions do not apply to your application requirements
主站蜘蛛池模板: 阿城市| 慈溪市| 剑阁县| 来安县| 融水| 马尔康县| 克什克腾旗| 滦南县| 蓝山县| 泽库县| 赣榆县| 加查县| 香港| 嘉义市| 莱阳市| 天全县| 华宁县| 息烽县| 剑川县| 从化市| 浏阳市| 邓州市| 湖口县| 连城县| 辽中县| 河北区| 施秉县| 巴南区| 庐江县| 乾安县| 佛教| 石柱| 嘉鱼县| 林西县| 松江区| 宁陕县| 郴州市| 岢岚县| 盐津县| 东丽区| 中山市|