I have the following in my layout
<script src="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Scripts/js")"></script
<script src="@Url.Content("~/signalr/hubs")" type="text/javascript"></script>

and in the Global.asax Application_Start()
BundleTable.Bundles.EnableDefaultBundles();
SignalR works fine but it’s throwing an error
Uncaught TypeError: undefined is not a function
So it doesn’t work well with bundles or is there something else?
Obviously the
is not working and after some experiments i’ve solved it by moving signalr scripts to different folder (Scripts/signalr) and used the following in my _Layout.cshtml file.: