C# 10 and .NET 6 – Modern Cross-Platform Development: Build apps, websites, and services with ASP.NET Core 6, Blazor, and EF Core 6 using Visual Studio 2022 and Visual Studio Code (Paperback)

Mark J. Price

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

相關主題

商品描述

Key Features

  • Explore the newest additions to C# 10, the .NET 6 class library, and Entity Framework Core 6
  • Create professional websites and services with ASP.NET Core 6 and Blazor
  • Build cross-platform apps for Windows, macOS, Linux, iOS, and Android

Book Description

This latest edition is extensively revised to accommodate all the latest features that come with C# 10 and .NET 6.

You will learn object-oriented programming, writing, testing, and debugging functions, implementing interfaces, and inheriting classes. The book covers the .NET APIs for performing tasks like managing and querying data, monitoring and improving performance, and working with the filesystem, async streams, serialization, and encryption. It provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core.

The best application for learning the C# language constructs and many of the .NET libraries does not distract with unnecessary application code. Hence, the C# and .NET topics covered in Chapters 1 to 12 feature console applications. In Chapters 13 to 17, having mastered the basics, you will build practical applications and services using ASP.NET Core, the Model-View-Controller (MVC) pattern, and Blazor.

There are also two new online chapters on using .NET MAUI to build cross-platform apps and building services using a variety of technologies, including Web API, OData, gRPC, GraphQL, SignalR, and Azure Functions.

What you will learn

  • Build rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET Core
  • Build your own types with object-oriented programming
  • Write, test, and debug functions
  • Query and manipulate data using LINQ
  • Integrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLite
  • Build and consume powerful services using the latest technologies, including gRPC and GraphQL
  • Build cross-platform apps using .NET MAUI and XAML

 

Who this book is for

This book is for beginners to C# and .NET or programmers who have worked with C# in the past but feel left behind by the changes in the past few years. This book doesn't expect you to have any C# or .NET experience; however, you should have a general understanding of programming.

Students and professionals with a science, technology, engineering, or mathematics (STEM) background can benefit from this book.

商品描述(中文翻譯)

主要特點


  • 探索 C# 10、.NET 6 類別庫和 Entity Framework Core 6 的最新功能

  • 使用 ASP.NET Core 6 和 Blazor 建立專業的網站和服務

  • 為 Windows、macOS、Linux、iOS 和 Android 建立跨平台應用程式

書籍描述

這本最新版書籍經過廣泛修訂,以適應 C# 10 和 .NET 6 的所有最新功能。

您將學習物件導向程式設計、撰寫、測試和除錯函式、實作介面和繼承類別。本書涵蓋了執行像資料管理和查詢、監控和改善效能、以及與檔案系統、非同步串流、序列化和加密等工作相關的 .NET API。它提供了一些跨平台應用程式的範例,例如使用 ASP.NET Core 建立和部署的網站和服務。

這本書最適合用來學習 C# 語言結構和許多 .NET 函式庫,並且不會分散注意力於不必要的應用程式程式碼。因此,第 1 至 12 章涵蓋的 C# 和 .NET 主題都是以控制台應用程式為特色。在第 13 至 17 章,您將在掌握基礎知識後,使用 ASP.NET Core、模型-視圖-控制器 (MVC) 模式和 Blazor 建立實用的應用程式和服務。

此外,還有兩個新的線上章節介紹如何使用 .NET MAUI 建立跨平台應用程式,以及使用各種技術(包括 Web API、OData、gRPC、GraphQL、SignalR 和 Azure Functions)建立服務。

您將學到什麼


  • 使用 Blazor、Razor Pages、模型-視圖-控制器 (MVC) 模式和其他 ASP.NET Core 功能建立豐富的網頁體驗

  • 使用物件導向程式設計建立自己的類型

  • 撰寫、測試和除錯函式

  • 使用 LINQ 查詢和操作資料

  • 使用 Entity Framework Core、Microsoft SQL Server 和 SQLite 整合和更新應用程式中的資料庫

  • 使用最新技術(包括 gRPC 和 GraphQL)建立和使用強大的服務

  • 使用 .NET MAUI 和 XAML 建立跨平台應用程式

 

適合閱讀對象

本書適合初學者和有過 C# 和 .NET 經驗但感到在過去幾年中被落下的程式設計師。本書不要求您具備任何 C# 或 .NET 的經驗,但您應該對程式設計有一般的了解。

具有科學、技術、工程或數學 (STEM) 背景的學生和專業人士可以從本書中受益。

作者簡介

Mark J. Price is a Microsoft Specialist: Programming in C# and Architecting Microsoft Azure Solutions, with over 20 years' experience. Since 1993, he has passed more than 80 Microsoft programming exams and specializes in preparing others to pass them. Between 2001 and 2003, Mark was employed to write official courseware for Microsoft in Redmond, USA. His team wrote the first training courses for C# while it was still an early alpha version. While with Microsoft, he taught "train-the-trainer" classes to get other MCTs up-to-speed on C# and .NET. Currently, Mark creates and delivers training courses for Optimizely's Digital Experience Platform (DXP). Mark holds a Computer Science BSc. Hons. Degree.

作者簡介(中文翻譯)

Mark J. Price是一位微軟專家,擁有超過20年的經驗,專注於C#程式設計和Microsoft Azure解決方案架構。自1993年以來,他通過了80多次微軟的程式設計考試,並專注於幫助他人通過這些考試。在2001年至2003年期間,Mark被聘用在美國雷德蒙德的微軟撰寫官方課程教材。他的團隊在C#仍然是早期alpha版本時就編寫了第一批培訓課程。在微軟期間,他教授了"C#和.NET的培訓師培訓"課程,以使其他MCT(微軟認證講師)熟悉C#和.NET。目前,Mark為Optimizely的數位體驗平台(DXP)創建並提供培訓課程。Mark擁有計算機科學學士學位。

目錄大綱

  1. Hello C#, Welcome .NET!
  2. Speaking C#
  3. Controlling Flow, Converting Types, and Handling Exceptions
  4. Writing, Debugging, and Testing Functions
  5. Building Your Own Types with Object-Oriented Programming
  6. Implementing Interfaces and Inheriting Classes
  7. Packaging and Distributing .NET Types
  8. Working with Common .NET Types
  9. Working with Files, Streams, and Serialization
  10. Working with Data Using Entity Framework Core
  11. Querying and Manipulating Data Using LINQ
  12. Improving Performance and Scalability Using Multitasking
  13. Introducing Practical Applications of C# and .NET
  14. Building Websites Using ASP.NET Core Razor Pages
  15. Building Websites Using the Model-View-Controller Pattern
  16. Building and Consuming Web Services
  17. Building User Interfaces Using Blazor
  18. Bonus Content: Building and Consuming Specialized Services

目錄大綱(中文翻譯)


  1. Hello C#,歡迎使用.NET!

  2. 使用C#進行開發

  3. 控制流程、類型轉換和處理異常

  4. 撰寫、除錯和測試函式

  5. 使用物件導向程式設計建立自己的類型

  6. 實作介面和繼承類別

  7. 封裝和分發.NET類型

  8. 使用常見的.NET類型

  9. 處理檔案、串流和序列化

  10. 使用Entity Framework Core處理資料

  11. 使用LINQ查詢和操作資料

  12. 使用多工技術提升效能和可擴展性

  13. 介紹C#和.NET的實際應用

  14. 使用ASP.NET Core Razor Pages建立網站

  15. 使用模型-視圖-控制器模式建立網站

  16. 建立和使用網路服務

  17. 使用Blazor建立使用者介面

  18. 額外內容:建立和使用特殊服務

類似商品