Skip to content

shandianex1/netcore-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

.NET Core code samples

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:

Windows

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

Mac OS

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

Ubuntu

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

How to run

  1. Get the dotnet CLI https://github.com/dotnet/cli#installers-and-binaries
  2. Clone this repo
  3. Navigate to the project folder you prefer
  4. run dotnet restore in the folder
  5. run dotnet run

About

This repo contains code samples using .NET Core, which run on Windows, Mac OS and Ubuntu.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%