/ProfessionalCSharp6

Code samples for the book Professional C# 6 and .NET Core 1.0, Wrox Press

Primary LanguageC#

Professional C# 6 and .NET Core 1.0

Code samples for the Wrox book Professional C# 6 and .NET Core 1.0

This repo is archived. Newer vesions of this book are available.

Check:

To compile and run the samples you need:

  • Visual Studio 2017 with the .NET Core workload

For the Visual Studio 2015 version of the code samples, please check the vs2015 branch of this repository.

To run many of the code samples on Linux (RHEL, Ubuntu, Mint, Debian, Fedora, CentOS, Oracle, openSUSE) check this installation procedure: .NET Core on Linux.

Check the book updates and errata

Samples available for these chapters (sample folders):

  • Chapter 1 - .NET Application Architectures (HelloWorld) [Windows, Linux]
  • Chapter 2 - Core C# (CoreCSharp) [Windows, Linux]
  • Chapter 3 - Objects and Types (ObjectsAndTypes) [Windows, Linux]
  • Chapter 4 - Inheritance (Inheritance) [Windows, Linux]
  • Chapter 5 - Managed and Unmanaged Resources (Resources) [see chapter's Readme, Windows, Linux]
  • Chapter 6 - Generics (Generics) [Windows, Linux]
  • Chapter 7 - Arrays and Tuples (Arrays) [Windows, Linux]
  • Chapter 8 - Operators and Casts (OperatorsAndCasts) [Windows, Linux]
  • Chapter 9 - Delegates, Lambdas, and Events (Delegates) [see chapter's Readme, Windows, Linux]
  • Chapter 10 - Strings and Regular Expressions (StringsAndRegularExpressions) [Windows, Linux]
  • Chapter 11 - Collections (Collections) [Windows, Linux]
  • Chapter 12 - Special Collections (SpecialCollections) [Windows, Linux]
  • Chapter 13 - Language Integrated Query (LINQ) [Windows, Linux]
  • Chapter 14 - Errors and Exceptions (ErrorsAndExceptions) [Windows, Linux]
  • Chapter 15 - Asynchronous Programming (Async)
  • Chapter 16 - Reflection, Metadata, and Dynamic Programming (ReflectionAndDynamic)
  • Chapter 17 - Visual Studio 2015 (no code)
  • Chapter 18 - .NET Compiler Platform (CompilerPlatform)
  • Chapter 19 - Testing (Testing)
  • Chapter 20 - Diagnostics and Application Insights (Diagnostics)
  • Chapter 21 - Tasks and Parallel Programming (Parallel)
  • Chapter 22 - Task Synchronization (Synchronization)
  • Chapter 23 - Files and Streams (FilesAndStreams)
  • Chapter 24 - Security (Security)
  • Chapter 25 - Networking (Networking)
  • Chapter 26 - Composition (Composition)
  • Chapter 27 - XML and JSON (XMLAndJSON)
  • Chapter 28 - Localization (Localization)
  • Chapter 29 - Core XAML (XAML) [Windows]
  • Chapter 30 - Styling XAML Apps (StylesAndResources) [Windows]
  • Chapter 31 - Patterns with XAML Apps (Patterns) [Windows]
  • Chapter 32 - Windows Apps: User Interface (WindowsApps) [Windows 10]
  • Chapter 33 - Advanced Windows Apps (AdvancedWindowsApps) [Windows 10]
  • Chapter 34 - Windows Desktop Applications with WPF (WPF) [Windows]
  • Chapter 35 - Creating Documents with WPF (WPFDocuments) [Windows]
  • Chapter 36 - Deploying Windows Apps (DeploymentWindows) [Windows]
  • Chapter 37 - ADO.NET (ADONET)
  • Chapter 38 - Entity Framework Core (EntityFramework)
  • Chapter 39 - Windows Services (Services) [Windows only]
  • Chapter 40 - ASP.NET Core (ASPNET)
  • Chapter 41 - ASP.NET MVC (ASPNETMVC)
  • Chapter 42 - ASP.NET Web API (WebAPI)
  • Chapter 43 - WebHooks and SignalR (SignalRAndWebHooks) [Windows]
  • Chapter 44 - Windows Communication Foundation (WCF) [Windows]
  • Chapter 45 - Deploying Websites and Services (DeploymentWeb)
  • Chapter 46 - .NET Core with csproj - only for download (csproj)
  • Chapter 47 - C# 7.0 - What's New? - only for download (CSharp7)

Extra Chapters for Visual Studio 2017 with CSPROJ and C# 7.0

Download the extra Chapters for C# 7.0 and .NET Core with csproj!

Issue Tracker

If you have issues or comments, please use the issue tracker.

More Samples

You can find more information about topics of the book in my C# Blog.

The source code for additional samples is here: More Samples repository.