dotnet-core/samples
2018-12-20 11:17:02 -08: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-10-26 10:20:13 -07:00
linker-instructions-advanced.md Fix root descriptor examples 2018-03-01 15:47:35 -08:00
linker-instructions.md Reference latest package version from NuGet linker (#2091) 2018-12-18 17:07:03 -08:00
nuget.config Add NuGet.org 2018-09-10 11:42:28 -07:00
RaspberryPiInstructions.md Update RaspberryPiInstructions.md (#2175) 2018-12-20 11:17:02 -08: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 Fix space ammount (#2014) 2018-10-22 10:03:12 -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).