更新时间:2021-07-09 20:16:12
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Hello C#! Welcome .NET Core!
Setting up your development environment
Understanding .NET Framework .NET Core and .NET Native
Writing and compiling code using the Developer Command Prompt
Writing and compiling code using Microsoft Visual Studio 2015
Targeting the .NET Core
Managing source code with GitHub
Practicing and exploring
Summary
Chapter 2. Speaking C#
Understanding C# basics
Declaring variables
Building console applications
Operating on variables
Chapter 3. Controlling the Flow Converting Types and Handling Exceptions
Selection statements
Iteration statements
Casting and converting between types
Handling exceptions
Checking for overflow
Looking for help
Practice and explore
Chapter 4. Using Common .NET Types
Using assemblies and namespaces
Storing and manipulating text
Storing data with collections
Chapter 5. Using Specialized .NET Types
Debugging and diagnostics
Unit testing an application
Internationalizing an application
Interoperating with unmanaged code
Chapter 6. Building Your Own Types with Object-Oriented Programming
Talking about OOP
Building class libraries
Storing data with fields
Writing and calling methods
Controlling access with properties and indexers
Simplifying methods with operators
Raising and handling events
Chapter 7. Implementing Interfaces and Inheriting Classes
Implementing interfaces
Managing memory with reference and value types
Inheriting from classes
Casting within inheritance hierarchies
Documenting your types
Inheriting and extending .NET types
Chapter 8. Working with Relational Data Using the Entity Framework
Relational Database Management Systems
Using ADO.NET
Using Entity Framework 6
Using Entity Framework Core
Chapter 9. Querying and Manipulating Data with LINQ
Writing LINQ queries
Using multiple threads with Parallel LINQ
Creating your own LINQ extension methods
Working with LINQ to XML
Chapter 10. Working with Files Streams and Serialization
Managing the filesystem
Reading and writing with streams
Encoding text
Serializing object graphs
Chapter 11. Protecting Your Data and Applications
Understanding the vocabulary of protection
Encrypting and decrypting data
Hashing data
Signing data
Authenticating and authorizing users
Chapter 12. Improving Performance and Scalability with Multitasking
Understanding processes and threads
Running tasks asynchronously
The async and await keywords
Synchronizing access to shared resources