從ASP.NET Core 1.x 遷移至2.0 | .net core asp net core
![從ASP.NET Core 1.x 遷移至2.0](https://i.imgur.com/axBPWDg.jpg)
12/05/2019 本文內容 作者:ScottAddie[1]ByScottAddie[2]在本文中,我們會逐步引導您將現有的ASP.NETCore1.x專案更新為ASP.NETCore2.0。Inthisarticle,wewalkyouthroughupdatinganexistingASP.NETCore1.xprojecttoASP.NETCore2.0.將應用程式移轉至ASP.NETCore2.0可讓您充分利用許多新功能和效能改進[3]。MigratingyourapplicationtoASP.NETCore2.0enablesyoutotakeadvantageofmanynewfeaturesandperformanceimprovements[4].現有的ASP.NETCore1.x應用程式是根據特定版本...
![從ASP.NET Core 1.x 遷移至2.0](https://i.imgur.com/H8YKUrg.jpg)
作者:Scott Addie[1]By Scott Addie[2]
在本文中,我們會逐步引導您將現有的 ASP.NET Core 1.x 專案更新為 ASP.NET Core 2.0。In this article, we walk you through updating an existing ASP.NET Core 1.x project to ASP.NET Core 2.0. 將應用程式移轉至 ASP.NET Core 2.0 可讓您充分利用許多新功能和效能改進[3]。Migrating your application to ASP.NET Core 2.0 enables you to take advantage of many new features and performance improvements[4].
現有的 ASP.NET Core 1.x 應用程式是根據特定版本的專案範本。Existing ASP.NET Core 1.x applications are based off of version-specific project templates. 隨著 ASP.NET Core 架構發展,其中內含的專案範本和起始程式碼也跟著演進。As the ASP.NET Core framework evolves, so do the project templates and the starter code contained within them. 除了更新 ASP.NET Core 架構之外,您還需要更新應用程式的程式碼。In addition to updating the ASP.NET Core framework, you need to update the code for your application.
PrerequisitesPre...