售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright and Credits
.NET Standard 2.0 Cookbook
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Code in Action
Conventions used
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Get in touch
Reviews
Back to Basics
Technical requirements
Introduction
Creating a C#-based console application
Getting ready
How to do it...
How it works...
See also
Creating a C# class library
Getting ready
How to do it...
How it works...
Creating a classic Windows-based application to use the library
Getting ready
How to do it...
How it works...
Creating a WPF-based application to use the library
Getting ready
How to do it...
How it works...
Hello Universe – My first .NET Standard class library
Getting ready
How to do it...
How it works...
Creating a Windows console-based application to use the library
Getting ready
How to do it...
How it works...
Creating an ASP.NET Core-based web application to use the library
Getting ready
How to do it...
How it works...
Primitives, Collections, LINQ, and More
Technical requirements
Introduction
Building a .NET Standard 2.0 library that uses primitives
Getting ready
How to do it...
How it works...
A .NET console application to use the library
Getting ready
How to do it...
How it works...
Creating collections
Getting ready
How to do it...
How it works...
A WPF application to use the library
Getting ready
How to do it...
How it works...
Describing our library with Reflections
Getting ready
How to do it...
How it works...
A .NET Core console application to use the library
Getting ready
How to do it...
How it works...
Building a .NET Standard 2.0 library that uses LINQ
Getting ready
How to do it...
How it works...
An ASP.NET MVC application to use the library
Getting ready
How to do it...
How it works...
Working with Files
Technical requirements
Introduction
Setting up .NET Core in Ubuntu
Getting ready
How to do it...
How it works...
Creating a log as text
Getting ready
How to do it...
How it works...
Creating an ASP.NET Core application in Ubuntu to use the library
Getting ready
How to do it..
How it works...
Setting up .NET Core in macOS
Getting ready
How to do it...
How it works...
Reading from a comma separated (CSV) text file
Getting ready
How to do it...
How it works...
Creating a .NET Core console application in macOS to use the library
Getting ready
How to do it...
How it works...
Compressing? Why not?
Getting ready
How to do it...
How it works...
Creating a classic Windows application to use the library
Getting ready
How to do it...
How it works...
Encrypting and decrypting content in a text file
Getting ready
How to do it...
How it works...
Creating a classic Windows application to use the library
Getting ready
How to do it...
How it works...
Functional Programming
Technical requirements
Introduction
Creating a .NET Standard 2.0 library
Getting ready
How to do it...
How it works...
Creating a .NET Core console application to use the library
Getting ready
How to do it...
How it works...
Creating a .NET Standard 2.0 library that uses tuples
Getting ready
How to do it...
How it works...
Creating a Razor Pages web application to use the library
Getting ready
How to do it...
How it works...
Creating a .NET Standard 2.0 library that uses delegates and lambda expressions
Getting ready
How to do it...
How it works...
Creating a .NET console application to use the library
Getting ready
How to do it...
How it works...
XML and Data
Technical requirements
Introduction
Creating a library that reads and writes to an XML file
Getting ready
How to do it...
How it works...
Creating an ASP.NET MVC application to use the XMLLib library
Getting ready
How to do it...
How it works...
Processing an XML file using LINQ to XML
Getting ready
How to do it...
How it works...
Creating a .NET Core console application to use the library
Getting ready
How to do it...
How it works...
Exploring Threading
Technical requirements
Introduction
Creating a library that can perform several things at once
Getting ready
How to do it...
How it works...
Creating a .NET Core console application to use the library
Getting ready
How to do it...
How it works...
Creating an async method with tasks
Getting ready
How to do it...
How it works...
Creating a WPF application to use the library
Getting ready
How to do it...
How it works...
Creating a thread pool
Getting ready
How to do it...
How it works...
Creating a .NET console application to use the library
Getting ready
How to do it...
How it works...
Networking
Technical requirements
Introduction
A library that displays an IP address and the name using sockets
Getting ready
How to do it...
How it works...
Creating a classic Windows application to use the library
Getting ready
How to do it...
How it works...
Creating a library that sends mail
Getting ready
How to do it...
How it works...
Creating a WPF application to use the library
Getting ready
How to do it...
How it works...
Creating a library to call a REST API
Getting ready
How to do it...
How it works...
Creating an ASP.NET MVC application to use the library
Getting ready
How to do it..
How it works...
To iOS with Xamarin
Technical requirements
Introduction
Installing Visual Studio for Mac
Getting ready
How to do it...
How it works...
Hello iOS – Creating a Xamarin iOS app
Getting ready
How to do it...
How it works...
Creating the .NET Standard 2.0 library
Getting ready
How to do it...
How it works...
Putting things together and testing the application
Getting ready
How to do it...
How it works...
To Android with Xamarin
Technical requirements
Introduction
Hello Android – Creating a Xamarin Android app
Getting ready
How to do it...
How it works...
Adding a .NET Standard 2.0 library to the Xamarin project
Getting ready
How to do it...
How it works...
Putting things together and testing the application
Getting ready
How to do it...
How it works...
Let’s Fine-Tune Our Library
Technical requirements
Introduction
A library logs things itself
Getting ready
How to do it...
How it works...
Creating a .NET Core console application to use the library
Getting ready
How to do it...
How it works...
Informing the end user – Exception handling and error messages
Getting ready
How to do it...
How it works...
Using Visual Studio 2017 diagnostics and debugging tools
Getting ready
How to do it...
How it works...
Packaging and Delivery
Technical requirements
Introduction
Creating a .NET Standard 2.0 library
Getting ready
How to do it...
How it works...
Creating a NuGet package of your library
Getting ready
How to do it...
How it works...
Submitting the package to NuGet package manager
Getting ready
How to do it...
How it works...
Creating a classic Windows application and testing the NuGet package
Getting ready
How to do it...
How it works...
Deploying
Technical requirements
Introduction
Creating a free Azure Cloud subscription
Getting ready
How to do it...
How it works...
Creating an ASP.NET core web application to use the library from NuGet
Getting ready
How to do it...
How it works...
Deploying the application to Azure Cloud
Getting ready
How to do it...
How it works...
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜