.NET Core

From wiki.techunit.org
Jump to: navigation, search

Usages

Installation

Windows
Linux
  • Install atp-get feed (this is dev feed, stabilized feed are comming soon)
sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
sudo apt-get update
  • Get .NET packages

sudo apt-get install dotnet=1.0.0.001331-1

Docker

docker run -it microsoft/dotnet:latest

MacOS X

First app

  1. Create app folder: mkdir hwapp
  2. Go to app folder: cd hwapp
  3. Set folder as a .NET project (add file project.json): dotnet new
  4. Retrieve dependency packages: dotnet restore
  5. Run the app: dotnet run

Components

GitHub repo of .NET Core

CLI

Command line tools

Roslyn

Compiler platform

CodeFormatter

Code cleaner

WCF

Client libraries for WCF services

CoreCLR

Runtime & base library (mscorlib)

XUnit

Unit testing

DocFX

Project documentation builder & publisher

Orleans

High-scale apps builder

CoreFX

Base libraries

LibraryDescription
Common
Microsoft.CSharp
Microsoft.VisualBasic
Microsoft.Win32.Primitives
Microsoft.Win32.Registry.AccessControl
Microsoft.Win32.Registry
Native
Scenarios
System.AppContext
System.Buffers
System.Collections.Concurrent
System.Collections.Immutable
System.Collections.NonGeneric
System.Collections.Specialized
System.Collections
System.ComponentModel.Annotations
System.ComponentModel.EventBasedAsync
System.ComponentModel.Primitives
System.ComponentModel.TypeConverter
System.ComponentModel
System.Composition.AttributedModel
System.Composition.Convention
System.Composition.Hosting
System.Composition.Runtime
System.Composition.TypedParts
System.Composition
System.Console
System.Data.Common
System.Data.SqlClient
System.Diagnostics.Contracts
System.Diagnostics.Debug
System.Diagnostics.DiagnosticSource
System.Diagnostics.FileVersionInfo
System.Diagnostics.PerformanceCounter
System.Diagnostics.Process
System.Diagnostics.StackTrace
System.Diagnostics.TextWriterTraceListener
System.Diagnostics.Tools
System.Diagnostics.TraceEvent
System.Diagnostics.TraceSource
System.Diagnostics.Tracing
System.Drawing.Primitives
System.Dynamic.Runtime
System.Globalization.Calendars
System.Globalization.Extensions
System.Globalization
System.IO.Compression.ZipFile
System.IO.Compression
System.IO.FileSystem.AccessControl
System.IO.FileSystem.DriveInfo
System.IO.FileSystem.Primitives
System.IO.FileSystem.Watcher
System.IO.FileSystem
System.IO.IsolatedStorage
System.IO.MemoryMappedFiles
System.IO.Packaging
System.IO.Pipes
System.IO.UnmanagedMemoryStream
System.IO
System.Linq.Expressions
System.Linq.Parallel
System.Linq.Queryable
System.Linq
System.Net.Http.Rtc
System.Net.Http.WinHttpHandler
System.Net.Http
System.Net.NameResolution
System.Net.NetworkInformation
System.Net.Ping
System.Net.Primitives
System.Net.Requests
System.Net.Security
System.Net.Sockets.Legacy
System.Net.Sockets
System.Net.WebHeaderCollection
System.Net.WebSockets.Client
System.Net.WebSockets
System.Numerics.Vectors.WindowsRuntime
System.Numerics.Vectors
System.ObjectModel
System.Private.DataContractSerialization
System.Private.Uri
System.Reflection.Context
System.Reflection.DispatchProxy
System.Reflection.Emit.ILGeneration
System.Reflection.Emit.Lightweight
System.Reflection.Emit
System.Reflection.Extensions
System.Reflection.Metadata
System.Reflection.Primitives
System.Reflection.TypeExtensions
System.Reflection
System.Resources.Reader
System.Resources.ReaderWriter
System.Resources.ResourceManager
System.Resources.Writer
System.Runtime.CompilerServices.VisualC
System.Runtime.Extensions
System.Runtime.Handles
System.Runtime.InteropServices.PInvoke
System.Runtime.InteropServices.RuntimeInformation
System.Runtime.InteropServices.WindowsRuntime
System.Runtime.InteropServices
System.Runtime.Loader
System.Runtime.Numerics
System.Runtime.Serialization.Json
System.Runtime.Serialization.Primitives
System.Runtime.Serialization.Xml
System.Runtime.WindowsRuntime.UI.Xaml
System.Runtime.WindowsRuntime
System.Runtime
System.Security.AccessControl
System.Security.Claims
System.Security.Cryptography.Algorithms
System.Security.Cryptography.Cng
System.Security.Cryptography.Csp
System.Security.Cryptography.Encoding
System.Security.Cryptography.Encryption.ECDiffieHellman
System.Security.Cryptography.Encryption.ECDsa
System.Security.Cryptography.OpenSsl
System.Security.Cryptography.Primitives
System.Security.Cryptography.ProtectedData
System.Security.Cryptography.X509Certificates
System.Security.Principal.Windows
System.Security.Principal
System.ServiceProcess.ServiceController
System.Text.Encoding.CodePages
System.Text.Encoding.Extensions
System.Text.Encoding
System.Text.Encodings.Web
System.Text.RegularExpressions
System.Threading.AccessControl
System.Threading.Overlapped
System.Threading.Tasks.Dataflow
System.Threading.Tasks.Extensions
System.Threading.Tasks.Parallel
System.Threading.Tasks
System.Threading.Thread
System.Threading.ThreadPool
System.Threading.Timer
System.Threading
System.Xml.ReaderWriter
System.Xml.XDocument
System.Xml.XPath.XDocument
System.Xml.XPath.XmlDocument
System.Xml.XPath
System.Xml.XmlDocument
System.Xml.XmlSerializer
System.Xml.Xsl.Primitives

Documentation

Artworks