Skip to content

Instantly share code, notes, and snippets.

D Bullock D-Bullock

  • Inverted Tomato
Block or report user

Report or block D-Bullock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@D-Bullock
D-Bullock / Hubs.tt
Last active May 25, 2016 — forked from htuomola/Hubs.tt
A T4 template for generating TypeScript definition files for SignalR hubs.This fork includes minor corrections for using this in VS 2013, MVC 5 project:* Reference the SignalR 2.0 assembly* VS 2013 likes to put TS definition files into subfolders when downloaded from nuget - assuming that this file is directly under /typings/* TypeScript 0.9.1.1…
View Hubs.tt
<#@ template debug="true" hostspecific="true" language="C#" #>
<#@ output extension=".d.ts" #>
<# /* Update this line to match your version of SignalR */ #>
<#@ assembly name="$(SolutionDir)\packages\Microsoft.AspNet.SignalR.Core.2.2.0\lib\net45\Microsoft.AspNet.SignalR.Core.dll" #>
<# /* Load the current project's DLL to make sure the DefaultHubManager can find things */ #>
<#@ assembly name="$(TargetPath)" #>
<#@ assembly name="System.Core" #>
<#@ assembly name="System.Web" #>
<#@ assembly name="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #>
<#@ assembly name="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #>
You can’t perform that action at this time.