dotnet-core/samples
2020-07-15 15:17:22 -07:00
..
dotnetbot Update dotnet-bot sample for .NET Core 2.1 (#2409) 2019-03-08 19:53:38 -08:00
dotnetsay Use Release configuration (#3637) 2020-04-22 11:06:20 -07:00
helloworld Enforce coding styles (#2401) 2019-03-08 04:14:16 -08:00
helloworldasync Enforce coding styles (#2401) 2019-03-08 04:14:16 -08:00
qotd Enforce coding styles (#2401) 2019-03-08 04:14:16 -08:00
dotnet-svcutil.xmlserializer-instructions.md Update dotnet-svcutil.xmlserializer-instructions.md 2018-10-26 10:20:13 -07:00
linker-instructions-advanced.md Add note about linker package with pointer to new instructions (#3788) 2020-04-20 11:14:40 -07:00
linker-instructions.md Use Release configuration (#3637) 2020-04-22 11:06:20 -07:00
nuget.config Update nuget.config for 5.0 2020-07-15 15:17:22 -07:00
RaspberryPiInstructions.md Update link to go to the download page 2020-03-05 18:24:34 -08:00
README.md Target .NET Core 2 (#2341) 2019-03-02 07:42:29 -08: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 run
  • Compile and run using the following commands
    • 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).