.NET Standard 2.0 Cookbook: Develop high quality, fast and portable applications by leveraging the power of .NET Standard Library
暫譯: .NET Standard 2.0 食譜:利用 .NET Standard Library 的力量開發高品質、快速且可攜帶的應用程式

Fiqri Ismail

  • 出版商: Packt Publishing
  • 出版日期: 2018-05-14
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 394
  • 裝訂: Paperback
  • ISBN: 1788834666
  • ISBN-13: 9781788834667
  • 相關分類: .NET
  • 海外代購書籍(需單獨結帳)

商品描述

Get the most out of .NET framework using standard libraries and create a .NET Standard 2.0 library from scratch

Key Features

  • Write code once and share within .NET ecosystem in Windows, Linux and macOS
  • Give your .NET Libraries a common framework in cloud and on premise with the latest .NET Standard 2.0
  • Build a wide range of applications from Mobile with Xamarin to Web with ASP.NET

Book Description

The .NET Standard is a standard that represents a set of APIs that all .NET platforms have to implement, making it easy for developers to access and use one common library for their development needs. This book begins with a quick refresher, helping you understand the mechanics of the new standard and offering insight into how it works. You'll explore the core library concepts, such as working with collections, configurations, I/O, security, and multithreading. You'll explore the iOS and Android libraries of Xamarin and we'll guide you through creating a .NET Standard 2.0 library, which you'll use with both Android and iOS applications.

In the final chapters, you'll learn the various debugging and diagnostics tools to deliver quality libraries and create a NuGet package of the .NET Standard 2.0 library. By the end of this book, you'll be able to expand your current workflow to various .NET flavors and have the essential skills to create a .NET Standard 2.0 library from scratch to package and deliver it to the world.

What you will learn

  • Create a .NET Standard 2.0 library
  • Use System.IO within the .NET Standard 2.0
  • Make use of your legacy .NET libraries with the new .NET Core standard
  • Explore the thread support to create a multithreaded .NET Standard 2.0 library
  • Create a .NET Standard 2.0 library and use it with an Android and iOS application
  • Implement various Visual Studio 2017 diagnostics and debugging tools
  • Create a NuGet Package and submit the package to the NuGet Package Manager
  • Use Visual Studio 2017 azure tools to deploy the application to Azure
  • Test and deliver a .NET Standard 2.0 library

Who This Book Is For

This book is for .NET developers who are looking to build dynamic applications with the latest .NET Standard. C# knowledge is required.

Table of Contents

  1. Back to Basics
  2. Primitives, Collections, LINQ, and More
  3. Working with Files
  4. Functional Programming
  5. XML and Data
  6. Exploring Threading
  7. Networking
  8. To iOS with Xamarin
  9. To Android with Xamarin
  10. Let's Fine-Tune Our Library
  11. Packaging and Delivery
  12. Deploying

商品描述(中文翻譯)

充分利用 .NET 框架,使用標準庫從零開始創建 .NET Standard 2.0 庫

主要特點


  • 一次編寫代碼,並在 Windows、Linux 和 macOS 的 .NET 生態系統中共享

  • 使用最新的 .NET Standard 2.0,為您的 .NET 庫提供一個通用框架,無論是在雲端還是本地

  • 從使用 Xamarin 的移動應用到使用 ASP.NET 的網頁,構建各種應用程序

書籍描述

.NET Standard 是一個標準,代表所有 .NET 平台必須實現的一組 API,使開發人員能夠輕鬆訪問和使用一個通用庫來滿足其開發需求。本書首先提供快速回顧,幫助您理解新標準的機制,並提供其運作方式的見解。您將探索核心庫概念,例如處理集合、配置、I/O、安全性和多線程。您將探索 Xamarin 的 iOS 和 Android 庫,我們將指導您創建一個 .NET Standard 2.0 庫,您將在 Android 和 iOS 應用中使用它。

在最後幾章中,您將學習各種調試和診斷工具,以交付高品質的庫並創建 .NET Standard 2.0 庫的 NuGet 包。到本書結束時,您將能夠擴展當前的工作流程到各種 .NET 版本,並具備從零開始創建 .NET Standard 2.0 庫的基本技能,將其打包並交付給全世界。

您將學到什麼


  • 創建 .NET Standard 2.0 庫

  • 在 .NET Standard 2.0 中使用 System.IO

  • 使用新的 .NET Core 標準來利用您的舊版 .NET 庫

  • 探索線程支持以創建多線程的 .NET Standard 2.0 庫

  • 創建 .NET Standard 2.0 庫並在 Android 和 iOS 應用中使用它

  • 實現各種 Visual Studio 2017 的診斷和調試工具

  • 創建 NuGet 包並將該包提交給 NuGet 包管理器

  • 使用 Visual Studio 2017 的 Azure 工具將應用部署到 Azure

  • 測試和交付 .NET Standard 2.0 庫

本書適合誰

本書適合希望使用最新 .NET Standard 構建動態應用程序的 .NET 開發人員。需要具備 C# 知識。

目錄


  1. 回到基礎

  2. 基本類型、集合、LINQ 等

  3. 處理文件

  4. 函數式編程

  5. XML 和數據

  6. 探索線程

  7. 網絡編程

  8. 使用 Xamarin 開發 iOS

  9. 使用 Xamarin 開發 Android

  10. 優化我們的庫

  11. 打包和交付

  12. 部署