/core

Find file History
core/samples/
@shaggygi@karelz
Latest commit 01f6eecDec 21, 2018
Permalink
TypeNameLatest commit messageCommit time
..
Failed to load latest commit information.
dotnetbotupdating samples as coreapp1.0 so they can run anywhere. Fixing cspro…Jun 8, 2017
dotnetsaydotnetsay: use stdin for message when redirectedJun 3, 2018
helloworldAdded 'async Main' helloworld example. (#1394)Apr 3, 2018
helloworldasyncAdded 'async Main' helloworld example. (#1394)Apr 3, 2018
qotdupdating samples as coreapp1.0 so they can run anywhere. Fixing cspro…Jun 8, 2017
README.mdUse dotnet command to run binaryMay 20, 2016
RaspberryPiInstructions.mdUpdate RaspberryPiInstructions.md (#2175)Dec 20, 2018
YoctoInstructions.mdFix space ammount (#2014)Oct 22, 2018
dotnet-svcutil.xmlserializer-instructions.mdUpdate dotnet-svcutil.xmlserializer-instructions.mdOct 26, 2018
linker-instructions-advanced.mdFix root descriptor examplesMar 1, 2018
linker-instructions.mdReference latest package version from NuGet linker (#2091)Dec 19, 2018
nuget.configAdd NuGet.orgSep 10, 2018
xmlserializergenerator-instructions.mdUpdating the Package Version to 1.0.0Dec 8, 2017

README.md

.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 toinstall .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).