Practical C# Projects with .NET: Sharpen your C# and .NET skills to build fun console, web, game and AI apps with modern tools and patterns
暫譯: 實用 C# 專案與 .NET:提升你的 C# 和 .NET 技能,使用現代工具和模式構建有趣的控制台、網頁、遊戲和 AI 應用程式

Eland, Matt, Griffin, Kevin

  • 出版商: Packt Publishing
  • 出版日期: 2026-04-24
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 518
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1836642512
  • ISBN-13: 9781836642510
  • 相關分類: C#
  • 海外代購書籍(需單獨結帳)

商品描述

Build practical C# and .NET 10 projects - from games and web apps to AI chatbots and machine learning tools - while learning modern patterns, libraries, and workflows.

Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Key Features:

- Learn by building practical .NET applications for real-world use

- Develop cross-platform apps, games, web APIs, and AI integrations

- Master new C# and .NET features through creative, hands-on projects

Book Description:

Too many C# developers feel stuck building the same apps day in and day out, but learning through side projects can reignite your passion and level up your skills. This book offers a practical, hands-on approach to building confidence with .NET 10 and modern C# by building a variety of engaging applications, from interactive games and productivity tools to machine learning apps and browser-based chatbots.

These projects are designed to teach practical patterns and modern tooling, with a focus on learning and experimentation over production hardening. You'll work with tools like Spectre.Console, ML.NET, Uno Platform, and more, developing everything from an adventure game and a card tracker to an AI chatbot. You'll also build modern AI-enabled systems using Ollama, Microsoft Agent Framework, OpenTelemetry, and Aspire.

Written by an experienced C# engineer and teacher, this book blends technical depth with a developer-friendly tone, helping you learn faster and retain more. You'll sharpen your understanding of core .NET capabilities and gain confidence to apply them in your own work or hobby projects.

By the end of this book, you'll not only have a portfolio of practical .NET apps - you'll also have grown as a developer and rediscovered the joy of programming.

*Email sign-up and proof of purchase required

What You Will Learn:

- Build an adventure game console app with Spectre.Console

- Create infinite world simulations using procedural generation

- Build RESTful APIs using ASP.NET Core and Entity Framework

- Design a cross-platform chatbot using Uno Platform

- Use object-oriented programming and unit tests to recreate the Enigma machine

- Develop browser-based apps with Blazor and JavaScript interop

- Train and use ML.NET models in your own applications

- Explore game development with MonoGame and .NET

Who this book is for:

C# developers eager to deepen their practical knowledge of .NET by building meaningful and creative projects. Suitable for professionals and hobbyists alike, this book is ideal for those who enjoy learning through experimentation. Readers should have a basic understanding of C# and familiarity with the .NET ecosystem.

Table of Contents

- Building an adventure game console app with .NET and Spectre.Console

- Recreating the Enigma machine with Object-Oriented Programming

- Exploring infinite worlds with procedural generation

- Build a Data-Driven Role Playing Game

- Tracking collectible card games with ASP.NET minimal APIs and Entity Framework

- Creating a trading card tracker using Blazor WebAssembly

- Building a cross-platform chatbot with Uno Platform and ELIZA

- Building conversational AI partners with Ollama and Microsoft.Extensions.AI

- Building an AI librarian with Microsoft Agent Framework

- Building and monitoring a Model Context Protocol server with Aspire

- Predicting values with machine learning, IoT data, and ML.NET

- Recreating Pong in MonoGame with C#

- Building larger games with graphics, collisions, and AI

- Succeeding with side projects

商品描述(中文翻譯)

建構實用的 C# 和 .NET 10 專案 - 從遊戲和網頁應用程式到 AI 聊天機器人和機器學習工具 - 同時學習現代模式、函式庫和工作流程。

隨書附贈:無 DRM 的 PDF 版本 + 訪問 Packt 的下一代 Reader*

主要特點:
- 通過構建實用的 .NET 應用程式來學習現實世界的應用
- 開發跨平台應用程式、遊戲、網頁 API 和 AI 整合
- 通過創意的實作專案掌握新的 C# 和 .NET 特性

書籍描述:
許多 C# 開發者感到每天都在構建相同的應用程式,但通過側專案學習可以重新點燃你的熱情並提升你的技能。本書提供了一種實用的、動手的方式,通過構建各種引人入勝的應用程式來增強對 .NET 10 和現代 C# 的信心,這些應用程式包括互動遊戲、生產力工具、機器學習應用和基於瀏覽器的聊天機器人。

這些專案旨在教授實用的模式和現代工具,重點在於學習和實驗,而非生產環境的強化。你將使用像 Spectre.Console、ML.NET、Uno Platform 等工具,開發從冒險遊戲和卡片追蹤器到 AI 聊天機器人的各種應用。你還將使用 Ollama、Microsoft Agent Framework、OpenTelemetry 和 Aspire 構建現代的 AI 啟用系統。

本書由一位經驗豐富的 C# 工程師和教師撰寫,將技術深度與開發者友好的語氣相結合,幫助你更快學習並記住更多。你將加深對核心 .NET 功能的理解,並獲得在自己的工作或興趣專案中應用這些功能的信心。

在本書結束時,你不僅會擁有一個實用的 .NET 應用程式作品集 - 你還會作為開發者成長,重新發現編程的樂趣。

*需要電子郵件註冊和購買證明

你將學到的內容:
- 使用 Spectre.Console 構建冒險遊戲控制台應用程式
- 使用程序生成創建無限世界模擬
- 使用 ASP.NET Core 和 Entity Framework 構建 RESTful API
- 使用 Uno Platform 設計跨平台聊天機器人
- 使用物件導向程式設計和單元測試重建 Enigma 機
- 使用 Blazor 和 JavaScript 互操作開發基於瀏覽器的應用程式
- 在自己的應用程式中訓練和使用 ML.NET 模型
- 探索使用 MonoGame 和 .NET 的遊戲開發

本書適合對象:
希望通過構建有意義和創意專案來深化對 .NET 實用知識的 C# 開發者。本書適合專業人士和愛好者,特別是那些喜歡通過實驗學習的人。讀者應具備基本的 C# 知識和對 .NET 生態系統的熟悉。

目錄:
- 使用 .NET 和 Spectre.Console 構建冒險遊戲控制台應用程式
- 使用物件導向程式設計重建 Enigma 機
- 使用程序生成探索無限世界
- 構建數據驅動的角色扮演遊戲
- 使用 ASP.NET 最小 API 和 Entity Framework 追蹤集換式卡牌遊戲
- 使用 Blazor WebAssembly 創建交易卡追蹤器
- 使用 Uno Platform 和 ELIZA 構建跨平台聊天機器人
- 使用 Ollama 和 Microsoft.Extensions.AI 構建對話式 AI 夥伴
- 使用 Microsoft Agent Framework 構建 AI 圖書管理員
- 使用 Aspire 構建和監控模型上下文協議伺服器
- 使用機器學習、物聯網數據和 ML.NET 預測值
- 使用 C# 在 MonoGame 中重建 Pong
- 構建具有圖形、碰撞和 AI 的大型遊戲
- 成功進行側專案