Code Like a Pro in C# (Paperback)

Rodenburg, Jort

  • 出版商: Manning
  • 出版日期: 2021-09-28
  • 定價: $2,050
  • 售價: 9.5$1,948
  • 貴賓價: 9.0$1,845
  • 語言: 英文
  • 頁數: 416
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1617298026
  • ISBN-13: 9781617298028
  • 相關分類: C#
  • 相關翻譯: 像C#高手一樣編程 (簡中版)
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

相關主題

商品描述

Build on your existing programming skills and upskill to professional-level C# programming.

Summary
In Code Like A Pro in C# you will learn:

Unit testing and test-driven development
Refactor a legacy .NET codebase
Principles of clean code
Essential backend architecture skills
Query and manipulate databases with LINQ and Entity Framework Core

Critical business applications worldwide are written in the versatile C# language and the powerful .NET platform, running on desktops, cloud systems, and Windows or Linux servers. Code Like a Pro in C# makes it easy to turn your existing abilities in C# or another OO language (such as Java) into practical C# mastery. There's no "Hello World" or Computer Science 101 basics--you'll learn by refactoring an out-of-date legacy codebase, using new techniques, tools, and best practices to bring it up to modern C# standards.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
You know the basics, now get ready for the next step! Pro-quality C# code is efficient, clean, and fast. Whether you're building user-facing business applications or writing data-intensive backend services, the experience-based, practical techniques in this book will take your C# skills to a new level.

About the book
Code Like a Pro in C# teaches you to how write clean C# code that's suitable for enterprise applications. In this book, you'll refactor a legacy codebase by applying modern C# techniques. You'll explore tools like Entity Framework Core, design techniques like dependency injection, and key practices like testing and clean coding. It's a perfect path to upgrade your existing C# skills or shift from another OO language into C# and the .NET ecosystem.

What's inside

Unit testing and test-driven development
Refactor a legacy .NET codebase
Principles of clean code
Query and manipulate databases with LINQ and Entity Framework Core

About the reader
For developers experienced with object-oriented programming. No C# experience required.

About the author
Jort Rodenburg is a software engineer who has taught numerous courses on getting up to speed with C# and .NET.

Table of Contents

PART 1 USING C# AND .NET
1 Introducing C# and .NET
2 .NET and how it compiles
PART 2 THE EXISTING CODEBASE
3 How bad is this code?
4 Manage your unmanaged resources!
PART 3 THE DATABASE ACCESS LAYER
5 Setting up a project and database with Entity Framework Core
PART 4 THE REPOSITORY LAYER
6 Test-driven development and dependency injection
7 Comparing objects
8 Stubbing, generics, and coupling
9 Extension methods, streams, and abstract classes
PART 5 THE SERVICE LAYER
10 Reflection and mocks
11 Runtime type checking revisited and error handling
12 Using IAsyncEnumerable and yield return
PART 6 THE CONTROLLER LAYER
13 Middleware, HTTP routing, and HTTP responses
14 JSON serialization/deserialization and custom model binding

商品描述(中文翻譯)

在現有的程式技能基礎上,提升至專業級的C#程式設計。

摘要:
在《Code Like A Pro in C#》中,您將學習到以下內容:
- 單元測試和測試驅動開發
- 重構過時的.NET程式碼庫
- 乾淨程式碼的原則
- 必備的後端架構技能
- 使用LINQ和Entity Framework Core查詢和操作資料庫

全球關鍵的商業應用程式都是使用多功能的C#語言和強大的.NET平台開發的,可以在桌面、雲端系統以及Windows或Linux伺服器上運行。《Code Like a Pro in C#》可以幫助您將現有的C#或其他面向對象的語言(如Java)能力轉化為實用的C#技能。本書不涉及基礎知識,也不是《Hello World》或計算機科學101的基礎課程,您將通過重構過時的遺留程式碼庫,使用新技術、工具和最佳實踐將其升級到現代C#標準。

購買印刷版書籍將包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

關於技術:
您已經掌握了基礎知識,現在準備迈向下一步!高品質的C#程式碼應該高效、乾淨且快速。無論您是在構建面向用戶的商業應用程式還是編寫數據密集的後端服務,本書中基於經驗的實用技巧將使您的C#技能達到新的水平。

關於本書:
《Code Like a Pro in C#》教您如何編寫適用於企業應用程式的乾淨C#程式碼。在本書中,您將通過應用現代C#技術來重構遺留程式碼庫。您將探索Entity Framework Core等工具、依賴注入等設計技巧,以及測試和乾淨編碼等關鍵實踐。這是升級現有C#技能或從其他面向對象語言轉向C#和.NET生態系統的完美途徑。

內容簡介:
- 單元測試和測試驅動開發
- 重構過時的.NET程式碼庫
- 乾淨程式碼的原則
- 使用LINQ和Entity Framework Core查詢和操作資料庫

讀者對象:
對面向對象編程有經驗的開發人員。無需C#經驗。

作者簡介:
Jort Rodenburg是一位軟體工程師,曾教授多門關於C#和.NET的課程。

目錄:
第1部分 使用C#和.NET
1. 介紹C#和.NET
2. .NET及其編譯方式
第2部分 現有程式碼庫
3. 這段程式碼有多糟糕?
4. 管理未管理的資源!
第3部分 資料庫存取層
5. 使用Entity Framework Core設置專案和資料庫
第4部分 儲存庫層
6. 測試驅動開發和依賴注入
7. 比較物件
8. 存根、泛型和耦合
9. 擴展方法、流和抽象類
第5部分 服務層
10. 反射和模擬
11. 重新檢查運行時類型和錯誤處理
12. 使用IAsyncEnumerable和yield return
第6部分 控制器層
13. 中介軟體、HTTP路由和HTTP回應
14. JSON序列化/反序列化和自定義模型繫結

作者簡介

Jort Rodenburg is a software engineer specializing in C#. He has built software for numerous fields, from financial compliance to inkjet printing. Jort has mentored and taught courses on object-oriented programming to help developers get up to speed with C# and .NET.

作者簡介(中文翻譯)

Jort Rodenburg 是一位專攻 C# 的軟體工程師。他曾經為多個領域開發軟體,包括金融合規和噴墨印刷。Jort 曾擔任導師並教授面向物件的程式設計課程,以幫助開發人員快速掌握 C# 和 .NET。