View channels.cs
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks.Channels;
namespace ConsoleApp39
{
View SpanTest.cs
class Program
{
static unsafe void Main(string[] args)
{
string value = "Hello World";
fixed (char* ptr = value)
{
var sp = Span<char>.UnsafeCreate(value, ref *(ptr + 6), value.Length - 6);
Console.WriteLine(sp[0]);
}
View Channels.md

Kestrel

Running 10s test @ http://10.211.55.4:5000/
  32 threads and 256 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    15.52ms   28.66ms 309.11ms   97.34%
    Req/Sec   709.11    151.30     1.90k    78.03%
  222431 requests in 10.05s, 28.00MB read
Requests/sec:  22132.11
View razor
Also @template and @taghelper for declarative templates and tag helpers in razor files. (inside viewimports)
@model MyViewModel
<grid data-source="Customers">
<column model="FirstName" />
<column model="LastName" />
<column model='@FirstName + " " + LastName' />
<item-template>
View monads.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication8
{
class Program
{
View Example1.cs
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)
View NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="dotnet-core" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
View AzureStorageBug.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace ConsoleApplication1
View project.lock.json
{
"locked": false,
"version": 2,
"targets": {
".NETFramework,Version=v4.5.1": {
"Microsoft.AspNetCore.Antiforgery/1.0.0-rc2-20196": {
"type": "package",
"dependencies": {
"Microsoft.AspNetCore.DataProtection": "1.0.0-rc2-20196",
"Microsoft.AspNetCore.Http": "1.0.0-rc2-20196",
View Generated.cs
public class MyAppContainer : ConsoleApp1.Container
{
public MyAppContainer()
{
}
public MyAppContainer(ConsoleApp1.Container container) : base(container)
{
}