Skip to content

Instantly share code, notes, and snippets.

View Jaben's full-sized avatar

Jaben Cargman Jaben

View GitHub Profile
@Jaben
Jaben / Hubs.tt
Last active January 4, 2016 03:19 — forked from htuomola/Hubs.tt
Updated to support generics (1 type parameter currently) and inherited types. Setup for SignalR v1.1.3 -- but just change reference to support SignalR v2.0.
<#@ 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.1.1.3\lib\net40\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" #>