Book description
NonePublisher resources
Table of contents
- Preface
-
Hello, C#! Welcome, .NET Core!
- Setting up your development environment
- Understanding .NET
- Writing and compiling code using the .NET Core CLI tool
- Writing and compiling code using Visual Studio 2017
- Writing and compiling code using Visual Studio Code
- Writing and compiling code using Visual Studio for Mac
- Managing source code with GitHub
- Practicing and exploring
- Summary
- Part 1, C# 7.1
-
Speaking C#
- Understanding C# basics
- Declaring variables
- Exploring console applications further
- Operating on variables
- Practicing and exploring
- Summary
- Controlling the Flow and Converting Types
- Writing, Debugging, and Testing Functions
-
Building Your Own Types with Object-Oriented Programming
- Talking about OOP
- Building class libraries
- Storing data with fields
- Writing and calling methods
- Controlling how parameters are passed
- Splitting classes using partial
- Controlling access with properties and indexers
- Practicing and exploring
- Summary
-
Implementing Interfaces and Inheriting Classes
- Setting up a class library and console application
- Simplifying methods with operators
- Defining local functions
- Raising and handling events
- Implementing interfaces
- Making types more reusable with generics
- Managing memory with reference and value types
- Inheriting from classes
- Casting within inheritance hierarchies
- Inheriting and extending .NET types
- Practicing and exploring
- Summary
- Part 2 – .NET Core 2.0 and .NET Standard 2.0
-
Understanding and Packaging .NET Standard Types
- Understanding assemblies and namespaces
- Sharing code cross-platform with .NET Standard 2.0 class libraries
- Understanding NuGet packages
- Publishing your applications for deployment
- Packaging your libraries for NuGet distribution
- Porting from .NET Framework to .NET Core
- Practicing and exploring
- Summary
- Using Common .NET Standard Types
- Working with Files, Streams, and Serialization
- Protecting Your Data and Applications
- Working with Databases Using Entity Framework Core
-
Querying and Manipulating Data Using LINQ
- Writing LINQ queries
- Working with sets
- Using LINQ with EF Core
- Sweetening the syntax with syntactic sugar
- Using multiple threads with parallel LINQ
- Creating your own LINQ extension methods
- Working with LINQ to XML
- Practicing and exploring
- Summary
- Improving Performance and Scalability Using Multitasking
- Part 3 – App Models
-
Building Web Sites Using ASP.NET Core Razor Pages
- Understanding web development
- Understanding ASP.NET Core
- Exploring Razor Pages
- Using Entity Framework Core with ASP.NET Core
- Practicing and exploring
- Summary
-
Building Web Sites Using ASP.NET Core MVC
- Setting up an ASP.NET Core MVC website
- Understanding an ASP.NET Core MVC website
- Practicing and exploring
- Summary
-
Building Web Services and Applications Using ASP.NET Core
- Building web services using ASP.NET Core Web API
- Documenting and testing web services using Swagger
- Building SPAs using Angular
- Using other project templates
- Practicing and exploring
- Summary
- Building Windows Apps Using XAML and Fluent Design
-
Building Mobile Apps Using XAML and Xamarin.Forms
- Understanding Xamarin and Xamarin.Forms
- Building mobile apps using Xamarin.Forms
- Practicing and exploring
- Summary
- Summary
-
Answers to the Test Your Knowledge Questions
- Chapter 1 – Hello, C#! Welcome, .NET Core!
- Chapter 2 – Speaking C#
- Chapter 3 – Controlling the Flow and Converting Types
- Chapter 4 – Writing, Debugging, and Testing Functions
- Chapter 5 – Building Your Own Types with Object-Oriented Programming
- Chapter 6 – Implementing Interfaces and Inheriting Classes
- Chapter 7 – Understanding and Packaging .NET Standard Types
- Chapter 8 – Using Common .NET Standard Types
- Chapter 9 – Working with Files, Streams, and Serialization
- Chapter 10 – Protecting Your Data and Applications
- Chapter 11 – Working with Databases Using Entity Framework Core
- Chapter 12 – Querying and Manipulating Data Using LINQ
- Chapter 13 – Improving Performance and Scalability Using Multitasking
Product information
- Title: C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
- Author(s):
- Release date:
- Publisher(s): Packt Publishing
- ISBN: None
You might also like
book
Entity Framework Core in Action, Second Edition
Entity Framework Core in Action, Second Edition is an in-depth guide to reading and writing databases …
book
Dependency Injection Principles, Practices, and Patterns
Dependency Injection Principles, Practices, and Patterns teaches you to use DI to reduce hard-coded dependencies between …
book
How Linux Works, 3rd Edition
Unlike some operating systems, Linux doesn’t try to hide the important bits from you—it gives you …
book
Getting Started with Advanced C#: Upgrade Your Programming Skills
Understand and work with the most important features of advanced C# in different programming environments. This …