C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition: Create powerful applications with .NET Standard 2.0, ASP.NET Core 2.0, ... Visual Studio 2017 or Visual Studio Code

Mark J. Price

  • 出版商: Packt Publishing
  • 出版日期: 2017-11-30
  • 售價: $2,840
  • 貴賓價: 9.5$2,698
  • 語言: 英文
  • 頁數: 800
  • 裝訂: Paperback
  • ISBN: 1788398076
  • ISBN-13: 9781788398077
  • 相關分類: .NETASP.NETC#Visual Studio
  • 已過版

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

商品描述

C# 7.1 and .NET Core 2.0 Modern Cross-Platform Development is a practical guide to creating powerful cross-platform applications with C# 7 and .NET Core 2.0.

About This Book

  • Build modern, cross-platform applications with .NET Core 2.0
  • Get up to speed with C#, and up to date with all the latest features of C# 7.1
  • Start creating professional web applications with ASP.NET Core 2.0

Who This Book Is For

This book is for those of you who have some prior programming experience or have a science, technology, engineering, or mathematics (STEM) background, and want to gain a solid foundation with C# and to be introduced to the types of applications you could build which will work cross-platform on Windows, Linux, and macOS.

What You Will Learn

  • Build cross-platform applications using C# 7.1 and .NET Core 2.0
  • Explore ASP.NET Core 2.0 and learn how to create professional websites, services, and applications
  • Improve your application's performance using multitasking
  • Use Entity Framework Core and LINQ to query and manipulate data
  • Master object-oriented programming with C# to increase code reuse and efficiency
  • Familiarize yourself with cross-device app development using the Universal Windows Platform
  • Protect and manage your files and data with encryption, streams, and serialization
  • Get started with mobile app development using Xamarin.Forms
  • Preview the nullable reference type feature of C# 8

In Detail

C# 7.1 and .NET Core 2.0 is a practical guide to creating powerful cross-platform applications with C# 7.1 and .NET Core 2.0. It gives readers of any experience level a solid foundation in C# and .NET. The first part of the book runs you through the basics of C#, as well as debugging functions and object-oriented programming, before taking a quick tour through the latest features of C# 7.1 such as default literals, tuples, inferred tuple names, pattern matching, and more.

After quickly taking you through C# and how .NET works, you'll explore the .NET Standard 2.0 class libraries, covering topics such as packaging and deploying your own libraries, and using common libraries for working with collections, performance, databases, and encryption. The final section demonstrates the major types of application that you can build and deploy cross-device and cross-platform. Here, you'll learn about websites, web applications, web services, Universal Windows Platform (UWP) apps, and mobile apps. By the end of the book, you'll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET.

Style and approach

This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you ll need to build modern, cross-platform applications using C# and .NET Core 2.0.

Table of Contents

  1. Hello, C#! Welcome, .NET Core!
  2. Speaking C#
  3. Controlling the Flow and Converting Types
  4. Writing, Debugging, and Testing Functions
  5. Building Your Own Types with OOP
  6. Implementing Interfaces and Inheriting Classes
  7. Understanding and Packaging .NET Standard Types
  8. Using Common .NET Standard Types
  9. Working with Files, Streams, and Serialization
  10. Protecting Your Data and Applications
  11. Working with Databases Using Entity Framework
  12. Querying and Manipulating Data Using LINQ
  13. Improving Performance and Scalability Using Multitasking
  14. Building Websites Using ASP.NET Core Razor Pages
  15. Building Websites Using ASP.NET Core MVC
  16. Building Web Services and Application Using ASP.NET Core
  17. Building Windows Apps Using XAML & Fluent Design

商品描述(中文翻譯)

《C# 7.1 和 .NET Core 2.0 現代跨平台開發》是一本實用指南,教你如何使用 C# 7 和 .NET Core 2.0 創建強大的跨平台應用程序。

關於本書


  • 使用 .NET Core 2.0 建立現代跨平台應用程序

  • 學習 C#,並了解 C# 7.1 的最新功能

  • 使用 ASP.NET Core 2.0 開始創建專業的網絡應用程序

本書適合對象

本書適合有一定編程經驗或具有科學、技術、工程或數學(STEM)背景的讀者,希望在 C# 上建立堅實的基礎,並介紹可以在 Windows、Linux 和 macOS 上跨平台運行的應用程序類型。

你將學到什麼


  • 使用 C# 7.1 和 .NET Core 2.0 建立跨平台應用程序

  • 探索 ASP.NET Core 2.0,學習如何創建專業的網站、服務和應用程序

  • 使用多任務處理提高應用程序的性能

  • 使用 Entity Framework Core 和 LINQ 查詢和操作數據

  • 掌握 C# 的面向對象編程,提高代碼重用和效率

  • 熟悉使用通用 Windows 平台進行跨設備應用程序開發

  • 使用加密、流和序列化保護和管理文件和數據

  • 使用 Xamarin.Forms 開始移動應用程序開發

  • 預覽 C# 8 的可為空引用類型功能

詳細內容

《C# 7.1 和 .NET Core 2.0》是一本實用指南,教你如何使用 C# 7.1 和 .NET Core 2.0 創建強大的跨平台應用程序。無論你的經驗水平如何,本書的第一部分都會帶你了解 C# 的基礎知識,以及調試功能和面向對象編程,然後快速介紹 C# 7.1 的最新功能,如默認文字、元組、推斷元組名稱、模式匹配等。

在快速介紹 C# 和 .NET 的基礎知識後,你將探索 .NET Standard 2.0 類庫,涵蓋打包和部署自己的庫、使用常用庫處理集合、性能、數據庫和加密等主題。最後一部分演示了可以跨設備和跨平台構建和部署的主要應用程序類型。在這裡,你將學習有關網站、網絡應用程序、網絡服務、通用 Windows 平台(UWP)應用程序和移動應用程序的知識。通過閱讀本書,你將掌握使用 C# 和 .NET 建立現代跨平台應用程序所需的所有知識。

風格和方法

本書採用逐步指南的方式,充滿了令人興奮的項目和引人入勝的理論。它使用三個高影響力的部分,為你提供構建現代跨平台應用程序所需的所有工具和知識,使用 C# 和 .NET Core 2.0。

目錄


  1. 你好,C#!歡迎,.NET Core!

  2. 說C#

  3. 控制流程和類型轉換

  4. 編寫、調試和測試函數

  5. 使用面向對象編程構建自己的類型

  6. 實現接口和繼承類

  7. 了解和打包 .NET Standard 類型

  8. 使用常用的 .NET Standard 類型

  9. 使用文件、流和序列化

  10. 保護數據和應用程序

  11. 使用 Entity Framework 使用數據庫

  12. 使用 LINQ 查詢和操作數據

  13. 使用多任務處理提高性能和可擴展性

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

  15. 使用 ASP.NET Core MVC 構建網站

  16. 使用 ASP.NET Core 構建網絡服務和應用程序

  17. 構建