This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--alt-color: #111; | |
--main-color: #000; | |
--status-bar-background-color: #222; | |
--status-bar-font-color: #333; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProxyMethodEmitterTest | |
{ | |
public class TargetClass | |
{ | |
public void TargetMethod(string name, int age) | |
{ | |
Name = name; | |
Age = age; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MapUseExtensions | |
{ | |
public static IApplicationBuilder MapUse(this IApplicationBuilder app, PathString pathMatch, Action<IApplicationBuilder> configuration) | |
{ | |
if (pathMatch.HasValue && pathMatch.Value.EndsWith("/", StringComparison.Ordinal)) | |
{ | |
throw new ArgumentException("The path must not end with a '/'", nameof(pathMatch)); | |
} | |
// create branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_httpClient.GetAsync("http://localhost:15316/Glimpse/Agent") | |
.ContinueWith(requestTask => | |
{ | |
// Get HTTP response from completed task. | |
HttpResponseMessage response = requestTask.Result; | |
// Check that response was successful or throw exception | |
response.EnsureSuccessStatusCode(); | |
// Read response asynchronously as JsonValue and write out top facts for each country |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLIENT SERVER | |
+ | |
1. Glimpse Opens | | |
`shell.ready` | +----+ | |
+ | | | | |
| 2. requestRepository | | | | |
+---> .triggerGetLastestSummaries() +-----------+ 4. Request | | | | |
+ | | +---------------------------------> | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
jscs = require('gulp-jscs'), | |
jshint = require('gulp-jshint'), | |
tslint = require('gulp-tslint'), | |
typedoc = require('gulp-typedoc'), | |
react = require('gulp-react'), | |
typescript = require('gulp-tsc'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
version:"1.6.1", | |
plugins:{ | |
glimpse_sql:{ | |
documentationUri:"http://getglimpse.com/Help/SQL-Tab", | |
keysHeadings:false, | |
layout:[ | |
[ | |
{ | |
data:0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
clientId:"Chrome 29.0", | |
dateTime:"12/16/2013 19:24:38", | |
duration:720.2, | |
parentRequestId:null, | |
requestId:"458bf4ab-fdea-42da-96ca-82adc93b5534", | |
isAjax:false, | |
method:"GET", | |
uri:"http://glimpseplay.azurewebsites.net/", | |
contentType:"text/html", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using Glimpse.AspNet.Extensions; | |
using Glimpse.AspNet.Model; | |
using Glimpse.Core.Extensibility; | |
using Glimpse.Core.Extensions; | |
using Glimpse.Core.Tab.Assist; | |
namespace Glimpse.AspNet.SerializationConverter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TabCart : AspNetTab, ITabLayout | |
{ | |
//UPDATED CODE | |
private static readonly object Layout = TabLayout.Create() | |
.Cell("items", TabLayout.Create().Row(r => | |
{ | |
r.Cell("{{albumTitle}} ({{albumId}})").AsKey().WithTitle("Album (Id)"); | |
r.Cell("albumPrice").AlignRight().Prefix("$").WidthInPixels(100).WithTitle("Price"); | |
r.Cell("genreName").WithTitle("Genre"); | |
r.Cell("artistName").WithTitle("Artist"); |
NewerOlder