This file contains hidden or 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
var glimpseClientTimelinePlugin = (function ($, glimpse) { | |
var //Support | |
wireListener = function () { | |
glimpse.pubsub.subscribe('action.timeline.data.updated', function(topic, payload) { dataUpdated(payload); }); | |
}, | |
dataUpdated = function(data) { | |
alert('test'); | |
}, | |
//Main |
This file contains hidden or 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 Configuration | |
{ | |
public static ConfigurationModel Current { get; set; } | |
} | |
public class ConfigurationModel | |
{ | |
public string Currency { get; set; } | |
public double TaxRate { get; set; } |
This file contains hidden or 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 ShoppingCart | |
{ | |
//... | |
public static ShoppingCart GetCart(HttpContextBase context) | |
{ | |
var cart = new ShoppingCart(); | |
cart.ShoppingCartId = cart.GetCartId(context); | |
return cart; | |
} | |
This file contains hidden or 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"); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
OlderNewer