Modernizing .Net Web Applications: Everything You Need to Know about Migrating ASP.NET Web Applications to the Latest Version of .Net

Herceg, Tomás

  • 出版商: Apress
  • 出版日期: 2024-10-16
  • 售價: $2,190
  • 貴賓價: 9.5$2,081
  • 語言: 英文
  • 頁數: 680
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868806162
  • ISBN-13: 9798868806162
  • 相關分類: .NETASP.NET
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

In 2016, Microsoft introduced the new generation of .NET called .NET Core. It brought many fundamental improvements to the platform, but there were also many breaking changes and missing APIs, especially when it comes to creating web applications. Upgrading any website running on .NET Framework to the new .NET Core proved to be a complex process, which can take months or even years.

This book describes two approaches you can take to incrementally modernize legacy .NET web applications. It explains the changes that happened in ASP.NET MVC, ASP.NET Web API, Entity Framework, ASP.NET Identity, SignalR, and other libraries. It also shows a migration path for applications written in ASP.NET Web Forms: a technology which isn't supported in the new .NET at all.

In addition, the book describes the new frameworks available in the ASP.NET Core platform (Blazor, Razor Pages, ASP.NET Core MVC, SignalR Core, and so on) and helps you decide which technology will be the best fit.

The book also covers several "soft" areas: how to explain the benefits or necessity for the modernization to your company management, how to deal with refactoring and improving the overall code quality during the entire process, and how to adjust the architecture of the application to be ready for another technology upgrade in the future.

The topic of modernization is highly relevant. There are still plenty of legacy .NET applications that are being actively developed and maintained. Many of them were developed for 10+ years, they involve plethora of company-specific know-how, and it is not economically feasible to rewrite them from scratch.

What You Will Learn

  • Discover the changes you need to make in a legacy ASP.NET application to migrate it to .NET 8 and beyond
  • Estimate the required effort and prepare the entire process
  • Use the In-place or Side-by-side approach to modernize your application incrementally
  • Migrate from ASP.NET Web Services or WCF to REST or gRPC
  • Migrate from ASP.NET SignalR to SignalR Core or from Entity Framework to EF Core
  • Migrate from Forms Authentication to ASP.NET Identity
  • Migrate ASP.NET Web Forms to Blazor Server or DotVVM
  • Migrate ASP.NET MVC and Web Pages to ASP.NET Core MVC and Razor Pages
  • Refactor and clean up your codebase to make it more maintainable

Who This Book Is For

.NET developers who work with ASP.NET web applications running on the .NET framework, and tech leads and software architects who make technical decisions about legacy .NET projects used in their organization

商品描述(中文翻譯)

在2016年,微軟推出了新一代的 .NET,稱為 .NET Core。這帶來了許多對平台的根本性改進,但也有許多重大變更和缺失的 API,特別是在創建網頁應用程式方面。將任何運行在 .NET Framework 上的網站升級到新的 .NET Core 被證明是一個複雜的過程,可能需要幾個月甚至幾年的時間。

本書描述了兩種可以逐步現代化舊版 .NET 網頁應用程式的方法。它解釋了在 ASP.NET MVC、ASP.NET Web API、Entity Framework、ASP.NET Identity、SignalR 和其他庫中發生的變更。它還展示了從 ASP.NET Web Forms 遷移的路徑:這是一種在新 .NET 中完全不受支持的技術。

此外,本書描述了在 ASP.NET Core 平台上可用的新框架(Blazor、Razor Pages、ASP.NET Core MVC、SignalR Core 等),並幫助您決定哪種技術最適合。

本書還涵蓋了幾個「軟性」領域:如何向公司管理層解釋現代化的好處或必要性,如何在整個過程中處理重構和改善整體代碼質量,以及如何調整應用程式的架構,以便為未來的技術升級做好準備。

現代化的主題非常相關。目前仍有許多舊版 .NET 應用程式正在積極開發和維護。許多應用程式已開發超過10年,涉及大量公司特定的專業知識,從頭重寫它們在經濟上並不可行。

您將學到的內容:
- 發現需要在舊版 ASP.NET 應用程式中進行的變更,以遷移到 .NET 8 及以後的版本
- 估算所需的努力並準備整個過程
- 使用就地或並行的方法逐步現代化您的應用程式
- 從 ASP.NET Web Services 或 WCF 遷移到 REST 或 gRPC
- 從 ASP.NET SignalR 遷移到 SignalR Core 或從 Entity Framework 遷移到 EF Core
- 從 Forms Authentication 遷移到 ASP.NET Identity
- 將 ASP.NET Web Forms 遷移到 Blazor Server 或 DotVVM
- 將 ASP.NET MVC 和 Web Pages 遷移到 ASP.NET Core MVC 和 Razor Pages
- 重構和清理您的代碼庫,使其更易於維護

本書適合對象:
.NET 開發人員,他們在 .NET 框架上工作於 ASP.NET 網頁應用程式,以及在其組織中對舊版 .NET 項目做出技術決策的技術負責人和軟體架構師。

作者簡介

Tomás Herceg lives in the Czech Republic, and has been a Microsoft MVP since 2009. He runs a software consulting company called RIGANTI, and he has founded DotVVM, an open-source framework for building web apps using a popular MVVM design pattern. He often speaks at conferences and user groups, and he is the founder of Update Conference, the largest .NET developer event in the Czech Republic.

Tomas spent a large part of his career helping his customers with technical decisions, such as cloud migration, microservices architecture, domain-driven design, and modernization of large legacy applications. He wrote many technical articles about .NET development and conducted numerous courses and hands-on labs. Writing this book seemed like the next step forward.

作者簡介(中文翻譯)

Tomás Herceg 住在捷克共和國,自 2009 年以來一直是 Microsoft MVP。他經營一家名為 RIGANTI 的軟體諮詢公司,並創立了 DotVVM,這是一個用於使用流行的 MVVM 設計模式構建網頁應用程式的開源框架。他經常在會議和使用者小組中發表演講,並且是捷克共和國最大 .NET 開發者活動 Update Conference 的創辦人。

Tomas 在他的職業生涯中花了大量時間幫助客戶做出技術決策,例如雲端遷移、微服務架構、領域驅動設計以及大型遺留應用程式的現代化。他撰寫了許多有關 .NET 開發的技術文章,並進行了無數課程和實作實驗室。撰寫這本書似乎是邁向下一步的自然進展。