.NET Core

From no name for this wiki
Revision as of 18:32, 9 April 2016 by Claude (talk | contribs) (cli)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Module

Die Module sind hier aufgelistet GitHub

CoreFx

This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.

coreclr

This repo contains the .NET Core runtime, called CoreCLR, and the base library, called mscorlib. It includes the garbage collector, JIT compiler, base .NET data types and many low-level classes.

cli

This repo contains the .NET Core command-line (CLI) tools, used for building .NET Core apps and libraries through your development flow (compiling, NuGet package management, running, testing, ...). Enthält Commandline dotnet xxx, delegiert Aufrufe an andere Module (z.B. NuGet).

NuGet

Mit dem Befehl dotnet restore werden die NuGetPackages heruntergeladen. Im Ubuntu befinden sich die heruntergeladenen Packages unter /home/myusername/.nuget/packages

commandline

[1]

dotnet new

Erstellt ein Helloworld.

  • NuGet.config
  • Program.cs
  • project.json

dotnet restore

Lädt die Bibliotheken herunter. Implementation befindet sich im NuGet Modul.

dotnet run

Führt die Applikation aus.