dotnet-core/samples
Lee Coward cf47ab7bb5
Merge pull request #1654 from dlech/patch-2
dotnetsay: use stdin for message when redirected
2018-06-07 16:09:23 -07:00
..
dotnetbot updating samples as coreapp1.0 so they can run anywhere. Fixing csprojs, removing project.jsons (#678) 2017-06-08 10:30:29 -07:00
dotnetsay dotnetsay: use stdin for message when redirected 2018-06-03 13:38:47 -05:00
helloworld Added 'async Main' helloworld example. (#1394) 2018-04-02 22:28:05 -07:00
helloworldasync Added 'async Main' helloworld example. (#1394) 2018-04-02 22:28:05 -07:00
qotd updating samples as coreapp1.0 so they can run anywhere. Fixing csprojs, removing project.jsons (#678) 2017-06-08 10:30:29 -07:00
dotnet-svcutil.xmlserializer-instructions.md Update dotnet-svcutil.xmlserializer-instructions.md 2018-06-06 13:29:51 -07:00
linker-instructions-advanced.md Fix root descriptor examples 2018-03-01 15:47:35 -08:00
linker-instructions.md Fix linker email (#921) 2017-09-09 08:25:49 -07:00
nuget.config Add linker instructions (#878) 2017-08-24 11:23:25 -07:00
RaspberryPiInstructions.md Update RaspberryPiInstructions.md 2018-05-04 18:46:34 -07:00
README.md Use dotnet command to run binary 2016-05-21 02:03:08 +03:00
xmlserializergenerator-instructions.md Updating the Package Version to 1.0.0 2017-12-07 17:16:43 -08:00
YoctoInstructions.md Create YoctoInstructions.md (#703) 2017-06-28 09:45:07 -07:00

.NET Core Samples

This directory contains samples that you can use to test out .NET Core. They are small and simple, and are used to get your feet wet with .NET Core as fast as possible.

How to run the samples?

In order to run these samples, you first need to install .NET Core. After that, you can clone this repo, go into each of the samples folders and either:

  • Run from source using the following commands:
    • dotnet restore
    • dotnet run
  • Compile and run using the following commands
    • dotnet restore
    • dotnet build
    • dotnet bin/Debug/[framework]/[binary name]

Samples list

  • dotnetbot - Let dotnetbot say Hi!
  • helloworld - because no sample is complete without Hello World!
  • qotd - a simple "quote of the day" console application (note: this sample is not yet capable of being compiled to a native binary).