Gistlyn lets you create, run and share your executable C# Github Gists.
Powered by Roslyn C# Scripting, all you need is a main.cs file, here's
Hello World:
var name = "World";
var greeting = $"Hello, {name}!";Gistlyn lets you create, run and share your executable C# Github Gists.
Powered by Roslyn C# Scripting, all you need is a main.cs file, here's
Hello World:
var name = "World";
var greeting = $"Hello, {name}!";| //Variables in top scope can be inspected in preview inspector | |
| var name = "World"; | |
| var greeting = $"Hello, {name}!"; |
| using ServiceStack; | |
| using ServiceStack.Text; | |
| var name = "NuGet"; | |
| class Greeting | |
| { | |
| public string Message { get; set; } | |
| } |
| using System.Collections.Generic; | |
| using System.Data; | |
| using ServiceStack; | |
| using ServiceStack.OrmLite; | |
| using ServiceStack.DataAnnotations; | |
| public class Artist | |
| { | |
| public int Id { get; set; } | |
| public string Name { get; set; } |
| using ServiceStack; | |
| var client = new JsonServiceClient("{BaseUrl}"); | |
| //Call {Domain} APIs by sending typed Request DTO's | |
| var response = client.Get(new RequestDto { }); |
| using System; | |
| using System.Collections.Generic; | |
| using ServiceStack; | |
| using ServiceStack.Text; | |
| using ServiceStack.OrmLite; | |
| using ServiceStack.OrmLite.Sqlite; | |
| using ServiceStack.DataAnnotations; | |
| public class User | |
| { |
| using System.Linq; | |
| using ServiceStack; | |
| using ServiceStack.Text; | |
| public class GithubRepository | |
| { | |
| public string Name { get; set; } | |
| public string Description { get; set; } | |
| public string Url { get; set; } | |
| public string Homepage { get; set; } |
| using System.Linq; | |
| using ServiceStack; | |
| using ServiceStack.Text; | |
| var client = new JsonServiceClient("{BaseUrl}"); | |
| //Call {Domain} APIs by sending typed Request DTO's | |
| var response = client.Get(new RequestDto { }); | |
| //response.PrintDump(); // Uncomment to Print Response to Console |
| using System.Collections.Generic; | |
| using System.Data; | |
| using ServiceStack; | |
| using ServiceStack.OrmLite; | |
| using ServiceStack.DataAnnotations; | |
| public class Artist | |
| { | |
| public int Id { get; set; } | |
| public string Name { get; set; } |