Skip to content

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

Notifications You must be signed in to change notification settings

libaowei/ProfessionalCSharp6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProfessionalCSharp6

Code samples for the Wrox book Professional C# 6

Use the RC1 branch to open the samples with Visual Studio 2015 and ASP.NET 5 RC 1 tools. The master branch contains newer RC2 samples that has some issues using it from Visual Studio 2015 with the RC 1 tools.

Samples are updated to .NET 5 Core RC. To compile and run the samples you need:

  • Visual Studio 2015
  • ASP.NET 5 RC1 Tools (https://get.asp.net/ - click the ASP.NET 5 RC, install for Windows)
  • Upgrade to the runtime using >dnvm upgrade from the command line
  • dotnet Tools (https://github.com/dotnet/cli, download and installe the latest MSI package)

With some samples, additional NuGet feeds might be needed. Configure these with Visual Studio 2015:

Samples that have been updated to netstandardapp1.5, currently you can't use Visual Studio for compilation. Use the dotnet tools (CLI) instead.

Samples available for these chapters (sample folders):

  • Chapter 1 - .NET Application Architectures (HelloWorld)
  • Chapter 2 - Core C# (CoreCSharp)
  • Chapter 3 - Objects and Types (ObjectsAndTypes)
  • Chapter 4 - Inheritance (Inheritance)
  • Chapter 5 - Managed and Unmanaged Resources (Resources)
  • Chapter 6 - Generics (Generics)
  • Chapter 7 - Arrays and Tuples (Arrays)
  • Chapter 8 - Operators and Casts (OperatorsAndCasts)
  • Chapter 9 - Delegates, Lambdas, and Events (Delegates)
  • Chapter 10 - Strings and Regular Expressions (StringsAndRegularExpressions)
  • Chapter 11 - Collections (Collections)
  • Chapter 12 - Special Collections (SpecialCollections)
  • Chapter 13 - Language Integrated Query (LINQ)
  • Chapter 14 - Errors and Exceptions (ErrorsAndExceptions)
  • 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)
  • Chapter 30 - Styling XAML Apps (StylesAndResources)
  • Chapter 31 - Patterns with XAML Apps (Patterns)
  • Chapter 32 - Windows Apps: User Interface (WindowsApps)
  • Chapter 33 - Advanced Windows Apps (AdvancedWindowsApps)
  • Chapter 34 - Windows Desktop Applications with WPF (WPF)
  • Chapter 35 - Creating Documents with WPF (WPFDocuments)
  • Chapter 36 - Deploying Windows Apps (DeploymentWindows)
  • Chapter 37 - ADO.NET (ADONET)
  • Chapter 38 - Entity Framework Core (EntityFramework)
  • Chapter 39 - Windows Services (Services)
  • 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)
  • Chapter 44 - Windows Communication Foundation (WCF)
  • Chapter 45 - Deploying Websites and Services (DeploymentWeb)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 84.1%
  • JavaScript 12.1%
  • HTML 3.5%
  • Smalltalk 0.2%
  • CSS 0.1%
  • Classic ASP 0.0%