Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotnet/try-samples
https://github.com/dotnet/try-samples
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dotnet/try-samples
- Owner: dotnet
- License: cc-by-4.0
- Created: 2019-06-14T20:55:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T14:28:46.000Z (about 1 year ago)
- Last Synced: 2024-05-04T22:34:17.710Z (5 months ago)
- Language: C#
- Size: 4.48 MB
- Stars: 1,054
- Watchers: 41
- Forks: 610
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/dotnet/try-samples/try-samples-ci?branchName=master)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=548&branchName=master)
![dotnet try Enabled](https://img.shields.io/badge/Try_.NET-Enabled-501078.svg)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/dotnet/try-samples/master?urlpath=lab)# Try .NET
|| [**Basics**](#basics) • [**Contribution Guidelines**](#contribution-guidelines) ||
## Basics
This repository contains samples and tutorials that run using the [dotnet try](https://github.com/dotnet/try) global tool.
You can explore these tutorials in your environment using the `dotnet try` global tool:
*Prerequisite: Install .NET Core SDK [3.0](https://dotnet.microsoft.com/download/dotnet-core/3.0)*
1. Install the [dotnet-try](https://github.com/dotnet/try/blob/master/README.md#setup) global tool.
- to install: `dotnet tool install -g Microsoft.dotnet-try`
- to uninstall: `dotnet tool uninstall -g Microsoft.dotnet-try`
- to update: `dotnet tool update -g Microsoft.dotnet-try`
2. Clone this repository.
3. Set the current directory to one of the sample tutorials (or use the current folder to see all samples).
4. Run `dotnet try`.![dotnet try](https://user-images.githubusercontent.com/2546640/57164943-ab35f080-6dc3-11e9-8230-ee521e00e428.gif)
1. This will launch the browser. Now, you can read the documentation and run code in one place.
![dotnet try - _Readme md (2)](https://user-images.githubusercontent.com/2546640/57165217-737b7880-6dc4-11e9-8b4e-0e70966ac03d.gif)
## The tutorials in this repository are:
- [Beginners Guide to C#](./Beginners/Readme.md)
- [101 LINQ Samples](./101-linq-samples/readme.md)
- [Explore C# 7 through C# 7.3](./csharp7/readme.md).
- [Explore C# 8](./csharp8/readme.md).## Contribution Guidelines
We're working on this. The existing tutorials are linked to [.NET docs](https://github.com/dotnet/docs), but that's not required.
If you have suggestions for a sample, create an issue to start a discussion.