Code samples for the book Professional C# 6 and .NET Core 1.0, Wrox Press
C# JavaScript HTML CSS Ruby PowerShell
Latest commit 7994b34 Apr 14, 2017 @christiannagel christiannagel committed on GitHub Merge pull request #38 from ProfessionalCSharp/vs2017
Upgrade master to Visual Studio 2017, VS2017
Permalink
Failed to load latest commit information.
ADONET ADO.NET #36 Apr 13, 2017
ASPNET ASP.NET #36 Apr 13, 2017
ASPNETMVC ASP.NET MVC #36 Apr 13, 2017
AdvancedWindowsApps advanced windows apps - package updates, #36 Apr 13, 2017
Arrays update readme #36 Apr 11, 2017
Async Async #36 Apr 11, 2017
CSharp7/CSharp7Samples C# 7 solution file Apr 11, 2017
Collections collections #29 #36 Apr 11, 2017
CompilerPlatform package updates Sep 14, 2016
Composition testing #27 #36 Apr 12, 2017
CoreCSharp update readme #36 Apr 11, 2017
Delegates delegates - remove properties folders Apr 11, 2017
DeploymentWeb deployment web #36 Apr 13, 2017
DeploymentWindows Deployment windows #36 Apr 13, 2017
Diagnostics diagnostics #27 #36 Apr 12, 2017
EntityFramework EF #36 Apr 13, 2017
ErrorsAndExceptions errors and exceptions #29 #36 Apr 11, 2017
FigureUpdates Figure updates for chapter 16 Jul 28, 2016
FilesAndStreams files and streams #29 #36 Apr 12, 2017
Generics update readme #36 Apr 11, 2017
HelloWorld update readme #36 Apr 11, 2017
Inheritance update readme #36 Apr 11, 2017
LINQ LINQ #36 Apr 11, 2017
Localization localization - #27 #29 #36 Apr 13, 2017
Networking networking package updates, #36 Apr 13, 2017
ObjectsAndTypes update readme #36 Apr 11, 2017
OperatorsAndCasts update readme #36 Apr 11, 2017
Parallel parallel #36 Apr 12, 2017
Patterns patterns - package updates, #36 Apr 13, 2017
ReflectionAndDynamic reflection and dynamic #29 #36 Apr 11, 2017
Resources update readme #36 Apr 11, 2017
Security security #27 #29 #36 Apr 13, 2017
Services Services #36 Apr 13, 2017
SignalRAndWebHooks SignalR and WebHooks - package updates, #36 Apr 13, 2017
SpecialCollections special collections #29 #36 Apr 11, 2017
StringsAndRegularExpressions strings and regular expressions #29 #36 Apr 11, 2017
StylesAndResources styles and resources - package updates, #36 Apr 13, 2017
Synchronization synchronization #29 #36 Apr 12, 2017
Testing testing #27 #36 Apr 12, 2017
VisualStudio2015 update and add Readme Jul 7, 2016
WCF WCF - package updates, #36 Apr 13, 2017
WPF WPF - package updates, #36 Apr 13, 2017
WPFDocuments WPF documents #36 Apr 13, 2017
WebAPI Web API - remove OData, and #36 Apr 13, 2017
WindowsApps windows apps - package updates, #36 Apr 13, 2017
XAML xaml - package updates, #36 Apr 13, 2017
XMLandJSON xml and json - package updates, #36 Apr 13, 2017
.gitattributes Initial Commit Inheritance Samples - DNX Beta 8 Oct 19, 2015
.gitignore ignore project.lock.json May 14, 2016
BookUpdates.md user secrets #34 Apr 11, 2017
README.md readme Apr 13, 2017

README.md

Professional C# 6 and .NET Core 1.0

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

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)

You can find additional samples in the More Samples repository.

If you have issues or comments, please submit an Issue in GitHub.

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