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

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
主站蜘蛛池模板: 南通市| 永川市| 景泰县| 桂东县| 广饶县| 揭阳市| 屏南县| 惠安县| 内丘县| 兴安县| 焦作市| 西丰县| 金沙县| 古丈县| 收藏| 汉川市| 新巴尔虎左旗| 定西市| 年辖:市辖区| 苏尼特左旗| 平利县| 英德市| 资中县| 乌鲁木齐县| 汉川市| 肥东县| 泰州市| 克山县| 庄河市| 禄劝| 河东区| 棋牌| 普兰店市| 辽宁省| 蚌埠市| 珲春市| 金川县| 邵阳市| 新沂市| 伊吾县| 务川|