This repository contains working examples using .NET Core, This is a work in progress, new samples will be added from time to time.
#Code samples list |Id|Name|Description|Added Date| |---------|:------|:------|:------:|:------:|:------:| |7|SQLServer|This project shows how to connect to SQL Server in .net core.|16th May 2016| |6|ConfigurationFile|This project shows how to use json/xml/ini configuration files in .net core.|15th May 2016| |5|MultiPlatform|This project shows how to target multiple platforms when do publish.|13th May 2016| |4|ASPNET-WebApi|This project shows how to create asp.net web api application in .net core.|13th May 2016| |3|ASPNET-MVC|This project shows how to create asp.net MVC application in .net core.|13th May 2016| |2|HelloWorld-Web|This project shows how to create a simple web application in .net core.|13th May 2016| |1|HelloWorld|This project shows how to create the first hello world application in .net core.|13th May 2016|
All examples in this repos have tested under Windows, Mac OS and Ubuntu using below configuration:
Product Information:
Version: 1.0.0-preview1-002700
Commit Sha: 0336f6bb34
Runtime Environment:
OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
RID: win10-x64
Product Information:
Version: 1.0.0-preview1-002700
Commit Sha: 0336f6bb34
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64
Product Information:
Version: 1.0.0-preview1-002700
Commit Sha: 0336f6bb34
Runtime Environment:
OS Name: ubuntu
OS Version: 14.04
OS Platform: Linux
RID: ubuntu.14.04-x64
- Get the dotnet CLI https://github.com/dotnet/cli#installers-and-binaries
- Clone this repo
- Navigate to the project folder you prefer
- run
dotnet restorein the folder - run
dotnet run